Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager_UDPWithoutReceiveThread.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001419/0.001419, allocations: 76.55 kB / 19.96 MB, free: 4.598 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001414/0.001414, allocations: 177.9 kB / 23.25 MB, free: 1.309 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.929/0.929, allocations: 177.1 MB / 203.6 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers master/package.mo): time 0.0351/0.0351, allocations: 9.129 MB / 269.1 MB, free: 4.477 MB / 250.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers master/EmbeddedTargets/STM32F4/Functions/HAL.mo:5:3-11:14:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers master/Incubate/OperatingSystem/DynamicArray.mo:6:3-94:18:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers master/Incubate/Utilities/Functions.mo:1041:3-1062:27:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers master/Incubate/Utilities/Functions.mo:1064:3-1092:25:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 180] Using package Modelica_DeviceDrivers with version 2.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager_UDPWithoutReceiveThread,fileNamePrefix="Modelica_DeviceDrivers_Modelica_DeviceDrivers_ClockedBlocks_Examples_TestSerialPackager_UDPWithoutReceiveThread",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager_UDPWithoutReceiveThread,fileNamePrefix="Modelica_DeviceDrivers_Modelica_DeviceDrivers_ClockedBlocks_Examples_TestSerialPackager_UDPWithoutReceiveThread",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.306e-06/3.306e-06, allocations: 4 kB / 397.1 MB, free: 1.27 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.187e-05/2.518e-05, allocations: 2.281 kB / 397.1 MB, free: 1.266 MB / 362.7 MB Notification: Performance of NFInst.instantiate(Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager_UDPWithoutReceiveThread): time 0.003691/0.003716, allocations: 2.324 MB / 399.4 MB, free: 14.93 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001687/0.005403, allocations: 0.9301 MB / 400.3 MB, free: 14 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002088/0.005612, allocations: 11.88 kB / 400.3 MB, free: 13.99 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000298/0.00591, allocations: 83.14 kB / 400.4 MB, free: 13.91 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002942/0.006204, allocations: 51.41 kB / 400.5 MB, free: 13.86 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers master/ClockedBlocks/Packaging.mo:132:9-139:18:writable] Warning: Pure function 'Modelica_DeviceDrivers.ClockedBlocks.Packaging.SerialPackager.Internal.DummyFunctions.clear' contains a call to impure function 'Modelica_DeviceDrivers.Packaging.SerialPackager_.clear'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers master/ClockedBlocks/Packaging.mo:32:9-41:20:writable] Warning: Pure function 'Modelica_DeviceDrivers.ClockedBlocks.Packaging.SerialPackager.Internal.DummyFunctions.addReal' contains a call to impure function 'Modelica_DeviceDrivers.Packaging.SerialPackager_.addReal'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers master/ClockedBlocks/Communication.mo:292:7-303:20:writable] Warning: Pure function 'Modelica_DeviceDrivers.ClockedBlocks.Communication.Internal.DummyFunctions.sendToUDP' contains a call to impure function 'Modelica_DeviceDrivers.Communication.UDPSocket_.sendTo'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers master/ClockedBlocks/Packaging.mo:65:9-74:23:writable] Warning: Pure function 'Modelica_DeviceDrivers.ClockedBlocks.Packaging.SerialPackager.Internal.DummyFunctions.addInteger' contains a call to impure function 'Modelica_DeviceDrivers.Packaging.SerialPackager_.addInteger'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers master/ClockedBlocks/Communication.mo:272:7-290:30:writable] Warning: Pure function 'Modelica_DeviceDrivers.ClockedBlocks.Communication.Internal.DummyFunctions.readUDP_Conditional' contains a call to impure function 'Modelica_DeviceDrivers.Communication.UDPSocket_.read'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers master/ClockedBlocks/Packaging.mo:76:9-86:20:writable] Warning: Pure function 'Modelica_DeviceDrivers.ClockedBlocks.Packaging.SerialPackager.Internal.DummyFunctions.getReal' contains a call to impure function 'Modelica_DeviceDrivers.Packaging.SerialPackager_.getReal'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers master/ClockedBlocks/Packaging.mo:109:9-119:23:writable] Warning: Pure function 'Modelica_DeviceDrivers.ClockedBlocks.Packaging.SerialPackager.Internal.DummyFunctions.getInteger' contains a call to impure function 'Modelica_DeviceDrivers.Packaging.SerialPackager_.getInteger'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers master/ClockedBlocks/Packaging.mo:43:9-52:27:writable] Warning: Pure function 'Modelica_DeviceDrivers.ClockedBlocks.Packaging.SerialPackager.Internal.DummyFunctions.addRealAsFloat' contains a call to impure function 'Modelica_DeviceDrivers.Packaging.SerialPackager_.addRealAsFloat'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers master/ClockedBlocks/Packaging.mo:88:9-98:29:writable] Warning: Pure function 'Modelica_DeviceDrivers.ClockedBlocks.Packaging.SerialPackager.Internal.DummyFunctions.getRealFromFloat' contains a call to impure function 'Modelica_DeviceDrivers.Packaging.SerialPackager_.getRealFromFloat'. Notification: Performance of NFTyping.typeClassSections: time 0.001015/0.007219, allocations: 342.1 kB / 400.8 MB, free: 13.52 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004324/0.007651, allocations: 391.8 kB / 401.2 MB, free: 13.14 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002881/0.00794, allocations: 159.6 kB / 401.3 MB, free: 12.98 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003237/0.008263, allocations: 267.4 kB / 401.6 MB, free: 12.72 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003089/0.008572, allocations: 171.5 kB / 401.8 MB, free: 12.55 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 5.544e-05/0.008628, allocations: 40 kB / 401.8 MB, free: 12.51 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004178/0.009045, allocations: 211.6 kB / 402 MB, free: 12.3 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001822/0.009228, allocations: 151.5 kB / 402.1 MB, free: 12.16 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001224/0.00935, allocations: 127.6 kB / 402.3 MB, free: 12.03 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007713/0.01012, allocations: 0.693 MB / 403 MB, free: 11.34 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.946e-06/0.01012, allocations: 0 / 403 MB, free: 11.34 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.683e-06/0.01013, allocations: 4 kB / 403 MB, free: 11.33 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.183e-05/0.01014, allocations: 0 / 403 MB, free: 11.33 MB / 378.7 MB Warning: Alias equations of external objects are not Modelica compliant as in: getFloat.pkgOut[1].pkg = getFloat.pkgIn.pkg addFloat.pkgOut[1].pkg = addFloat.pkgIn.pkg getReal.pkgOut[1].pkg = getReal.pkgIn.pkg addInteger.pkgOut[1].pkg = addInteger.pkgIn.pkg addReal.pkgOut[1].pkg = addReal.pkgIn.pkg getFloat.pkgOut[1].pkg = getInteger.pkgIn.pkg getReal.pkgOut[1].pkg = getFloat.pkgIn.pkg addFloat.pkgOut[1].pkg = addInteger.pkgIn.pkg addReal.pkgOut[1].pkg = addFloat.pkgIn.pkg uDPReceive.pkgOut.pkg = getReal.pkgIn.pkg addInteger.pkgOut[1].pkg = uDPSend.pkgIn.pkg packager.pkgOut.pkg = addReal.pkgIn.pkg Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 118 * Number of variables: 118 Notification: Performance of Generate backend data structure: time 0.001488/0.01163, allocations: 1.024 MB / 404 MB, free: 10.23 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.123e-05/0.01167, allocations: 12.03 kB / 404 MB, free: 10.22 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.994e-05/0.01174, allocations: 86.7 kB / 404.1 MB, free: 10.13 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.001e-05/0.01183, allocations: 52.61 kB / 404.1 MB, free: 10.08 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003089/0.01214, allocations: 289.3 kB / 404.4 MB, free: 9.77 MB / 378.7 MB Error: Internal error - BackendDAEOptimize.makeEquationToResidualExp failed to transform equation: uDPReceive.initialized = previous(uDPReceive.initialized) to residual form! Error: Internal error - BackendDAEOptimize.makeEquationToResidualExp failed to transform equation: packager.initialized = previous(packager.initialized) to residual form! Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000108/0.01224, allocations: 100.9 kB / 404.5 MB, free: 9.656 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.576e-05/0.01229, allocations: 52.34 kB / 404.6 MB, free: 9.605 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001251/0.01354, allocations: 1.16 MB / 405.7 MB, free: 8.379 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.864e-05/0.01356, allocations: 11.88 kB / 405.7 MB, free: 8.367 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.322e-05/0.0136, allocations: 24 kB / 405.8 MB, free: 8.344 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.4e-05/0.01364, allocations: 15.98 kB / 405.8 MB, free: 8.328 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006919/0.01433, allocations: 304 kB / 406.1 MB, free: 8.031 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001325/0.01565, allocations: 1.264 MB / 407.3 MB, free: 6.688 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007262/0.01638, allocations: 0.6899 MB / 408 MB, free: 5.902 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003471/0.01673, allocations: 367.3 kB / 408.4 MB, free: 5.516 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.69e-05/0.01682, allocations: 47.84 kB / 408.4 MB, free: 5.469 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000167/0.01699, allocations: 203.8 kB / 408.6 MB, free: 5.227 MB / 378.7 MB Notification: Performance of pre-optimization done (n=78): time 2.174e-06/0.01699, allocations: 0 / 408.6 MB, free: 5.227 MB / 378.7 MB Notification: Performance of matching and sorting (n=78): time 0.000957/0.01795, allocations: 0.8047 MB / 409.4 MB, free: 4.418 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001423/0.01809, allocations: 327.4 kB / 409.8 MB, free: 4.031 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001516/0.01824, allocations: 227 kB / 410 MB, free: 3.801 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.372e-05/0.01828, allocations: 45.69 kB / 410 MB, free: 3.75 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.48e-05/0.01836, allocations: 169.6 kB / 410.2 MB, free: 3.578 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.651e-05/0.0184, allocations: 51.62 kB / 410.2 MB, free: 3.527 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.584e-05/0.01846, allocations: 73.67 kB / 410.3 MB, free: 3.449 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 8.001e-05/0.01854, allocations: 326.8 kB / 410.6 MB, free: 3.121 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.815e-05/0.01861, allocations: 56.33 kB / 410.7 MB, free: 3.066 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001132/0.01873, allocations: 154.2 kB / 410.8 MB, free: 2.871 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002376/0.01896, allocations: 228.6 kB / 411.1 MB, free: 2.602 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.797e-06/0.01897, allocations: 4 kB / 411.1 MB, free: 2.598 MB / 378.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0002694/0.01924, allocations: 253.1 kB / 411.3 MB, free: 2.344 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.49e-05/0.01925, allocations: 10.34 kB / 411.3 MB, free: 2.336 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.711e-06/0.01926, allocations: 0 / 411.3 MB, free: 2.336 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.589e-05/0.01927, allocations: 8 kB / 411.3 MB, free: 2.328 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001033/0.01938, allocations: 35.91 kB / 411.4 MB, free: 2.293 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.425e-06/0.01939, allocations: 12.34 kB / 411.4 MB, free: 2.281 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.693e-05/0.01945, allocations: 19.89 kB / 411.4 MB, free: 2.262 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.956e-05/0.01947, allocations: 16 kB / 411.4 MB, free: 2.246 MB / 378.7 MB Warning: Assuming fixed start value for the following 1 variables: trigger.y:DISCRETE(flow=false fixed = true ) \"Value of Boolean output\" type: Boolean Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 19 ($PRE.trigger.y,$whenCondition2,pre_trigger.y,$whenCondition1,trigger.y,integerExpression.y,$CLKPRE.uDPReceive.initialized,uDPReceive.initialized,$CLKPRE.uDPReceive.bufferSize,uDPReceive.bufferSize,getInteger.pkgIn.userPkgBitSize,uDPSend.pkgIn.autoPkgBitSize,uDPSend.pkgIn.userPkgBitSize,addFloat.pkgOut[1].autoPkgBitSize,addReal.pkgOut[1].autoPkgBitSize,packager.bufferSize,packager.backwardPropagatedBufferSize,packager.initialized,packager.pkgOut.autoPkgBitSize) * Number of discrete states: 0 () * Number of clocked states: 4 (uDPReceive.dummy,uDPReceive.initialized,uDPReceive.bufferSize,packager.dummy) * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 1 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002033/0.01968, allocations: 207.6 kB / 411.6 MB, free: 2.035 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004875/0.02016, allocations: 495.8 kB / 412.1 MB, free: 1.547 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000581/0.02074, allocations: 479.3 kB / 412.6 MB, free: 1.074 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.002e-05/0.02076, allocations: 12 kB / 412.6 MB, free: 1.062 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.053e-06/0.02077, allocations: 4.156 kB / 412.6 MB, free: 1.059 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.217e-06/0.02078, allocations: 8.312 kB / 412.6 MB, free: 1.051 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007904/0.02157, allocations: 0.5595 MB / 413.2 MB, free: 452 kB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.138e-06/0.02158, allocations: 4 kB / 413.2 MB, free: 448 kB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001925/0.02177, allocations: 99.89 kB / 413.3 MB, free: 348 kB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.16e-06/0.02178, allocations: 4 kB / 413.3 MB, free: 344 kB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.513e-05/0.0218, allocations: 23.98 kB / 413.3 MB, free: 320 kB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.061e-06/0.02181, allocations: 7.938 kB / 413.3 MB, free: 312 kB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.707e-06/0.02181, allocations: 4 kB / 413.3 MB, free: 308 kB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006906/0.0225, allocations: 0.783 MB / 414.1 MB, free: 15.47 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.485e-05/0.02254, allocations: 51.53 kB / 414.1 MB, free: 15.42 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.9e-05/0.02259, allocations: 27.89 kB / 414.2 MB, free: 15.4 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.631e-05/0.02268, allocations: 20.06 kB / 414.2 MB, free: 15.38 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.248e-05/0.02273, allocations: 23.91 kB / 414.2 MB, free: 15.36 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.393e-05/0.02276, allocations: 31.98 kB / 414.2 MB, free: 15.32 MB / 394.7 MB Notification: Performance of sorting global known variables: time 8.038e-05/0.02284, allocations: 144.7 kB / 414.4 MB, free: 15.18 MB / 394.7 MB Notification: Performance of sort global known variables: time 7e-08/0.02284, allocations: 3.938 kB / 414.4 MB, free: 15.18 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0003651/0.0232, allocations: 135.6 kB / 414.5 MB, free: 15.05 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 29 (uDPSend.bufferSize,addInteger.u[1],sample1.y,$cse6,$cse7,uDPReceive.pkgOut.autoPkgBitSize,uDPReceive.nRecvBytes,uDPReceive.nRecvbufOverwrites,uDPReceive.bufferSize,uDPReceive.initialized,getReal.pkgIn.autoPkgBitSize,getReal.pkgOut[1].autoPkgBitSize,getInteger.pkgIn.autoPkgBitSize,getInteger.y[1],assignClock2.u,assignClock2.y,getFloat.pkgIn.autoPkgBitSize,getFloat.pkgOut[1].autoPkgBitSize,$cse5,packager.pkgOut.autoPkgBitSize,packager.initialized,packager.backwardPropagatedBufferSize,packager.bufferSize,addReal.pkgOut[1].autoPkgBitSize,integerExpression.y,pre_trigger.y,trigger.y,$whenCondition1,$whenCondition2) * Number of discrete states: 1 (trigger.y) * Number of clocked states: 4 (packager.dummy,uDPReceive.bufferSize,uDPReceive.initialized,uDPReceive.dummy) * Top-level inputs: 0 Notification: Strong component statistics for simulation (70): * Single equations (assignments): 62 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 2 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001823/0.02503, allocations: 1.929 MB / 416.4 MB, free: 13.14 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0007356/0.02576, allocations: 1.051 MB / 417.5 MB, free: 12.07 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.487e-06/0.02577, allocations: 0 / 417.5 MB, free: 12.07 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003264/0.02609, allocations: 0.7686 MB / 418.3 MB, free: 11.27 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001122/0.02722, allocations: 1.185 MB / 419.4 MB, free: 10.05 MB / 394.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/SymbolicJacobian.mo:1883:3-1883:101:writable] Error: Internal error function createFMIModelDerivativesForInitialization failed Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00232/0.02954, allocations: 2.062 MB / 421.5 MB, free: 7.809 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001779/0.02971, allocations: 284.6 kB / 421.8 MB, free: 7.516 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 9.533e-05/0.02981, allocations: 38.95 kB / 421.8 MB, free: 7.473 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001418/0.02995, allocations: 132.4 kB / 421.9 MB, free: 7.34 MB / 394.7 MB Notification: Performance of SimCode: time 5.61e-07/0.02995, allocations: 0 / 421.9 MB, free: 7.34 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02662/0.05658, allocations: 11.31 MB / 433.3 MB, free: 12.2 MB / 410.7 MB Error: Error building simulator. Build log: cmd: cd '117.fmutmp/sources/' && mkdir build_cmake_static && cd build_cmake_static && cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_C_COMPILER='clang' .. && cmake --build . --parallel -j1 --target install && cd .. && rm -rf build_cmake_static -- The C compiler identification is Clang 18.1.3 -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: /usr/bin/clang - skipped -- Detecting C compile features -- Detecting C compile features - done -- FMI2 include directory: /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager_UDPWithoutReceiveThread/117.fmutmp/sources/fmi -- Performing Test CMAKE_HAVE_LIBC_PTHREAD -- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success -- Found Threads: TRUE -- Building for FMI platform linux64 -- Install directory: /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager_UDPWithoutReceiveThread/117.fmutmp/sources/../binaries/linux64 -- Linking pthread-NOTFOUND -- Linking /home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers master/Resources/Library/linux64/libWs2_32.a -- Linking /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/x86_64-linux-gnu/omc/libModelicaExternalC.a -- CVODE: Not linked -- Not using FMI2_FUNCTION_PREFIX -- Installing dynamic dependencies from list: pthread-NOTFOUND;/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers master/Resources/Library/linux64/libWs2_32.a;/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/x86_64-linux-gnu/omc/libModelicaExternalC.a -- Configuring done (0.2s) CMake Error: The following variables are used in this project, but they are set to NOTFOUND. Please set them or make sure they are set and tested correctly in the CMake files: pthread linked by target \"117\" in directory /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager_UDPWithoutReceiveThread/117.fmutmp/sources -- Generating done (0.0s) CMake Generate step failed. Build files cannot be regenerated correctly. " [Timeout remaining time 660] [Calling sys.exit(0), Time elapsed: 2.2051316052675247] Failed to read output from testmodel.py, exit status != 0: 0.28066476434469223 0.482986942 0.47014337599999995 Calling exit ...