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.0007162/0.0007162, allocations: 76.45 kB / 19.97 MB, free: 4.582 MB / 18.57 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.0007564/0.0007564, allocations: 173.9 kB / 23.25 MB, free: 1.297 MB / 18.57 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 0.9499/0.9499, allocations: 177.1 MB / 203.6 MB, free: 5.73 MB / 186.7 MB " [Timeout remaining time 179] 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.03558/0.03558, allocations: 9.144 MB / 269.1 MB, free: 4.465 MB / 250.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers master/EmbeddedTargets/STM32F4/Functions/HAL.mo:5:3-11:14:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers master/Incubate/OperatingSystem/DynamicArray.mo:6:3-94:18:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers master/Incubate/Utilities/Functions.mo:1041:3-1062:27:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers master/Incubate/Utilities/Functions.mo:1064:3-1092:25:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_TCPIPServer,fileNamePrefix="Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_TCPIPServer",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.513e-06/1.513e-06, allocations: 0 / 397.1 MB, free: 1.25 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.193e-05/2.344e-05, allocations: 2.281 kB / 397.1 MB, free: 1.246 MB / 362.7 MB Notification: Performance of NFInst.instantiate(Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_TCPIPServer): time 0.004064/0.004088, allocations: 3.241 MB / 400.3 MB, free: 13.99 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001802/0.00589, allocations: 0.8949 MB / 401.2 MB, free: 13.09 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003043/0.006194, allocations: 19.81 kB / 401.2 MB, free: 13.07 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004694/0.006664, allocations: 103.1 kB / 401.3 MB, free: 12.97 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001619/0.006826, allocations: 47.47 kB / 401.4 MB, free: 12.92 MB / 378.7 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.001002/0.007827, allocations: 318.8 kB / 401.7 MB, free: 12.61 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005469/0.008374, allocations: 399.2 kB / 402.1 MB, free: 12.22 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002965/0.008671, allocations: 134.7 kB / 402.2 MB, free: 12.08 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003314/0.009002, allocations: 247.5 kB / 402.4 MB, free: 11.84 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002742/0.009276, allocations: 151.5 kB / 402.6 MB, free: 11.69 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 6.312e-05/0.009339, allocations: 40 kB / 402.6 MB, free: 11.65 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003407/0.00968, allocations: 163.8 kB / 402.8 MB, free: 11.49 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000148/0.009828, allocations: 135.5 kB / 402.9 MB, free: 11.36 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001335/0.009962, allocations: 127.6 kB / 403 MB, free: 11.23 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008216/0.01078, allocations: 0.6112 MB / 403.7 MB, free: 10.62 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/0.01079, allocations: 0 / 403.7 MB, free: 10.62 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.883e-06/0.01079, allocations: 0 / 403.7 MB, free: 10.62 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.51e-05/0.0108, allocations: 0 / 403.7 MB, free: 10.62 MB / 378.7 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.001687/0.01249, allocations: 0.8393 MB / 404.5 MB, free: 9.719 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.979e-05/0.01255, allocations: 12.03 kB / 404.5 MB, free: 9.707 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.546e-05/0.01264, allocations: 74.7 kB / 404.6 MB, free: 9.625 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001496/0.01279, allocations: 52.66 kB / 404.6 MB, free: 9.574 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003834/0.01317, allocations: 272.5 kB / 404.9 MB, free: 9.285 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.913e-05/0.01321, allocations: 37.36 kB / 404.9 MB, free: 9.25 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.211e-05/0.01325, allocations: 32.38 kB / 405 MB, free: 9.219 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006285/0.01388, allocations: 428.9 kB / 405.4 MB, free: 8.773 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.703e-05/0.0139, allocations: 8.125 kB / 405.4 MB, free: 8.766 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.084e-05/0.01393, allocations: 16.38 kB / 405.4 MB, free: 8.75 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.463e-05/0.01394, allocations: 12.12 kB / 405.4 MB, free: 8.738 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003524/0.01429, allocations: 233.3 kB / 405.6 MB, free: 8.508 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00201/0.0163, allocations: 1.167 MB / 406.8 MB, free: 7.273 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005292/0.01683, allocations: 271.7 kB / 407.1 MB, free: 6.973 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001607/0.01699, allocations: 135.3 kB / 407.2 MB, free: 6.828 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.906e-05/0.01704, allocations: 4 kB / 407.2 MB, free: 6.824 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003252/0.01737, allocations: 251.5 kB / 407.5 MB, free: 6.551 MB / 378.7 MB Notification: Performance of pre-optimization done (n=42): time 2.525e-06/0.01737, allocations: 0 / 407.5 MB, free: 6.551 MB / 378.7 MB Notification: Performance of matching and sorting (n=42): time 0.0008914/0.01826, allocations: 0.5367 MB / 408 MB, free: 6.008 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000101/0.01836, allocations: 156.6 kB / 408.1 MB, free: 5.824 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002529/0.01862, allocations: 257.8 kB / 408.4 MB, free: 5.562 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.871e-05/0.01867, allocations: 41.7 kB / 408.4 MB, free: 5.516 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001291/0.01879, allocations: 216.6 kB / 408.7 MB, free: 5.301 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.418e-05/0.01887, allocations: 103.2 kB / 408.8 MB, free: 5.199 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001283/0.019, allocations: 114.2 kB / 408.9 MB, free: 5.082 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001255/0.01912, allocations: 346.8 kB / 409.2 MB, free: 4.734 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002047/0.01933, allocations: 168.5 kB / 409.4 MB, free: 4.559 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008551/0.02018, allocations: 336.1 kB / 409.7 MB, free: 4.152 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007755/0.02096, allocations: 0.6751 MB / 410.4 MB, free: 3.375 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.594e-06/0.02097, allocations: 0 / 410.4 MB, free: 3.375 MB / 378.7 MB Notification: Performance of matching and sorting (n=68) (initialization): time 0.0007527/0.02172, allocations: 0.6245 MB / 411 MB, free: 2.719 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.445e-05/0.02178, allocations: 75.33 kB / 411.1 MB, free: 2.633 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.392e-05/0.02181, allocations: 4 kB / 411.1 MB, free: 2.629 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.666e-05/0.02183, allocations: 8 kB / 411.1 MB, free: 2.621 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001335/0.02197, allocations: 67.78 kB / 411.1 MB, free: 2.555 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.702e-05/0.02198, allocations: 8.531 kB / 411.2 MB, free: 2.547 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001484/0.02213, allocations: 35.73 kB / 411.2 MB, free: 2.512 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.446e-05/0.02217, allocations: 35.98 kB / 411.2 MB, free: 2.477 MB / 378.7 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.00033/0.0225, allocations: 219.9 kB / 411.4 MB, free: 2.254 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.873e-05/0.02256, allocations: 39.73 kB / 411.5 MB, free: 2.215 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.809e-05/0.02263, allocations: 30.98 kB / 411.5 MB, free: 2.18 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.232e-05/0.02265, allocations: 11.98 kB / 411.5 MB, free: 2.168 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.488e-05/0.02266, allocations: 0 / 411.5 MB, free: 2.168 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.205e-06/0.02267, allocations: 0 / 411.5 MB, free: 2.168 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001009/0.02368, allocations: 0.8134 MB / 412.3 MB, free: 1.305 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.047e-05/0.02369, allocations: 0 / 412.3 MB, free: 1.305 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.621e-05/0.02372, allocations: 7.984 kB / 412.3 MB, free: 1.297 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.532e-06/0.02373, allocations: 4 kB / 412.3 MB, free: 1.293 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.857e-05/0.02376, allocations: 8 kB / 412.4 MB, free: 1.285 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.18e-05/0.02377, allocations: 16.03 kB / 412.4 MB, free: 1.27 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.414e-06/0.02377, allocations: 0 / 412.4 MB, free: 1.27 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005622/0.02434, allocations: 0.5465 MB / 412.9 MB, free: 0.6992 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.873e-05/0.02437, allocations: 31.75 kB / 412.9 MB, free: 0.668 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.275e-05/0.02441, allocations: 11.98 kB / 413 MB, free: 0.6562 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001213/0.02453, allocations: 11.98 kB / 413 MB, free: 0.6445 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.551e-05/0.02461, allocations: 19.97 kB / 413 MB, free: 0.625 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.891e-05/0.02466, allocations: 19.92 kB / 413 MB, free: 0.6055 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001343/0.0248, allocations: 161.2 kB / 413.2 MB, free: 456 kB / 378.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.0248, allocations: 0 / 413.2 MB, free: 456 kB / 378.7 MB Notification: Performance of remove unused functions: time 0.000464/0.02526, allocations: 143.5 kB / 413.3 MB, free: 312 kB / 378.7 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.001655/0.02692, allocations: 1.456 MB / 414.8 MB, free: 14.93 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0006728/0.02759, allocations: 0.5193 MB / 415.3 MB, free: 14.37 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 6.412e-06/0.0276, allocations: 4 kB / 415.3 MB, free: 14.37 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001886/0.02778, allocations: 157.5 kB / 415.4 MB, free: 14.21 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003653/0.02815, allocations: 52.33 kB / 415.5 MB, free: 14.16 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003747/0.0319, allocations: 3.717 MB / 419.2 MB, free: 10.14 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001834/0.03208, allocations: 207 kB / 419.4 MB, free: 9.926 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.00011/0.03219, allocations: 43.09 kB / 419.5 MB, free: 9.883 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001325/0.03232, allocations: 112.5 kB / 419.6 MB, free: 9.77 MB / 394.7 MB Notification: Performance of SimCode: time 2.425e-06/0.03232, allocations: 0 / 419.6 MB, free: 9.77 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03049/0.06282, allocations: 9.32 MB / 428.9 MB, free: 0.5391 MB / 394.7 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 18.1.3 -- 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_TCPIPServer/649.fmutmp/sources/fmi -- 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/jenkins/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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/x86_64-linux-gnu/omc/libModelicaExternalC.a -- CVODE: Not linked -- 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/x86_64-linux-gnu/omc/libModelicaExternalC.a -- Configuring done (0.2s) 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_TCPIPServer/649.fmutmp/sources rt linked by target \"649\" in directory /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_TCPIPServer/649.fmutmp/sources -- Generating done (0.0s) CMake Generate step failed. Build files cannot be regenerated correctly. " [Timeout remaining time 660] [Calling sys.exit(0), Time elapsed: 2.073127817362547] Failed to read output from testmodel.py, exit status != 0: 0.3274384820833802 0.33747529400000004 0.323820934 Calling exit ...