Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_TCPIP.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.001238/0.001238, allocations: 115.7 kB / 19.74 MB, free: 2.141 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.001365/0.001365, allocations: 226.2 kB / 23.06 MB, free: 4.941 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.498/1.498, allocations: 230.6 MB / 256.8 MB, free: 8.027 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.0634/0.0634, allocations: 12.22 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.Blocks.Examples.TestSerialPackager_TCPIP,fileNamePrefix="Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_TCPIP",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_TCPIP,fileNamePrefix="Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_TCPIP",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002861/0.002861, allocations: 71.91 kB / 453.4 MB, free: 9.02 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1337/0.1366, allocations: 56.4 MB / 0.4978 GB, free: 0.5234 MB / 366.1 MB Notification: Performance of NFInst.instantiate(Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_TCPIP): time 0.006272/0.1429, allocations: 2.915 MB / 0.5007 GB, free: 13.6 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00194/0.1448, allocations: 0.8876 MB / 0.5015 GB, free: 12.71 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002048/0.145, allocations: 11.88 kB / 0.5016 GB, free: 12.7 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003275/0.1453, allocations: 63.28 kB / 0.5016 GB, free: 12.63 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002568/0.1456, allocations: 51.59 kB / 0.5017 GB, free: 12.58 MB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers master/Blocks/Packaging/SerialPackager.mo:130:7-137:16:writable] Warning: Pure function 'Modelica_DeviceDrivers.Blocks.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/Blocks/Packaging/SerialPackager.mo:30:7-39:18:writable] Warning: Pure function 'Modelica_DeviceDrivers.Blocks.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/Blocks/Communication.mo:1240:7-1249:26:writable] Warning: Pure function 'Modelica_DeviceDrivers.Blocks.Communication.Internal.DummyFunctions.readTCPIPServer' contains a call to impure function 'Modelica_DeviceDrivers.Communication.TCPIPSocketClient_.read'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers master/Blocks/Communication.mo:1251:7-1260:28:writable] Warning: Pure function 'Modelica_DeviceDrivers.Blocks.Communication.Internal.DummyFunctions.sendToTCPIPServer' contains a call to impure function 'Modelica_DeviceDrivers.Communication.TCPIPSocketClient_.sendTo'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers master/Blocks/Packaging/SerialPackager.mo:63:7-72:21:writable] Warning: Pure function 'Modelica_DeviceDrivers.Blocks.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/Blocks/Packaging/SerialPackager.mo:74:7-84:18:writable] Warning: Pure function 'Modelica_DeviceDrivers.Blocks.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/Blocks/Packaging/SerialPackager.mo:107:7-117:21:writable] Warning: Pure function 'Modelica_DeviceDrivers.Blocks.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/Blocks/Packaging/SerialPackager.mo:41:7-50:25:writable] Warning: Pure function 'Modelica_DeviceDrivers.Blocks.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/Blocks/Packaging/SerialPackager.mo:86:7-96:27:writable] Warning: Pure function 'Modelica_DeviceDrivers.Blocks.Packaging.SerialPackager.Internal.DummyFunctions.getRealFromFloat' contains a call to impure function 'Modelica_DeviceDrivers.Packaging.SerialPackager_.getRealFromFloat'. Notification: Performance of NFTyping.typeClassSections: time 0.0009268/0.1465, allocations: 291.1 kB / 0.5019 GB, free: 12.3 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006062/0.1471, allocations: 367 kB / 0.5023 GB, free: 11.94 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003145/0.1474, allocations: 135.2 kB / 0.5024 GB, free: 11.8 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002941/0.1477, allocations: 191.3 kB / 0.5026 GB, free: 11.61 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003967/0.1481, allocations: 223 kB / 0.5028 GB, free: 11.39 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 9.28e-05/0.1482, allocations: 44 kB / 0.5029 GB, free: 11.35 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003964/0.1486, allocations: 199.8 kB / 0.5031 GB, free: 11.15 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001819/0.1488, allocations: 143.6 kB / 0.5032 GB, free: 11.01 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002281/0.149, allocations: 194.9 kB / 0.5034 GB, free: 10.82 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009602/0.15, allocations: 0.6381 MB / 0.504 GB, free: 10.18 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.009e-06/0.15, allocations: 0 / 0.504 GB, free: 10.18 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.153e-06/0.15, allocations: 3.938 kB / 0.504 GB, free: 10.18 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.728e-05/0.15, allocations: 0 / 0.504 GB, free: 10.18 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 addInteger.pkgOut[1].pkg = tcpipClient.pkgIn.pkg tcpipClient.pkgOut.pkg = getReal.pkgIn.pkg getInteger.pkgIn.pkg = getFloat.pkgOut[1].pkg getReal.pkgOut[1].pkg = getFloat.pkgIn.pkg addFloat.pkgOut[1].pkg = addInteger.pkgIn.pkg addReal.pkgOut[1].pkg = addFloat.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: 100 * Number of variables: 100 Notification: Performance of Generate backend data structure: time 0.002018/0.152, allocations: 1.016 MB / 0.505 GB, free: 9.082 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.819e-05/0.1521, allocations: 12.03 kB / 0.505 GB, free: 9.07 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001006/0.1522, allocations: 78.7 kB / 0.5051 GB, free: 8.984 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001131/0.1523, allocations: 56.59 kB / 0.5051 GB, free: 8.93 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003987/0.1527, allocations: 257.8 kB / 0.5054 GB, free: 8.652 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.513e-05/0.1527, allocations: 29.36 kB / 0.5054 GB, free: 8.621 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.84e-05/0.1528, allocations: 36.38 kB / 0.5054 GB, free: 8.586 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008096/0.1536, allocations: 460.2 kB / 0.5059 GB, free: 8.117 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.737e-05/0.1536, allocations: 3.938 kB / 0.5059 GB, free: 8.113 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.787e-05/0.1537, allocations: 19.98 kB / 0.5059 GB, free: 8.094 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.393e-05/0.1537, allocations: 12 kB / 0.5059 GB, free: 8.082 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004944/0.1542, allocations: 252.6 kB / 0.5062 GB, free: 7.84 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001916/0.1561, allocations: 1.209 MB / 0.5073 GB, free: 6.57 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005512/0.1566, allocations: 243.8 kB / 0.5076 GB, free: 6.305 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002411/0.1569, allocations: 134.4 kB / 0.5077 GB, free: 6.164 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.931e-05/0.1569, allocations: 8 kB / 0.5077 GB, free: 6.156 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003996/0.1573, allocations: 226.7 kB / 0.5079 GB, free: 5.91 MB / 382.1 MB Notification: Performance of pre-optimization done (n=37): time 1.903e-06/0.1573, allocations: 0 / 0.5079 GB, free: 5.91 MB / 382.1 MB Notification: Performance of matching and sorting (n=37): time 0.001152/0.1585, allocations: 0.5399 MB / 0.5084 GB, free: 5.367 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001539/0.1586, allocations: 138.7 kB / 0.5086 GB, free: 5.207 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003158/0.1589, allocations: 215 kB / 0.5088 GB, free: 4.988 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 5.231e-05/0.159, allocations: 41.7 kB / 0.5088 GB, free: 4.941 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001839/0.1592, allocations: 204.7 kB / 0.509 GB, free: 4.738 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001073/0.1593, allocations: 91.33 kB / 0.5091 GB, free: 4.648 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001813/0.1595, allocations: 106.2 kB / 0.5092 GB, free: 4.539 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002059/0.1597, allocations: 342.8 kB / 0.5095 GB, free: 4.195 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002223/0.1599, allocations: 100.9 kB / 0.5096 GB, free: 4.094 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003982/0.1603, allocations: 296.9 kB / 0.5099 GB, free: 3.719 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006841/0.161, allocations: 451.6 kB / 0.5103 GB, free: 3.191 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.038e-05/0.161, allocations: 4 kB / 0.5103 GB, free: 3.188 MB / 382.1 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0008588/0.1618, allocations: 445.7 kB / 0.5108 GB, free: 2.746 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.584e-05/0.1619, allocations: 8 kB / 0.5108 GB, free: 2.738 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.571e-05/0.1619, allocations: 12.06 kB / 0.5108 GB, free: 2.727 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.495e-05/0.1619, allocations: 8 kB / 0.5108 GB, free: 2.719 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002535/0.1622, allocations: 71.84 kB / 0.5109 GB, free: 2.648 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.444e-05/0.1622, allocations: 19.86 kB / 0.5109 GB, free: 2.629 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002057/0.1624, allocations: 35.73 kB / 0.5109 GB, free: 2.594 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.609e-05/0.1624, allocations: 20 kB / 0.5109 GB, free: 2.574 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * Number of states: 0 () * Number of discrete variables: 50 (getFloat.dummy,$PRE.getFloat.dummy,getFloat.y[2],$PRE.getFloat.y[2],getFloat.y[1],$PRE.getFloat.y[1],getFloat.pkgOut[1].dummy,$PRE.getFloat.pkgOut[1].dummy,addFloat.pkgOut[1].dummy,$PRE.addFloat.pkgOut[1].dummy,getInteger.dummy,$PRE.getInteger.dummy,getInteger.y[1],$PRE.getInteger.y[1],getReal.dummy,$PRE.getReal.dummy,getReal.y[3],$PRE.getReal.y[3],getReal.y[2],$PRE.getReal.y[2],getReal.y[1],$PRE.getReal.y[1],getReal.pkgOut[1].dummy,$PRE.getReal.pkgOut[1].dummy,addInteger.pkgOut[1].dummy,$PRE.addInteger.pkgOut[1].dummy,tcpipClient.pkgOut.dummy,$PRE.tcpipClient.pkgOut.dummy,addReal.pkgOut[1].dummy,$PRE.addReal.pkgOut[1].dummy,packager.pkgOut.dummy,$PRE.packager.pkgOut.dummy,getFloat.pkgOut[1].trigger,addFloat.pkgOut[1].trigger,$whenCondition1,$whenCondition2,addInteger.u[1],tcpipClient.isConnected,getFloat.pkgIn.autoPkgBitSize,getInteger.pkgIn.autoPkgBitSize,getReal.pkgIn.autoPkgBitSize,getInteger.pkgIn.userPkgBitSize,getInteger.pkgIn.backwardTrigger,addFloat.pkgIn.autoPkgBitSize,addInteger.pkgIn.autoPkgBitSize,tcpipClient.pkgIn.autoPkgBitSize,tcpipClient.pkgIn.userPkgBitSize,addReal.pkgIn.autoPkgBitSize,packager.bufferSize,packager.backwardPropagatedBufferSize) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (56): * Single equations (assignments): 56 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003451/0.1628, allocations: 238.8 kB / 0.5112 GB, free: 2.332 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.214e-05/0.1629, allocations: 23.86 kB / 0.5112 GB, free: 2.309 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006548/0.1635, allocations: 360.1 kB / 0.5115 GB, free: 1.945 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.126e-06/0.1635, allocations: 4 kB / 0.5115 GB, free: 1.941 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.019e-05/0.1635, allocations: 7.938 kB / 0.5115 GB, free: 1.934 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.416e-06/0.1635, allocations: 3.984 kB / 0.5116 GB, free: 1.93 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001442/0.165, allocations: 0.8765 MB / 0.5124 GB, free: 1.004 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.855e-06/0.165, allocations: 7.938 kB / 0.5124 GB, free: 0.9961 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.877e-05/0.165, allocations: 11.98 kB / 0.5124 GB, free: 0.9844 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.977e-06/0.165, allocations: 0 / 0.5124 GB, free: 0.9844 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.873e-05/0.1651, allocations: 15.98 kB / 0.5124 GB, free: 0.9688 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.507e-06/0.1651, allocations: 0 / 0.5124 GB, free: 0.9688 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.1651, allocations: 0 / 0.5124 GB, free: 0.9688 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008578/0.1659, allocations: 0.555 MB / 0.513 GB, free: 400 kB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.237e-05/0.166, allocations: 23.8 kB / 0.513 GB, free: 376 kB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.443e-05/0.166, allocations: 11.98 kB / 0.513 GB, free: 364 kB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001065/0.1661, allocations: 4 kB / 0.513 GB, free: 360 kB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.289e-05/0.1662, allocations: 19.91 kB / 0.513 GB, free: 340 kB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.844e-05/0.1662, allocations: 19.98 kB / 0.5131 GB, free: 320 kB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001276/0.1664, allocations: 128.1 kB / 0.5132 GB, free: 188 kB / 382.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1664, allocations: 0 / 0.5132 GB, free: 188 kB / 382.1 MB Notification: Performance of remove unused functions: time 0.0006011/0.167, allocations: 147.5 kB / 0.5133 GB, free: 40 kB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 32 (getReal.pkgIn.autoPkgBitSize,getInteger.pkgIn.autoPkgBitSize,getFloat.pkgIn.autoPkgBitSize,getFloat.pkgOut[1].trigger,addFloat.pkgOut[1].trigger,$whenCondition2,$whenCondition1,packager.pkgOut.dummy,addReal.pkgOut[1].dummy,tcpipClient.pkgOut.dummy,tcpipClient.isConnected,addInteger.pkgOut[1].dummy,addInteger.u[1],getReal.pkgOut[1].dummy,getReal.y[1],getReal.y[2],getReal.y[3],getReal.dummy,getInteger.y[1],getInteger.dummy,addFloat.pkgOut[1].dummy,getFloat.pkgOut[1].dummy,getFloat.y[1],getFloat.y[2],getFloat.dummy,packager.backwardPropagatedBufferSize,packager.bufferSize,addReal.pkgIn.autoPkgBitSize,tcpipClient.pkgIn.userPkgBitSize,tcpipClient.pkgIn.autoPkgBitSize,addInteger.pkgIn.autoPkgBitSize,addFloat.pkgIn.autoPkgBitSize) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (31): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 21 * If-equations: 0 * 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.2895/0.4565, allocations: 1.321 MB / 0.5146 GB, free: 20.56 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0006448/0.4571, allocations: 321.1 kB / 0.5149 GB, free: 20.56 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.906e-06/0.4571, allocations: 0 / 0.5149 GB, free: 20.56 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002211/0.4573, allocations: 141.8 kB / 0.5151 GB, free: 20.56 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005508/0.4579, allocations: 79.84 kB / 0.5151 GB, free: 20.55 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003414/0.4613, allocations: 3.133 MB / 0.5182 GB, free: 18.74 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002531/0.4615, allocations: 0.8089 MB / 0.519 GB, free: 18.04 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001437/0.4617, allocations: 52.11 kB / 0.519 GB, free: 18.04 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001429/0.4618, allocations: 95.72 kB / 0.5191 GB, free: 18.03 MB / 382.1 MB Notification: Performance of SimCode: time 4.01e-07/0.4618, allocations: 0 / 0.5191 GB, free: 18.03 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04404/0.5059, allocations: 8.102 MB / 0.527 GB, free: 17.06 MB / 382.1 MB Error: Error building simulator. Build log: cmd: cd '525.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.Blocks.Examples.TestSerialPackager_TCPIP/525.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.Blocks.Examples.TestSerialPackager_TCPIP/525.fmutmp/sources/../binaries/linux64 -- Linking pthread-NOTFOUND -- Linking /home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers master/Resources/Library/linux64/libWs2_32.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 -- 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 \"525\" in directory /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_TCPIP/525.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.447781822178513] Failed to read output from testmodel.py, exit status != 0: 0.9476509350351989 0.964872246 0.812010873 Calling exit ...