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.001347/0.001347, allocations: 118.4 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.001522/0.001522, allocations: 224 kB / 23.05 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.529/1.529, allocations: 230.6 MB / 256.8 MB, free: 8.008 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.266 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.002034/0.002034, allocations: 63.89 kB / 453.4 MB, free: 9.008 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1339/0.136, allocations: 56.39 MB / 0.4978 GB, free: 0.5195 MB / 366.1 MB Notification: Performance of NFInst.instantiate(Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_TCPIP): time 0.005589/0.1416, allocations: 2.927 MB / 0.5007 GB, free: 13.58 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001817/0.1434, allocations: 0.8915 MB / 0.5016 GB, free: 12.69 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001483/0.1435, allocations: 11.88 kB / 0.5016 GB, free: 12.68 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003295/0.1439, allocations: 63.34 kB / 0.5016 GB, free: 12.61 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002074/0.1441, allocations: 51.58 kB / 0.5017 GB, free: 12.56 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.000852/0.1449, allocations: 283.1 kB / 0.5019 GB, free: 12.29 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004955/0.1454, allocations: 375 kB / 0.5023 GB, free: 11.92 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002834/0.1457, allocations: 131.2 kB / 0.5024 GB, free: 11.78 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002208/0.1459, allocations: 187.4 kB / 0.5026 GB, free: 11.6 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003132/0.1462, allocations: 227 kB / 0.5028 GB, free: 11.38 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.097e-05/0.1463, allocations: 40 kB / 0.5029 GB, free: 11.34 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003298/0.1466, allocations: 199.8 kB / 0.503 GB, free: 11.14 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001679/0.1468, allocations: 143.6 kB / 0.5032 GB, free: 11 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001899/0.147, allocations: 198.9 kB / 0.5034 GB, free: 10.8 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000767/0.1478, allocations: 0.6342 MB / 0.504 GB, free: 10.17 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.1478, allocations: 0 / 0.504 GB, free: 10.17 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.984e-06/0.1478, allocations: 7.875 kB / 0.504 GB, free: 10.16 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.035e-06/0.1478, allocations: 0 / 0.504 GB, free: 10.16 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.001852/0.1496, allocations: 1.02 MB / 0.505 GB, free: 9.062 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.818e-05/0.1497, allocations: 8.031 kB / 0.505 GB, free: 9.055 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.32e-05/0.1498, allocations: 78.7 kB / 0.5051 GB, free: 8.969 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.44e-05/0.1499, allocations: 44.66 kB / 0.5051 GB, free: 8.926 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003822/0.1502, allocations: 253.9 kB / 0.5054 GB, free: 8.652 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.529e-05/0.1503, allocations: 37.3 kB / 0.5054 GB, free: 8.613 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.697e-05/0.1503, allocations: 40.38 kB / 0.5054 GB, free: 8.574 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007876/0.1511, allocations: 456.2 kB / 0.5059 GB, free: 8.109 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.842e-05/0.1511, allocations: 3.938 kB / 0.5059 GB, free: 8.105 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.792e-05/0.1512, allocations: 12 kB / 0.5059 GB, free: 8.094 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.28e-05/0.1512, allocations: 12 kB / 0.5059 GB, free: 8.082 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004687/0.1517, allocations: 257.9 kB / 0.5061 GB, free: 7.832 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001687/0.1534, allocations: 1.201 MB / 0.5073 GB, free: 6.57 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005224/0.1539, allocations: 255.7 kB / 0.5076 GB, free: 6.293 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002151/0.1541, allocations: 130.5 kB / 0.5077 GB, free: 6.156 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.805e-05/0.1541, allocations: 0 / 0.5077 GB, free: 6.156 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003713/0.1545, allocations: 234.6 kB / 0.5079 GB, free: 5.902 MB / 382.1 MB Notification: Performance of pre-optimization done (n=37): time 1.453e-06/0.1545, allocations: 0 / 0.5079 GB, free: 5.902 MB / 382.1 MB Notification: Performance of matching and sorting (n=37): time 0.001042/0.1555, allocations: 0.5426 MB / 0.5084 GB, free: 5.359 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001112/0.1556, allocations: 134.7 kB / 0.5086 GB, free: 5.203 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000226/0.1559, allocations: 211 kB / 0.5088 GB, free: 4.988 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.857e-05/0.1559, allocations: 49.69 kB / 0.5088 GB, free: 4.934 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000149/0.1561, allocations: 200.7 kB / 0.509 GB, free: 4.734 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.379e-05/0.1562, allocations: 91.33 kB / 0.5091 GB, free: 4.645 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001431/0.1563, allocations: 106.2 kB / 0.5092 GB, free: 4.535 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001628/0.1565, allocations: 338.8 kB / 0.5095 GB, free: 4.195 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001932/0.1567, allocations: 104.9 kB / 0.5096 GB, free: 4.09 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003642/0.157, allocations: 296.9 kB / 0.5099 GB, free: 3.715 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005951/0.1576, allocations: 463.8 kB / 0.5103 GB, free: 3.176 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.888e-06/0.1576, allocations: 3.938 kB / 0.5104 GB, free: 3.172 MB / 382.1 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0007158/0.1583, allocations: 448.7 kB / 0.5108 GB, free: 2.727 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.031e-05/0.1584, allocations: 8 kB / 0.5108 GB, free: 2.719 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.07e-05/0.1584, allocations: 4.781 kB / 0.5108 GB, free: 2.715 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.41e-05/0.1584, allocations: 8 kB / 0.5108 GB, free: 2.707 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002489/0.1586, allocations: 83.83 kB / 0.5109 GB, free: 2.625 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.699e-05/0.1587, allocations: 11.94 kB / 0.5109 GB, free: 2.613 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001651/0.1588, allocations: 35.73 kB / 0.5109 GB, free: 2.578 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.823e-05/0.1589, allocations: 27.98 kB / 0.511 GB, free: 2.551 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.0002947/0.1592, allocations: 230.9 kB / 0.5112 GB, free: 2.316 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.767e-05/0.1592, allocations: 23.86 kB / 0.5112 GB, free: 2.293 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006265/0.1598, allocations: 368.1 kB / 0.5115 GB, free: 1.922 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.582e-06/0.1598, allocations: 4 kB / 0.5115 GB, free: 1.918 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.053e-06/0.1599, allocations: 3.938 kB / 0.5116 GB, free: 1.914 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.02e-06/0.1599, allocations: 0 / 0.5116 GB, free: 1.914 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001329/0.1612, allocations: 0.8764 MB / 0.5124 GB, free: 0.9883 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.625e-06/0.1612, allocations: 0 / 0.5124 GB, free: 0.9883 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.226e-05/0.1612, allocations: 8 kB / 0.5124 GB, free: 0.9805 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.6e-06/0.1613, allocations: 8 kB / 0.5124 GB, free: 0.9727 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.555e-05/0.1613, allocations: 11.98 kB / 0.5124 GB, free: 0.9609 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.805e-06/0.1613, allocations: 0 / 0.5124 GB, free: 0.9609 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.984e-06/0.1613, allocations: 4 kB / 0.5124 GB, free: 0.957 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007999/0.1621, allocations: 0.5511 MB / 0.513 GB, free: 392 kB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.382e-05/0.1621, allocations: 23.8 kB / 0.513 GB, free: 368 kB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.83e-05/0.1622, allocations: 11.98 kB / 0.513 GB, free: 356 kB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001213/0.1623, allocations: 7.984 kB / 0.513 GB, free: 348 kB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.259e-05/0.1623, allocations: 23.91 kB / 0.513 GB, free: 324 kB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.594e-05/0.1624, allocations: 12 kB / 0.5131 GB, free: 312 kB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001261/0.1625, allocations: 128.1 kB / 0.5132 GB, free: 180 kB / 382.1 MB Notification: Performance of sort global known variables: time 6e-08/0.1625, allocations: 0 / 0.5132 GB, free: 180 kB / 382.1 MB Notification: Performance of remove unused functions: time 0.0006145/0.1631, allocations: 147.5 kB / 0.5133 GB, free: 32 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.248/0.4111, allocations: 1.327 MB / 0.5146 GB, free: 20.54 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0005974/0.4117, allocations: 322.6 kB / 0.5149 GB, free: 20.54 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.637e-06/0.4117, allocations: 1.594 kB / 0.5149 GB, free: 20.54 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002079/0.412, allocations: 136.9 kB / 0.5151 GB, free: 20.54 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005118/0.4125, allocations: 72.64 kB / 0.5151 GB, free: 20.54 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003273/0.4157, allocations: 3.135 MB / 0.5182 GB, free: 18.72 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002848/0.416, allocations: 0.8065 MB / 0.519 GB, free: 18.02 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001385/0.4162, allocations: 51.91 kB / 0.519 GB, free: 18.02 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001198/0.4163, allocations: 98.64 kB / 0.5191 GB, free: 18.01 MB / 382.1 MB Notification: Performance of SimCode: time 7.12e-07/0.4163, allocations: 0 / 0.5191 GB, free: 18.01 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04099/0.4573, allocations: 8.105 MB / 0.527 GB, free: 17.04 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.473372667001968] Failed to read output from testmodel.py, exit status != 0: 0.8678670400040573 0.886726194 0.735236124 Calling exit ...