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.001759/0.001759, allocations: 122.1 kB / 17.88 MB, free: 5.027 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.001934/0.001934, allocations: 211.2 kB / 20.84 MB, free: 2.082 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.596/1.596, allocations: 230.6 MB / 254.2 MB, free: 15.08 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.06092/0.06092, allocations: 12.22 MB / 322.5 MB, free: 13.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.001956/0.001956, allocations: 66.53 kB / 448.8 MB, free: 38.15 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1189/0.1209, allocations: 56.37 MB / 0.4933 GB, free: 1.531 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_TCPIP): time 0.007609/0.1285, allocations: 2.827 MB / 0.4961 GB, free: 14.69 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.00311/0.1316, allocations: 0.8756 MB / 0.4969 GB, free: 13.81 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002242/0.1318, allocations: 7.938 kB / 0.497 GB, free: 13.8 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004275/0.1323, allocations: 71.27 kB / 0.497 GB, free: 13.73 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003152/0.1326, allocations: 47.59 kB / 0.4971 GB, free: 13.69 MB / 366.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.00134/0.1339, allocations: 275.2 kB / 0.4973 GB, free: 13.42 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008201/0.1348, allocations: 371 kB / 0.4977 GB, free: 13.05 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000513/0.1353, allocations: 166.7 kB / 0.4978 GB, free: 12.89 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004325/0.1357, allocations: 191.4 kB / 0.498 GB, free: 12.7 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006043/0.1363, allocations: 219 kB / 0.4982 GB, free: 12.48 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001661/0.1365, allocations: 44 kB / 0.4983 GB, free: 12.44 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006153/0.1371, allocations: 187.8 kB / 0.4985 GB, free: 12.26 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003219/0.1374, allocations: 139.6 kB / 0.4986 GB, free: 12.12 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004029/0.1378, allocations: 202.9 kB / 0.4988 GB, free: 11.92 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001692/0.1395, allocations: 0.6342 MB / 0.4994 GB, free: 11.29 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.306e-06/0.1395, allocations: 0 / 0.4994 GB, free: 11.29 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.775e-06/0.1395, allocations: 4 kB / 0.4994 GB, free: 11.28 MB / 366.1 MB Notification: Performance of Transformations before backend: time 4.17e-05/0.1396, allocations: 0 / 0.4994 GB, free: 11.28 MB / 366.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.003348/0.1429, allocations: 1.106 MB / 0.5005 GB, free: 10.08 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.816e-05/0.143, allocations: 8.031 kB / 0.5005 GB, free: 10.07 MB / 366.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.43e-05/0.143, allocations: 17.19 kB / 0.5005 GB, free: 10.05 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001743/0.1432, allocations: 78.7 kB / 0.5006 GB, free: 9.969 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001985/0.1434, allocations: 44.66 kB / 0.5006 GB, free: 9.926 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007027/0.1441, allocations: 311.8 kB / 0.5009 GB, free: 9.582 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.384e-05/0.1442, allocations: 37.3 kB / 0.501 GB, free: 9.547 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001118/0.1443, allocations: 40.38 kB / 0.501 GB, free: 9.508 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001405/0.1457, allocations: 456.1 kB / 0.5014 GB, free: 9.043 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.728e-05/0.1457, allocations: 4 kB / 0.5014 GB, free: 9.039 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.307e-05/0.1458, allocations: 15.98 kB / 0.5015 GB, free: 9.023 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.992e-05/0.1458, allocations: 8 kB / 0.5015 GB, free: 9.016 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000965/0.1468, allocations: 262 kB / 0.5017 GB, free: 8.758 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00299/0.1498, allocations: 1.225 MB / 0.5029 GB, free: 7.465 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009389/0.1507, allocations: 251.7 kB / 0.5031 GB, free: 7.191 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004441/0.1511, allocations: 134.4 kB / 0.5033 GB, free: 7.051 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.923e-05/0.1512, allocations: 11.97 kB / 0.5033 GB, free: 7.039 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006762/0.1519, allocations: 230 kB / 0.5035 GB, free: 6.789 MB / 366.1 MB Notification: Performance of pre-optimization done (n=37): time 3.837e-06/0.1519, allocations: 3.938 kB / 0.5035 GB, free: 6.785 MB / 366.1 MB Notification: Performance of matching and sorting (n=37): time 0.001997/0.1539, allocations: 0.5372 MB / 0.504 GB, free: 6.246 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001639/0.154, allocations: 138.7 kB / 0.5042 GB, free: 6.086 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004473/0.1545, allocations: 222 kB / 0.5044 GB, free: 5.859 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 8.444e-05/0.1546, allocations: 37.7 kB / 0.5044 GB, free: 5.816 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002909/0.1548, allocations: 196.8 kB / 0.5046 GB, free: 5.621 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000185/0.155, allocations: 99.25 kB / 0.5047 GB, free: 5.523 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002724/0.1553, allocations: 106.2 kB / 0.5048 GB, free: 5.414 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002637/0.1556, allocations: 338.8 kB / 0.5051 GB, free: 5.074 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003632/0.1559, allocations: 105 kB / 0.5052 GB, free: 4.969 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006815/0.1566, allocations: 297.5 kB / 0.5055 GB, free: 4.594 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001183/0.1578, allocations: 447.6 kB / 0.5059 GB, free: 4.07 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.75e-05/0.1578, allocations: 7.984 kB / 0.5059 GB, free: 4.062 MB / 366.1 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.001455/0.1593, allocations: 449 kB / 0.5064 GB, free: 3.617 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.987e-05/0.1593, allocations: 8 kB / 0.5064 GB, free: 3.609 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.375e-05/0.1593, allocations: 8.781 kB / 0.5064 GB, free: 3.602 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.555e-05/0.1594, allocations: 8 kB / 0.5064 GB, free: 3.594 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004626/0.1598, allocations: 75.78 kB / 0.5065 GB, free: 3.52 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.327e-05/0.1599, allocations: 12.06 kB / 0.5065 GB, free: 3.508 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003644/0.1602, allocations: 43.67 kB / 0.5065 GB, free: 3.465 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.5e-05/0.1603, allocations: 27.98 kB / 0.5065 GB, free: 3.438 MB / 366.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.0005355/0.1608, allocations: 235.1 kB / 0.5068 GB, free: 3.195 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001338/0.161, allocations: 23.86 kB / 0.5068 GB, free: 3.172 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001126/0.1621, allocations: 362.3 kB / 0.5071 GB, free: 2.812 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.023e-05/0.1621, allocations: 4 kB / 0.5071 GB, free: 2.809 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.285e-05/0.1621, allocations: 4 kB / 0.5071 GB, free: 2.805 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.506e-05/0.1621, allocations: 3.984 kB / 0.5072 GB, free: 2.801 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002308/0.1644, allocations: 0.8963 MB / 0.508 GB, free: 1.848 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.54e-06/0.1644, allocations: 0 / 0.508 GB, free: 1.848 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.859e-05/0.1645, allocations: 12 kB / 0.508 GB, free: 1.836 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.588e-06/0.1645, allocations: 4 kB / 0.508 GB, free: 1.832 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.28e-05/0.1646, allocations: 11.98 kB / 0.5081 GB, free: 1.82 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.007e-06/0.1646, allocations: 4 kB / 0.5081 GB, free: 1.816 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.102e-06/0.1646, allocations: 3.938 kB / 0.5081 GB, free: 1.812 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001446/0.166, allocations: 0.5404 MB / 0.5086 GB, free: 1.25 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001218/0.1662, allocations: 104.9 kB / 0.5087 GB, free: 1.129 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.284e-05/0.1662, allocations: 7.984 kB / 0.5087 GB, free: 1.121 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002071/0.1664, allocations: 7.984 kB / 0.5087 GB, free: 1.113 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.953e-05/0.1665, allocations: 19.92 kB / 0.5087 GB, free: 1.094 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.865e-05/0.1666, allocations: 19.92 kB / 0.5087 GB, free: 1.074 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001808/0.1667, allocations: 128 kB / 0.5089 GB, free: 0.9453 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.1667, allocations: 0 / 0.5089 GB, free: 0.9453 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0009871/0.1677, allocations: 151.4 kB / 0.509 GB, free: 0.7969 MB / 366.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.003174/0.1709, allocations: 1.344 MB / 0.5103 GB, free: 15.48 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001061/0.172, allocations: 320.8 kB / 0.5106 GB, free: 15.17 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.346e-06/0.172, allocations: 0 / 0.5106 GB, free: 15.17 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004589/0.1724, allocations: 134.7 kB / 0.5108 GB, free: 15.04 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008148/0.1732, allocations: 73.33 kB / 0.5108 GB, free: 14.98 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006727/0.18, allocations: 3.147 MB / 0.5139 GB, free: 11.57 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007008/0.1807, allocations: 0.7991 MB / 0.5147 GB, free: 10.74 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.000248/0.1809, allocations: 51.22 kB / 0.5147 GB, free: 10.69 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000249/0.1812, allocations: 103.4 kB / 0.5148 GB, free: 10.59 MB / 382.1 MB Notification: Performance of SimCode: time 6.71e-07/0.1812, allocations: 0 / 0.5148 GB, free: 10.59 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0322/0.2134, allocations: 7.827 MB / 0.5225 GB, free: 2.969 MB / 382.1 MB Error: Error building simulator. Build log: cmd: cd 'Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_TCPIP.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/OpenModelica/OMCompiler/build/bin/../include/omc/c/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/Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_TCPIP.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 \"Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_TCPIP\" in directory /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_TCPIP/Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_TCPIP.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.4371753379818983] Failed to read output from testmodel.py, exit status != 0: 0.6333316810196266 0.649289101 0.5063439740000001 Calling exit ...