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.001477/0.001477, allocations: 118.2 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.001623/0.001623, allocations: 225.2 kB / 23.05 MB, free: 4.996 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.589/1.589, allocations: 230.6 MB / 256.8 MB, free: 8.043 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.06411/0.06411, allocations: 12.23 MB / 325.5 MB, free: 7.273 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_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 0.002151/0.002151, allocations: 59.91 kB / 453.4 MB, free: 9.031 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1403/0.1425, allocations: 56.41 MB / 0.4978 GB, free: 0.5234 MB / 366.1 MB Notification: Performance of NFInst.instantiate(Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager_UDPWithoutReceiveThread): time 0.005974/0.1484, allocations: 2.407 MB / 0.5002 GB, free: 14.11 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002333/0.1508, allocations: 0.973 MB / 0.5011 GB, free: 13.14 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003072/0.1511, allocations: 19.81 kB / 0.5011 GB, free: 13.12 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003678/0.1514, allocations: 75.2 kB / 0.5012 GB, free: 13.04 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003883/0.1518, allocations: 55.52 kB / 0.5013 GB, free: 12.99 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.001255/0.1531, allocations: 333.5 kB / 0.5016 GB, free: 12.66 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000647/0.1537, allocations: 391.8 kB / 0.502 GB, free: 12.28 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000392/0.1541, allocations: 163.8 kB / 0.5021 GB, free: 12.11 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003322/0.1545, allocations: 191.3 kB / 0.5023 GB, free: 11.93 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004466/0.1549, allocations: 231 kB / 0.5025 GB, free: 11.7 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001208/0.155, allocations: 47.98 kB / 0.5026 GB, free: 11.65 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004568/0.1555, allocations: 207.8 kB / 0.5028 GB, free: 11.45 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002179/0.1557, allocations: 155.6 kB / 0.5029 GB, free: 11.3 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002802/0.156, allocations: 210.7 kB / 0.5031 GB, free: 11.09 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001125/0.1571, allocations: 0.6575 MB / 0.5038 GB, free: 10.43 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.55e-06/0.1571, allocations: 7.984 kB / 0.5038 GB, free: 10.42 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.042e-06/0.1571, allocations: 0 / 0.5038 GB, free: 10.42 MB / 382.1 MB Notification: Performance of Transformations before backend: time 2.614e-05/0.1571, allocations: 0 / 0.5038 GB, free: 10.42 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: 118 * Number of variables: 118 Notification: Performance of Generate backend data structure: time 0.00219/0.1593, allocations: 1.039 MB / 0.5048 GB, free: 9.312 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.608e-05/0.1594, allocations: 8.031 kB / 0.5048 GB, free: 9.305 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001275/0.1595, allocations: 86.7 kB / 0.5049 GB, free: 9.211 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000135/0.1596, allocations: 56.59 kB / 0.5049 GB, free: 9.156 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006031/0.1602, allocations: 282.3 kB / 0.5052 GB, free: 8.855 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.0001491/0.1604, allocations: 88.97 kB / 0.5053 GB, free: 8.758 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.381e-05/0.1605, allocations: 44.38 kB / 0.5053 GB, free: 8.715 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002198/0.1627, allocations: 1.167 MB / 0.5065 GB, free: 7.48 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.268e-05/0.1627, allocations: 4 kB / 0.5065 GB, free: 7.477 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.169e-05/0.1627, allocations: 16 kB / 0.5065 GB, free: 7.461 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.465e-05/0.1628, allocations: 20 kB / 0.5065 GB, free: 7.441 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006491/0.1634, allocations: 307.9 kB / 0.5068 GB, free: 7.141 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00191/0.1653, allocations: 1.35 MB / 0.5081 GB, free: 5.711 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001167/0.1665, allocations: 0.6907 MB / 0.5088 GB, free: 4.926 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000618/0.1671, allocations: 372.4 kB / 0.5091 GB, free: 4.535 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001396/0.1673, allocations: 43.97 kB / 0.5092 GB, free: 4.492 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002711/0.1675, allocations: 171.3 kB / 0.5093 GB, free: 4.289 MB / 382.1 MB Notification: Performance of pre-optimization done (n=78): time 3.346e-06/0.1675, allocations: 0 / 0.5093 GB, free: 4.289 MB / 382.1 MB Notification: Performance of matching and sorting (n=78): time 0.001629/0.1692, allocations: 0.8193 MB / 0.5101 GB, free: 3.465 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002568/0.1694, allocations: 323.4 kB / 0.5105 GB, free: 3.082 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002768/0.1697, allocations: 231 kB / 0.5107 GB, free: 2.848 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 5.496e-05/0.1698, allocations: 37.7 kB / 0.5107 GB, free: 2.805 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001521/0.1699, allocations: 165.7 kB / 0.5109 GB, free: 2.637 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.341e-05/0.17, allocations: 79.59 kB / 0.5109 GB, free: 2.559 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002015/0.1702, allocations: 134.7 kB / 0.5111 GB, free: 2.418 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000191/0.1704, allocations: 350.8 kB / 0.5114 GB, free: 2.066 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002229/0.1706, allocations: 121.9 kB / 0.5115 GB, free: 1.949 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007612/0.1714, allocations: 0.5742 MB / 0.5121 GB, free: 1.148 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00105/0.1724, allocations: 0.7642 MB / 0.5128 GB, free: 160 kB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.808e-05/0.1724, allocations: 4 kB / 0.5128 GB, free: 156 kB / 382.1 MB Notification: Performance of matching and sorting (n=87) (initialization): time 0.3331/0.5056, allocations: 0.6752 MB / 0.5135 GB, free: 20.86 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.817e-05/0.5056, allocations: 11.28 kB / 0.5135 GB, free: 20.86 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.769e-05/0.5056, allocations: 19.97 kB / 0.5135 GB, free: 20.86 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.305e-05/0.5057, allocations: 21.59 kB / 0.5135 GB, free: 20.86 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000419/0.5061, allocations: 151 kB / 0.5137 GB, free: 20.86 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.718e-05/0.5061, allocations: 39.36 kB / 0.5137 GB, free: 20.86 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003065/0.5064, allocations: 64.19 kB / 0.5138 GB, free: 20.86 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.765e-05/0.5065, allocations: 45.38 kB / 0.5138 GB, free: 20.86 MB / 382.1 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: 74 * Number of states: 0 () * Number of discrete variables: 33 ($PRE.trigger.y,$whenCondition2,pre_trigger.y,$whenCondition1,trigger.y,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,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 (85): * Single equations (assignments): 84 * 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.0005103/0.507, allocations: 257.9 kB / 0.5141 GB, free: 20.74 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008357/0.5078, allocations: 492.9 kB / 0.5145 GB, free: 20.7 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008366/0.5087, allocations: 468.2 kB / 0.515 GB, free: 20.65 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.849e-05/0.5087, allocations: 15.88 kB / 0.515 GB, free: 20.65 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.116e-05/0.5087, allocations: 7.875 kB / 0.515 GB, free: 20.65 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.235e-05/0.5087, allocations: 5.859 kB / 0.515 GB, free: 20.65 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007225/0.5095, allocations: 0.6068 MB / 0.5156 GB, free: 20.38 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.386e-05/0.5095, allocations: 4.031 kB / 0.5156 GB, free: 20.38 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003076/0.5098, allocations: 106.2 kB / 0.5157 GB, free: 20.38 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.841e-06/0.5098, allocations: 3.5 kB / 0.5157 GB, free: 20.38 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.006e-05/0.5098, allocations: 25.81 kB / 0.5157 GB, free: 20.38 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.356e-06/0.5098, allocations: 11.75 kB / 0.5158 GB, free: 20.38 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.128e-06/0.5098, allocations: 3.219 kB / 0.5158 GB, free: 20.38 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009819/0.5108, allocations: 0.7883 MB / 0.5165 GB, free: 20.13 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.751e-05/0.5109, allocations: 55.8 kB / 0.5166 GB, free: 20.11 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.661e-05/0.5109, allocations: 25.05 kB / 0.5166 GB, free: 20.11 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001605/0.5111, allocations: 15.11 kB / 0.5166 GB, free: 20.11 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.424e-05/0.5112, allocations: 27.48 kB / 0.5166 GB, free: 20.11 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.647e-05/0.5112, allocations: 35.38 kB / 0.5167 GB, free: 20.11 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001182/0.5114, allocations: 147.7 kB / 0.5168 GB, free: 20.03 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.5114, allocations: 2.344 kB / 0.5168 GB, free: 20.03 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0007058/0.5121, allocations: 156.6 kB / 0.517 GB, free: 20.02 MB / 382.1 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.002686/0.5147, allocations: 1.927 MB / 0.5189 GB, free: 19.22 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001234/0.516, allocations: 1.225 MB / 0.5201 GB, free: 18.5 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.409e-06/0.516, allocations: 0.5938 kB / 0.5201 GB, free: 18.5 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003812/0.5164, allocations: 0.7646 MB / 0.5208 GB, free: 17.81 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001478/0.5178, allocations: 1.194 MB / 0.522 GB, free: 16.96 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.004312/0.5222, allocations: 3.285 MB / 0.5252 GB, free: 14.85 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004118/0.5226, allocations: 0.8834 MB / 0.526 GB, free: 14.14 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001851/0.5228, allocations: 60.62 kB / 0.5261 GB, free: 14.12 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001972/0.5229, allocations: 135.5 kB / 0.5262 GB, free: 14.11 MB / 382.1 MB Notification: Performance of SimCode: time 1.182e-06/0.523, allocations: 0 / 0.5262 GB, free: 14.11 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04796/0.5709, allocations: 11.62 MB / 0.5376 GB, free: 10.94 MB / 382.1 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 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_UDPWithoutReceiveThread/117.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_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/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 \"117\" in directory /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager_UDPWithoutReceiveThread/117.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.626792971044779] Failed to read output from testmodel.py, exit status != 0: 1.005894958972931 1.020148785 0.860566225 Calling exit ...