Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager_UDP.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.001248/0.001248, allocations: 115.5 kB / 19.74 MB, free: 2.152 MB / 14.72 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.001416/0.001416, allocations: 225.2 kB / 23.05 MB, free: 4.992 MB / 14.72 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 1.551/1.551, allocations: 230.6 MB / 256.8 MB, free: 8.035 MB / 206.1 MB " [Timeout remaining time 178] 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.06524/0.06524, allocations: 12.22 MB / 325.4 MB, free: 7.281 MB / 254.1 MB " [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_UDP,fileNamePrefix="Modelica_DeviceDrivers_Modelica_DeviceDrivers_ClockedBlocks_Examples_TestSerialPackager_UDP",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager_UDP,fileNamePrefix="Modelica_DeviceDrivers_Modelica_DeviceDrivers_ClockedBlocks_Examples_TestSerialPackager_UDP",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002049/0.002049, allocations: 63.89 kB / 453.4 MB, free: 9.023 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1401/0.1421, allocations: 56.39 MB / 0.4978 GB, free: 0.5273 MB / 366.1 MB Notification: Performance of NFInst.instantiate(Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager_UDP): time 0.006625/0.1487, allocations: 3.236 MB / 0.501 GB, free: 13.28 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002797/0.1515, allocations: 1.012 MB / 0.502 GB, free: 12.27 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003903/0.1519, allocations: 19.81 kB / 0.502 GB, free: 12.25 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004663/0.1524, allocations: 79.19 kB / 0.5021 GB, free: 12.17 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004107/0.1528, allocations: 51.53 kB / 0.5021 GB, free: 12.12 MB / 382.1 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.001417/0.1542, allocations: 331.1 kB / 0.5024 GB, free: 11.79 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008228/0.155, allocations: 459.6 kB / 0.5029 GB, free: 11.34 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000413/0.1554, allocations: 180.9 kB / 0.503 GB, free: 11.16 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003917/0.1558, allocations: 227.2 kB / 0.5033 GB, free: 10.94 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005155/0.1564, allocations: 254.8 kB / 0.5035 GB, free: 10.69 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001328/0.1565, allocations: 48 kB / 0.5035 GB, free: 10.64 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005224/0.157, allocations: 219.8 kB / 0.5038 GB, free: 10.43 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000239/0.1572, allocations: 163.5 kB / 0.5039 GB, free: 10.27 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003408/0.1576, allocations: 246.5 kB / 0.5041 GB, free: 10.02 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00135/0.1589, allocations: 0.7469 MB / 0.5049 GB, free: 9.273 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.1589, allocations: 0 / 0.5049 GB, free: 9.273 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.655e-06/0.1589, allocations: 0 / 0.5049 GB, free: 9.273 MB / 382.1 MB Notification: Performance of Transformations before backend: time 2.166e-05/0.159, allocations: 0 / 0.5049 GB, free: 9.273 MB / 382.1 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: 131 * Number of variables: 131 Notification: Performance of Generate backend data structure: time 0.00244/0.1614, allocations: 1.124 MB / 0.506 GB, free: 8.078 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.535e-05/0.1615, allocations: 8.031 kB / 0.506 GB, free: 8.07 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001407/0.1616, allocations: 98.7 kB / 0.5061 GB, free: 7.965 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001565/0.1618, allocations: 64.56 kB / 0.5061 GB, free: 7.902 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006687/0.1624, allocations: 338 kB / 0.5065 GB, free: 7.543 MB / 382.1 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.0001769/0.1626, allocations: 96.97 kB / 0.5066 GB, free: 7.438 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.372e-05/0.1627, allocations: 59.88 kB / 0.5066 GB, free: 7.379 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002285/0.165, allocations: 1.315 MB / 0.5079 GB, free: 5.992 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.059e-05/0.165, allocations: 7.938 kB / 0.5079 GB, free: 5.984 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.447e-05/0.1651, allocations: 20 kB / 0.5079 GB, free: 5.965 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.504e-05/0.1651, allocations: 16 kB / 0.5079 GB, free: 5.949 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006707/0.1658, allocations: 357.5 kB / 0.5083 GB, free: 5.602 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002553/0.1683, allocations: 2.123 MB / 0.5104 GB, free: 3.375 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001251/0.1696, allocations: 0.7661 MB / 0.5111 GB, free: 2.508 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000677/0.1703, allocations: 418.8 kB / 0.5115 GB, free: 2.059 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000138/0.1704, allocations: 44.39 kB / 0.5115 GB, free: 2.016 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.401e-05/0.1704, allocations: 50.94 kB / 0.5116 GB, free: 1.957 MB / 382.1 MB Notification: Performance of pre-optimization done (n=83): time 4.128e-06/0.1704, allocations: 0 / 0.5116 GB, free: 1.957 MB / 382.1 MB Notification: Performance of matching and sorting (n=83): time 0.001847/0.1723, allocations: 0.8943 MB / 0.5125 GB, free: 1.059 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003373/0.1726, allocations: 363.6 kB / 0.5128 GB, free: 0.6328 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003535/0.173, allocations: 296.1 kB / 0.5131 GB, free: 336 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 6.31e-05/0.173, allocations: 41.7 kB / 0.5131 GB, free: 288 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001743/0.1732, allocations: 197.5 kB / 0.5133 GB, free: 84 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.2982/0.4714, allocations: 99.22 kB / 0.5134 GB, free: 21.09 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003418/0.4718, allocations: 157 kB / 0.5136 GB, free: 21.07 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001285/0.4719, allocations: 361.2 kB / 0.5139 GB, free: 20.76 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003303/0.4722, allocations: 162.5 kB / 0.5141 GB, free: 20.76 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004998/0.4727, allocations: 0.6779 MB / 0.5147 GB, free: 20.09 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007511/0.4735, allocations: 0.9024 MB / 0.5156 GB, free: 19.43 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.102e-05/0.4735, allocations: 4.25 kB / 0.5156 GB, free: 19.43 MB / 382.1 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001221/0.4747, allocations: 0.815 MB / 0.5164 GB, free: 19.32 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.945e-05/0.4748, allocations: 13.09 kB / 0.5164 GB, free: 19.32 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.653e-05/0.4748, allocations: 20.59 kB / 0.5164 GB, free: 19.32 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.385e-05/0.4748, allocations: 23.33 kB / 0.5165 GB, free: 19.32 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004883/0.4753, allocations: 172.5 kB / 0.5166 GB, free: 19.3 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.429e-05/0.4754, allocations: 36.44 kB / 0.5167 GB, free: 19.3 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003331/0.4757, allocations: 77.88 kB / 0.5167 GB, free: 19.29 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.668e-05/0.4757, allocations: 54.02 kB / 0.5168 GB, free: 19.29 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 84 * Number of states: 0 () * Number of discrete variables: 31 (integerExpression.y,getFloat.pkgOut[1].autoPkgBitSize,getFloat.pkgIn.autoPkgBitSize,assignClock2.y,assignClock2.u,getInteger.y[1],getInteger.pkgIn.autoPkgBitSize,getReal.pkgOut[1].autoPkgBitSize,getReal.pkgIn.autoPkgBitSize,$CLKPRE.uDPReceive.initialized,uDPReceive.initialized,$CLKPRE.uDPReceive.bufferSize,uDPReceive.bufferSize,uDPReceive.nRecvbufOverwrites,uDPReceive.nRecvBytes,uDPReceive.pkgOut.autoPkgBitSize,sample1.y,addInteger.u[1],uDPSend.bufferSize,integrator1[3].local_reset,integrator1[2].local_reset,integrator1[1].local_reset,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 (98): * Single equations (assignments): 97 * 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.0004045/0.4762, allocations: 286.3 kB / 0.5171 GB, free: 19.16 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009225/0.4771, allocations: 0.5124 MB / 0.5176 GB, free: 19.11 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001072/0.4781, allocations: 0.6821 MB / 0.5182 GB, free: 19.04 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.186e-05/0.4782, allocations: 22.95 kB / 0.5182 GB, free: 19.03 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.759e-06/0.4782, allocations: 6.938 kB / 0.5183 GB, free: 19.03 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.116e-05/0.4782, allocations: 4.547 kB / 0.5183 GB, free: 19.03 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008952/0.4791, allocations: 447.9 kB / 0.5187 GB, free: 18.87 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.51e-05/0.4791, allocations: 6.078 kB / 0.5187 GB, free: 18.87 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000387/0.4795, allocations: 120 kB / 0.5188 GB, free: 18.86 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.396e-06/0.4795, allocations: 8.031 kB / 0.5188 GB, free: 18.86 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.612e-05/0.4796, allocations: 24.88 kB / 0.5188 GB, free: 18.86 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.316e-06/0.4796, allocations: 10.19 kB / 0.5188 GB, free: 18.86 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.783e-06/0.4796, allocations: 4.25 kB / 0.5189 GB, free: 18.86 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001809/0.4814, allocations: 1.835 MB / 0.5206 GB, free: 17.98 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.392e-05/0.4814, allocations: 61.39 kB / 0.5207 GB, free: 17.96 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.117e-05/0.4815, allocations: 22.8 kB / 0.5207 GB, free: 17.96 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004364/0.482, allocations: 19.5 kB / 0.5207 GB, free: 17.95 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.685e-05/0.482, allocations: 28.41 kB / 0.5208 GB, free: 17.95 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.084e-05/0.4821, allocations: 38.83 kB / 0.5208 GB, free: 17.95 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001763/0.4823, allocations: 194.1 kB / 0.521 GB, free: 17.86 MB / 382.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4823, allocations: 0 / 0.521 GB, free: 17.86 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001166/0.4834, allocations: 172.9 kB / 0.5212 GB, free: 17.86 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 3 (integrator1[1].y,integrator1[2].y,integrator1[3].y) * Number of discrete variables: 25 ($cse2,packager.pkgOut.autoPkgBitSize,packager.initialized,packager.backwardPropagatedBufferSize,packager.bufferSize,addReal.pkgOut[1].autoPkgBitSize,integerExpression.y,$cse6,$cse7,uDPSend.bufferSize,addInteger.u[1],sample1.y,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) * Number of discrete states: 0 () * Number of clocked states: 4 (packager.dummy,uDPReceive.bufferSize,uDPReceive.initialized,uDPReceive.dummy) * Top-level inputs: 0 Notification: Strong component statistics for simulation (75): * Single equations (assignments): 67 * 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.003282/0.4867, allocations: 2.652 MB / 0.5237 GB, free: 16.42 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001674/0.4884, allocations: 1.311 MB / 0.525 GB, free: 15.67 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.64e-06/0.4884, allocations: 1.094 kB / 0.525 GB, free: 15.67 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004556/0.4888, allocations: 0.7848 MB / 0.5258 GB, free: 14.96 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002434/0.4913, allocations: 1.235 MB / 0.527 GB, free: 13.99 MB / 382.1 MB [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/SymbolicJacobian.mo:1963:3-1963:101:writable] Error: Internal error function createFMIModelDerivativesForInitialization failed Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005991/0.4973, allocations: 3.998 MB / 0.5309 GB, free: 11.01 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005604/0.4978, allocations: 0.9268 MB / 0.5318 GB, free: 10.29 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002908/0.4981, allocations: 89.77 kB / 0.5319 GB, free: 10.27 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002286/0.4983, allocations: 163.3 kB / 0.5321 GB, free: 10.16 MB / 382.1 MB Notification: Performance of SimCode: time 1.953e-06/0.4983, allocations: 0 / 0.5321 GB, free: 10.16 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05116/0.5495, allocations: 13.31 MB / 0.545 GB, free: 5.715 MB / 382.1 MB Error: Error building simulator. Build log: cmd: cd '885.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 14.0.0 -- 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager_UDP/885.fmutmp/sources/fmi -- Looking for pthread.h -- Looking for pthread.h - found -- 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager_UDP/885.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/jenkins1/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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/x86_64-linux-gnu/omc/libModelicaExternalC.a -- Configuring done 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 \"885\" in directory /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager_UDP/885.fmutmp/sources -- Generating done CMake Generate step failed. Build files cannot be regenerated correctly. " [Timeout remaining time 659] [Calling sys.exit(0), Time elapsed: 3.564424973912537] Failed to read output from testmodel.py, exit status != 0: 1.0390084439422935 1.052399786 0.890089761 Calling exit ...