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.001806/0.001806, allocations: 101 kB / 20.52 MB, free: 1.449 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.002657/0.002657, allocations: 215.9 kB / 23.84 MB, free: 4.664 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.613/1.613, allocations: 230.6 MB / 257.6 MB, free: 7.992 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.06369/0.06369, allocations: 12.22 MB / 326.2 MB, free: 7.25 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_TCPIP,fileNamePrefix="Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_TCPIP",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002308/0.002308, allocations: 67.89 kB / 454.2 MB, free: 9.004 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1301/0.1324, allocations: 56.41 MB / 0.4986 GB, free: 0.5 MB / 366.1 MB Notification: Performance of NFInst.instantiate(Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_TCPIP): time 0.005464/0.1378, allocations: 2.915 MB / 0.5015 GB, free: 13.57 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001744/0.1396, allocations: 0.8837 MB / 0.5023 GB, free: 12.69 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001108/0.1397, allocations: 11.88 kB / 0.5023 GB, free: 12.68 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002808/0.14, allocations: 71.28 kB / 0.5024 GB, free: 12.61 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001803/0.1401, allocations: 47.58 kB / 0.5024 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.0007192/0.1409, allocations: 279.2 kB / 0.5027 GB, free: 12.29 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004693/0.1413, allocations: 367 kB / 0.5031 GB, free: 11.93 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003611/0.1417, allocations: 135.2 kB / 0.5032 GB, free: 11.79 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002059/0.1419, allocations: 191.3 kB / 0.5034 GB, free: 11.6 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003012/0.1422, allocations: 227 kB / 0.5036 GB, free: 11.38 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.59e-05/0.1423, allocations: 40 kB / 0.5036 GB, free: 11.34 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002815/0.1425, allocations: 203.8 kB / 0.5038 GB, free: 11.14 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001657/0.1427, allocations: 139.6 kB / 0.5039 GB, free: 11 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002077/0.1429, allocations: 202.9 kB / 0.5041 GB, free: 10.8 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007428/0.1437, allocations: 0.6302 MB / 0.5048 GB, free: 10.17 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.937e-06/0.1437, allocations: 3.938 kB / 0.5048 GB, free: 10.16 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.1437, allocations: 0 / 0.5048 GB, free: 10.16 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.285e-05/0.1437, allocations: 0 / 0.5048 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.001682/0.1454, allocations: 1.024 MB / 0.5058 GB, free: 9.062 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.891e-05/0.1454, allocations: 8.031 kB / 0.5058 GB, free: 9.055 MB / 382.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.429e-05/0.1454, allocations: 13.19 kB / 0.5058 GB, free: 9.039 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.927e-05/0.1455, allocations: 82.7 kB / 0.5059 GB, free: 8.949 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.527e-05/0.1456, allocations: 48.59 kB / 0.5059 GB, free: 8.902 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003443/0.146, allocations: 245.9 kB / 0.5061 GB, free: 8.637 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.261e-05/0.146, allocations: 37.36 kB / 0.5062 GB, free: 8.602 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.412e-05/0.1461, allocations: 32.38 kB / 0.5062 GB, free: 8.57 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008046/0.1469, allocations: 467.9 kB / 0.5067 GB, free: 8.09 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.669e-05/0.1469, allocations: 0 / 0.5067 GB, free: 8.09 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.194e-05/0.1469, allocations: 19.98 kB / 0.5067 GB, free: 8.07 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.462e-05/0.1469, allocations: 8 kB / 0.5067 GB, free: 8.062 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004565/0.1474, allocations: 257.9 kB / 0.5069 GB, free: 7.812 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001639/0.149, allocations: 1.209 MB / 0.5081 GB, free: 6.543 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005327/0.1496, allocations: 243.8 kB / 0.5083 GB, free: 6.277 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002192/0.1498, allocations: 130.5 kB / 0.5085 GB, free: 6.141 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.234e-05/0.1498, allocations: 7.984 kB / 0.5085 GB, free: 6.133 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003706/0.1502, allocations: 226.7 kB / 0.5087 GB, free: 5.887 MB / 382.1 MB Notification: Performance of pre-optimization done (n=37): time 1.463e-06/0.1502, allocations: 0 / 0.5087 GB, free: 5.887 MB / 382.1 MB Notification: Performance of matching and sorting (n=37): time 0.001058/0.1513, allocations: 0.5477 MB / 0.5092 GB, free: 5.336 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001134/0.1514, allocations: 134.7 kB / 0.5094 GB, free: 5.18 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002288/0.1516, allocations: 215 kB / 0.5096 GB, free: 4.961 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.117e-05/0.1516, allocations: 37.7 kB / 0.5096 GB, free: 4.918 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000164/0.1518, allocations: 196.7 kB / 0.5098 GB, free: 4.723 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.537e-05/0.1519, allocations: 95.31 kB / 0.5099 GB, free: 4.629 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001497/0.152, allocations: 110.2 kB / 0.51 GB, free: 4.516 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001927/0.1522, allocations: 338.8 kB / 0.5103 GB, free: 4.176 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002017/0.1524, allocations: 112.9 kB / 0.5104 GB, free: 4.062 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003786/0.1528, allocations: 292.9 kB / 0.5107 GB, free: 3.691 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000653/0.1535, allocations: 451.6 kB / 0.5111 GB, free: 3.164 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.699e-06/0.1535, allocations: 4 kB / 0.5111 GB, free: 3.16 MB / 382.1 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0007872/0.1543, allocations: 445.4 kB / 0.5115 GB, free: 2.719 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.773e-05/0.1543, allocations: 8 kB / 0.5116 GB, free: 2.711 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.403e-05/0.1543, allocations: 4 kB / 0.5116 GB, free: 2.707 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.844e-05/0.1543, allocations: 12 kB / 0.5116 GB, free: 2.695 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002544/0.1546, allocations: 71.78 kB / 0.5116 GB, free: 2.625 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.318e-05/0.1546, allocations: 20.31 kB / 0.5117 GB, free: 2.605 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001805/0.1548, allocations: 36.02 kB / 0.5117 GB, free: 2.57 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.509e-05/0.1548, allocations: 24 kB / 0.5117 GB, free: 2.547 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.00032/0.1552, allocations: 226.9 kB / 0.5119 GB, free: 2.316 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.135e-05/0.1552, allocations: 27.84 kB / 0.512 GB, free: 2.289 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006752/0.1559, allocations: 374.6 kB / 0.5123 GB, free: 1.918 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.304e-06/0.1559, allocations: 4 kB / 0.5123 GB, free: 1.914 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.582e-06/0.1559, allocations: 0 / 0.5123 GB, free: 1.914 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.537e-06/0.1559, allocations: 11.98 kB / 0.5123 GB, free: 1.902 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001457/0.1574, allocations: 0.8687 MB / 0.5132 GB, free: 0.9844 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.425e-06/0.1574, allocations: 0 / 0.5132 GB, free: 0.9844 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.763e-05/0.1574, allocations: 15.98 kB / 0.5132 GB, free: 0.9688 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.359e-06/0.1574, allocations: 0 / 0.5132 GB, free: 0.9688 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.779e-05/0.1575, allocations: 7.984 kB / 0.5132 GB, free: 0.9609 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.324e-06/0.1575, allocations: 4 kB / 0.5132 GB, free: 0.957 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.757e-06/0.1575, allocations: 3.938 kB / 0.5132 GB, free: 0.9531 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008122/0.1583, allocations: 0.5589 MB / 0.5138 GB, free: 380 kB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.147e-05/0.1583, allocations: 27.8 kB / 0.5138 GB, free: 352 kB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.111e-05/0.1584, allocations: 11.92 kB / 0.5138 GB, free: 340 kB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001049/0.1585, allocations: 4 kB / 0.5138 GB, free: 336 kB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.103e-05/0.1585, allocations: 27.89 kB / 0.5138 GB, free: 308 kB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.128e-05/0.1586, allocations: 15.98 kB / 0.5138 GB, free: 292 kB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001135/0.1587, allocations: 128.1 kB / 0.514 GB, free: 160 kB / 382.1 MB Notification: Performance of sort global known variables: time 6e-08/0.1587, allocations: 0 / 0.514 GB, free: 160 kB / 382.1 MB Notification: Performance of remove unused functions: time 0.0005949/0.1593, allocations: 147.5 kB / 0.5141 GB, free: 12 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.2794/0.4387, allocations: 1.324 MB / 0.5154 GB, free: 20.59 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0006007/0.4393, allocations: 327.3 kB / 0.5157 GB, free: 20.59 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.4393, allocations: 0 / 0.5157 GB, free: 20.59 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002197/0.4395, allocations: 131.9 kB / 0.5158 GB, free: 20.59 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005271/0.44, allocations: 77.72 kB / 0.5159 GB, free: 20.59 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003514/0.4435, allocations: 3.142 MB / 0.519 GB, free: 18.77 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002738/0.4438, allocations: 0.7996 MB / 0.5198 GB, free: 18.07 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.000151/0.444, allocations: 49.17 kB / 0.5198 GB, free: 18.07 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001304/0.4441, allocations: 107.7 kB / 0.5199 GB, free: 18.07 MB / 382.1 MB Notification: Performance of SimCode: time 6.91e-07/0.4441, allocations: 0 / 0.5199 GB, free: 18.07 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0334/0.4775, allocations: 8.126 MB / 0.5278 GB, free: 17.07 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_DIRECTORY: /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc -- SUNDIALS_CVODE_LIBRARY: /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/x86_64-linux-gnu/omc/libsundials_cvode.so -- SUNDIALS_NVECSERIAL_LIBRARY: /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/x86_64-linux-gnu/omc/libsundials_nvecserial.so -- CVODE: /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/x86_64-linux-gnu/omc/libsundials_nvecserial.so /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/x86_64-linux-gnu/omc/libsundials_cvode.so -- 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/libsundials_cvode.so;/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/x86_64-linux-gnu/omc/libsundials_nvecserial.so -- 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.5490293410257436] Failed to read output from testmodel.py, exit status != 0: 0.9217698390129954 0.94277591 0.796083747 Calling exit ...