Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_TCPIPServer.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.00153/0.00153, allocations: 105 kB / 20.53 MB, free: 1.43 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.001742/0.001742, allocations: 212.2 kB / 23.83 MB, free: 4.641 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.52/1.52, 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.06529/0.06529, allocations: 12.21 MB / 326.2 MB, free: 7.234 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_TCPIPServer,fileNamePrefix="Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_TCPIPServer",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_TCPIPServer,fileNamePrefix="Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_TCPIPServer",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001942/0.001942, allocations: 63.89 kB / 454.2 MB, free: 8.977 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1401/0.1421, allocations: 56.38 MB / 0.4986 GB, free: 0.5 MB / 366.1 MB Notification: Performance of NFInst.instantiate(Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_TCPIPServer): time 0.009594/0.1517, allocations: 3.371 MB / 0.5019 GB, free: 13.12 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.004086/0.1557, allocations: 0.9264 MB / 0.5028 GB, free: 12.19 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008957/0.1566, allocations: 15.81 kB / 0.5028 GB, free: 12.17 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006563/0.1573, allocations: 103.2 kB / 0.5029 GB, free: 12.07 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003284/0.1576, allocations: 43.59 kB / 0.5029 GB, free: 12.03 MB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers master/Blocks/Communication.mo:1308:7-1320:27:writable] Warning: Pure function 'Modelica_DeviceDrivers.Blocks.Communication.Internal.DummyFunctions.readPTCPIPServer' contains a call to impure function 'Modelica_DeviceDrivers.Communication.TCPIPServer_.readP'. [/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: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: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:171:5-182:15:writable] Warning: Pure function 'Modelica_DeviceDrivers.Blocks.Packaging.SerialPackager.Internal.DummyFunctions.getPos' contains a call to impure function 'Modelica_DeviceDrivers.Packaging.SerialPackager_.getPos'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers master/Blocks/Communication.mo:1322:7-1334:27:writable] Warning: Pure function 'Modelica_DeviceDrivers.Blocks.Communication.Internal.DummyFunctions.sendPTCPIPServer' contains a call to impure function 'Modelica_DeviceDrivers.Communication.TCPIPServer_.sendP'. Notification: Performance of NFTyping.typeClassSections: time 0.001305/0.1589, allocations: 317.4 kB / 0.5032 GB, free: 11.72 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008606/0.1598, allocations: 399.4 kB / 0.5036 GB, free: 11.33 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004783/0.1603, allocations: 150.5 kB / 0.5038 GB, free: 11.17 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004266/0.1607, allocations: 175.4 kB / 0.5039 GB, free: 11 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005372/0.1612, allocations: 203.1 kB / 0.5041 GB, free: 10.8 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001468/0.1614, allocations: 40 kB / 0.5042 GB, free: 10.76 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004801/0.1619, allocations: 163.9 kB / 0.5043 GB, free: 10.6 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002092/0.1621, allocations: 127.6 kB / 0.5044 GB, free: 10.47 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002489/0.1623, allocations: 194.9 kB / 0.5046 GB, free: 10.28 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00112/0.1634, allocations: 0.5913 MB / 0.5052 GB, free: 9.688 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.001e-06/0.1634, allocations: 4 kB / 0.5052 GB, free: 9.684 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.402e-06/0.1634, allocations: 0 / 0.5052 GB, free: 9.684 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.658e-05/0.1635, allocations: 0 / 0.5052 GB, free: 9.684 MB / 382.1 MB Warning: Alias equations of external objects are not Modelica compliant as in: addInteger.pkgOut[1].pkg = addInteger.pkgIn.pkg addInteger.pkgOut[1].pkg = tCPIPSend.pkgIn.pkg packager.pkgOut.pkg = addInteger.pkgIn.pkg tCPIPReceive.pkgOut.pkg = getInteger.pkgIn.pkg Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 95 * Number of variables: 95 Notification: Performance of Generate backend data structure: time 0.002138/0.1656, allocations: 0.8508 MB / 0.506 GB, free: 8.773 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.021e-05/0.1656, allocations: 12.02 kB / 0.506 GB, free: 8.762 MB / 382.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.794e-05/0.1657, allocations: 9.188 kB / 0.5061 GB, free: 8.754 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001045/0.1658, allocations: 78.72 kB / 0.5061 GB, free: 8.668 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001642/0.1659, allocations: 52.64 kB / 0.5062 GB, free: 8.617 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005136/0.1665, allocations: 280.8 kB / 0.5065 GB, free: 8.316 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.927e-05/0.1665, allocations: 25.38 kB / 0.5065 GB, free: 8.293 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.07e-05/0.1666, allocations: 44.36 kB / 0.5065 GB, free: 8.25 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008142/0.1674, allocations: 428.6 kB / 0.5069 GB, free: 7.805 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.369e-05/0.1674, allocations: 0 / 0.5069 GB, free: 7.805 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.592e-05/0.1674, allocations: 23.98 kB / 0.5069 GB, free: 7.781 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.432e-05/0.1675, allocations: 8 kB / 0.507 GB, free: 7.773 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000554/0.168, allocations: 237.1 kB / 0.5072 GB, free: 7.539 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002068/0.1701, allocations: 1.245 MB / 0.5084 GB, free: 6.23 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005961/0.1707, allocations: 278.7 kB / 0.5087 GB, free: 5.922 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002501/0.1709, allocations: 129.3 kB / 0.5088 GB, free: 5.785 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.344e-05/0.171, allocations: 7.984 kB / 0.5088 GB, free: 5.777 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004547/0.1714, allocations: 255.5 kB / 0.509 GB, free: 5.5 MB / 382.1 MB Notification: Performance of pre-optimization done (n=42): time 2.064e-06/0.1714, allocations: 0 / 0.509 GB, free: 5.5 MB / 382.1 MB Notification: Performance of matching and sorting (n=42): time 0.001169/0.1726, allocations: 0.5405 MB / 0.5096 GB, free: 4.953 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001334/0.1727, allocations: 152.5 kB / 0.5097 GB, free: 4.773 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003749/0.1731, allocations: 256.9 kB / 0.51 GB, free: 4.512 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 6.352e-05/0.1732, allocations: 41.7 kB / 0.51 GB, free: 4.465 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002089/0.1734, allocations: 205 kB / 0.5102 GB, free: 4.262 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001236/0.1735, allocations: 111.1 kB / 0.5103 GB, free: 4.152 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002125/0.1737, allocations: 114.2 kB / 0.5104 GB, free: 4.035 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001953/0.1739, allocations: 342.8 kB / 0.5107 GB, free: 3.691 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002836/0.1742, allocations: 121.1 kB / 0.5109 GB, free: 3.57 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004001/0.1746, allocations: 280.6 kB / 0.5111 GB, free: 3.23 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00104/0.1756, allocations: 0.671 MB / 0.5118 GB, free: 2.457 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.264e-05/0.1756, allocations: 3.938 kB / 0.5118 GB, free: 2.453 MB / 382.1 MB Notification: Performance of matching and sorting (n=68) (initialization): time 0.001071/0.1767, allocations: 0.5588 MB / 0.5123 GB, free: 1.875 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.081e-05/0.1768, allocations: 63.39 kB / 0.5124 GB, free: 1.801 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.05e-05/0.1768, allocations: 8 kB / 0.5124 GB, free: 1.793 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.752e-05/0.1768, allocations: 8 kB / 0.5124 GB, free: 1.785 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002332/0.1771, allocations: 63.84 kB / 0.5125 GB, free: 1.723 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.898e-05/0.1771, allocations: 8.562 kB / 0.5125 GB, free: 1.715 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002298/0.1773, allocations: 43.73 kB / 0.5125 GB, free: 1.672 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.146e-05/0.1774, allocations: 27.98 kB / 0.5125 GB, free: 1.645 MB / 382.1 MB Warning: Assuming fixed start value for the following 5 variables: process.y[1]:DISCRETE(flow=false fixed = true ) type: Integer [3] process.y[2]:DISCRETE(flow=false fixed = true ) type: Integer [3] process.y[3]:DISCRETE(flow=false fixed = true ) type: Integer [3] tCPIPSend.dataSent:DISCRETE(fixed = true ) type: Integer tCPIPReceive.nReceivedBytes:DISCRETE(flow=false fixed = true ) \"Number of received bytes\" type: Integer Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * Number of states: 0 () * Number of discrete variables: 57 ($PRE.process.y[1],process.y[1],$PRE.process.y[2],process.y[2],$PRE.process.y[3],process.y[3],tCPIPSend.dummy1,$PRE.tCPIPSend.dummy1,tCPIPSend.pkgSize,$PRE.tCPIPSend.pkgSize,$PRE.tCPIPSend.dataSent,tCPIPSend.dataSent,tCPIPSend.dummy2,$PRE.tCPIPSend.dummy2,addInteger.pkgOut[1].dummy,$PRE.addInteger.pkgOut[1].dummy,packager.pkgOut.dummy,$PRE.packager.pkgOut.dummy,getInteger.dummy,$PRE.getInteger.dummy,getInteger.y[3],$PRE.getInteger.y[3],getInteger.y[2],$PRE.getInteger.y[2],getInteger.y[1],$PRE.getInteger.y[1],tCPIPReceive.pkgOut.dummy,$PRE.tCPIPReceive.pkgOut.dummy,$PRE.tCPIPSend.block_,$PRE.tCPIPSend.accepted,$PRE.tCPIPReceive.block_,$PRE.tCPIPReceive.accepted,$PRE.tCPIPReceive.nReceivedBytes,tCPIPSend.block_,tCPIPSend.accepted,addInteger.pkgOut[1].backwardTrigger,addInteger.pkgOut[1].trigger,tCPIPReceive.block_,tCPIPReceive.accepted,tCPIPReceive.recvTrigger,tCPIPReceive.nReceivedBytes,tCPIPReceive.conditionalInternalTrigger,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,tCPIPSend.internalTrigger,getInteger.pkgIn.userPkgBitSize,getInteger.pkgIn.backwardTrigger,tCPIPSend.bufferSize,tCPIPSend.pkgIn.autoPkgBitSize,tCPIPSend.pkgIn.userPkgBitSize,addInteger.pkgIn.autoPkgBitSize,packager.bufferSize,packager.backwardPropagatedBufferSize,getInteger.pkgIn.autoPkgBitSize,tCPIPReceive.bufferSize) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (63): * Single equations (assignments): 60 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 1 * 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.000414/0.1778, allocations: 223.8 kB / 0.5127 GB, free: 1.418 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000102/0.1779, allocations: 43.8 kB / 0.5128 GB, free: 1.375 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.503e-05/0.178, allocations: 19.05 kB / 0.5128 GB, free: 1.355 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.128e-05/0.178, allocations: 11.92 kB / 0.5128 GB, free: 1.344 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.341e-05/0.178, allocations: 4 kB / 0.5128 GB, free: 1.34 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.279e-06/0.178, allocations: 0 / 0.5128 GB, free: 1.34 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001444/0.1794, allocations: 0.8365 MB / 0.5136 GB, free: 464 kB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.085e-06/0.1795, allocations: 4 kB / 0.5136 GB, free: 460 kB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.304e-05/0.1795, allocations: 15.92 kB / 0.5137 GB, free: 444 kB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.831e-06/0.1795, allocations: 4 kB / 0.5137 GB, free: 440 kB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.849e-05/0.1795, allocations: 12.05 kB / 0.5137 GB, free: 428 kB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.266e-06/0.1795, allocations: 11.98 kB / 0.5137 GB, free: 416 kB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.158e-06/0.1795, allocations: 3.938 kB / 0.5137 GB, free: 412 kB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2342/0.4138, allocations: 0.523 MB / 0.5142 GB, free: 21.14 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.63e-05/0.4138, allocations: 29.91 kB / 0.5142 GB, free: 21.14 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.479e-05/0.4139, allocations: 11.17 kB / 0.5142 GB, free: 21.14 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002008/0.4141, allocations: 11.41 kB / 0.5143 GB, free: 21.14 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.567e-05/0.4142, allocations: 23.47 kB / 0.5143 GB, free: 21.14 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.653e-05/0.4143, allocations: 20.67 kB / 0.5143 GB, free: 21.14 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001994/0.4145, allocations: 160.7 kB / 0.5144 GB, free: 21.06 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4145, allocations: 0 / 0.5144 GB, free: 21.06 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0008912/0.4154, allocations: 147.8 kB / 0.5146 GB, free: 21.06 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 36 (tCPIPSend.internalTrigger,packager.backwardPropagatedBufferSize,packager.bufferSize,addInteger.pkgIn.autoPkgBitSize,tCPIPSend.pkgIn.userPkgBitSize,tCPIPSend.pkgIn.autoPkgBitSize,addInteger.pkgOut[1].trigger,tCPIPReceive.recvTrigger,tCPIPReceive.conditionalInternalTrigger,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,tCPIPReceive.pkgOut.dummy,tCPIPReceive.nReceivedBytes,tCPIPReceive.accepted,tCPIPReceive.bufferSize,tCPIPReceive.block_,getInteger.pkgIn.autoPkgBitSize,getInteger.y[1],getInteger.y[2],getInteger.y[3],getInteger.dummy,packager.pkgOut.dummy,addInteger.pkgOut[1].dummy,addInteger.pkgOut[1].backwardTrigger,tCPIPSend.dataSent,tCPIPSend.accepted,tCPIPSend.bufferSize,tCPIPSend.dummy1,tCPIPSend.dummy2,tCPIPSend.pkgSize,tCPIPSend.block_,process.y[1],process.y[2],process.y[3]) * Number of discrete states: 2 (tCPIPReceive.block_,tCPIPSend.block_) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (33): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.002794/0.4181, allocations: 1.403 MB / 0.516 GB, free: 20.36 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001131/0.4193, allocations: 485.1 kB / 0.5164 GB, free: 20.2 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.568e-06/0.4193, allocations: 3.969 kB / 0.5164 GB, free: 20.2 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002965/0.4196, allocations: 156.7 kB / 0.5166 GB, free: 20.17 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006526/0.4202, allocations: 41.48 kB / 0.5166 GB, free: 20.17 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005108/0.4253, allocations: 3.506 MB / 0.52 GB, free: 18.35 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003689/0.4257, allocations: 0.8121 MB / 0.5208 GB, free: 17.65 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001728/0.4259, allocations: 43.38 kB / 0.5209 GB, free: 17.65 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001907/0.4261, allocations: 113.6 kB / 0.521 GB, free: 17.64 MB / 382.1 MB Notification: Performance of SimCode: time 1.503e-06/0.4261, allocations: 0 / 0.521 GB, free: 17.64 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04718/0.4733, allocations: 8.715 MB / 0.5295 GB, free: 16.25 MB / 382.1 MB Error: Error building simulator. Build log: cmd: cd '649.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_TCPIPServer/649.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_TCPIPServer/649.fmutmp/sources/../binaries/linux64 -- Linking rt-NOTFOUND -- Linking /home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers master/Resources/Library/linux64/libWinmm.a -- Linking pthread-NOTFOUND -- Linking /home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers master/Resources/Library/linux64/libWs2_32.a -- Linking /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/x86_64-linux-gnu/omc/libModelicaExternalC.a -- CVODE_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: rt-NOTFOUND;/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers master/Resources/Library/linux64/libWinmm.a;pthread-NOTFOUND;/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers master/Resources/Library/linux64/libWs2_32.a;/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/x86_64-linux-gnu/omc/libModelicaExternalC.a;/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 \"649\" in directory /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_TCPIPServer/649.fmutmp/sources rt linked by target \"649\" in directory /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_TCPIPServer/649.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.446541584969964] Failed to read output from testmodel.py, exit status != 0: 0.8803885079687461 0.899589033 0.731962347 Calling exit ...