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.000715/0.000715, allocations: 76.55 kB / 19.96 MB, free: 4.598 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.0007718/0.0007718, allocations: 177.9 kB / 23.25 MB, free: 1.312 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.929/0.929, allocations: 177.1 MB / 203.6 MB, free: 5.734 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.03445/0.03445, allocations: 9.15 MB / 269.1 MB, free: 4.473 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.392e-06/1.392e-06, allocations: 0 / 397.1 MB, free: 1.266 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.894e-05/2.033e-05, allocations: 2.281 kB / 397.1 MB, free: 1.262 MB / 362.7 MB Notification: Performance of NFInst.instantiate(Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_TCPIPServer): time 0.003962/0.003982, allocations: 3.237 MB / 400.3 MB, free: 14.01 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001388/0.00537, allocations: 0.8949 MB / 401.2 MB, free: 13.11 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001777/0.005548, allocations: 15.81 kB / 401.2 MB, free: 13.09 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002755/0.005823, allocations: 103 kB / 401.3 MB, free: 12.99 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001217/0.005945, allocations: 47.53 kB / 401.4 MB, free: 12.95 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.0008207/0.006766, allocations: 314.8 kB / 401.7 MB, free: 12.64 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003609/0.007127, allocations: 411.2 kB / 402.1 MB, free: 12.23 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000245/0.007372, allocations: 130.7 kB / 402.2 MB, free: 12.1 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002346/0.007606, allocations: 243.5 kB / 402.4 MB, free: 11.86 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002062/0.007813, allocations: 155.5 kB / 402.6 MB, free: 11.71 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 4.373e-05/0.007856, allocations: 40 kB / 402.6 MB, free: 11.67 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002025/0.008059, allocations: 163.7 kB / 402.8 MB, free: 11.51 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004355/0.008494, allocations: 131.6 kB / 402.9 MB, free: 11.38 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001006/0.008595, allocations: 127.7 kB / 403 MB, free: 11.25 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005835/0.009178, allocations: 0.619 MB / 403.7 MB, free: 10.63 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.563e-06/0.00918, allocations: 0 / 403.7 MB, free: 10.63 MB / 378.7 MB Notification: Performance of FrontEnd: time 7.52e-07/0.009181, allocations: 0 / 403.7 MB, free: 10.63 MB / 378.7 MB Notification: Performance of Transformations before backend: time 6.242e-06/0.009187, allocations: 0 / 403.7 MB, free: 10.63 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.001243/0.01043, allocations: 0.8354 MB / 404.5 MB, free: 9.738 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.503e-05/0.01047, allocations: 12.03 kB / 404.5 MB, free: 9.727 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.499e-05/0.01054, allocations: 74.7 kB / 404.6 MB, free: 9.645 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.151e-05/0.01062, allocations: 56.58 kB / 404.6 MB, free: 9.59 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002802/0.0109, allocations: 268.5 kB / 404.9 MB, free: 9.305 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.934e-05/0.01093, allocations: 37.38 kB / 404.9 MB, free: 9.27 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.616e-05/0.01097, allocations: 36.36 kB / 405 MB, free: 9.234 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004788/0.01145, allocations: 428.8 kB / 405.4 MB, free: 8.789 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.147e-05/0.01146, allocations: 192 / 405.4 MB, free: 8.789 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.716e-05/0.01148, allocations: 24.36 kB / 405.4 MB, free: 8.766 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.007e-05/0.01149, allocations: 12.12 kB / 405.4 MB, free: 8.754 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002946/0.01179, allocations: 229.3 kB / 405.6 MB, free: 8.527 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001163/0.01295, allocations: 1.159 MB / 406.8 MB, free: 7.301 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003806/0.01333, allocations: 274.7 kB / 407.1 MB, free: 6.996 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001522/0.01349, allocations: 143.2 kB / 407.2 MB, free: 6.844 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.314e-05/0.01352, allocations: 4 kB / 407.2 MB, free: 6.84 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000256/0.01377, allocations: 255.5 kB / 407.5 MB, free: 6.562 MB / 378.7 MB Notification: Performance of pre-optimization done (n=42): time 1.132e-06/0.01378, allocations: 0 / 407.5 MB, free: 6.562 MB / 378.7 MB Notification: Performance of matching and sorting (n=42): time 0.0006741/0.01445, allocations: 0.5285 MB / 408 MB, free: 6.027 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.26e-05/0.01453, allocations: 156.4 kB / 408.1 MB, free: 5.844 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001986/0.01473, allocations: 257.8 kB / 408.4 MB, free: 5.582 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.219e-05/0.01476, allocations: 45.81 kB / 408.4 MB, free: 5.531 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001122/0.01488, allocations: 216.7 kB / 408.7 MB, free: 5.316 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.459e-05/0.01494, allocations: 99.27 kB / 408.7 MB, free: 5.219 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001026/0.01504, allocations: 114.2 kB / 408.9 MB, free: 5.102 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001088/0.01515, allocations: 342.8 kB / 409.2 MB, free: 4.758 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001858/0.01534, allocations: 172.5 kB / 409.4 MB, free: 4.578 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002565/0.01559, allocations: 340.1 kB / 409.7 MB, free: 4.168 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006693/0.01626, allocations: 0.6752 MB / 410.4 MB, free: 3.391 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.651e-06/0.01627, allocations: 0 / 410.4 MB, free: 3.391 MB / 378.7 MB Notification: Performance of matching and sorting (n=68) (initialization): time 0.0006026/0.01687, allocations: 0.6209 MB / 411 MB, free: 2.738 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.465e-05/0.01692, allocations: 71.33 kB / 411.1 MB, free: 2.656 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.337e-05/0.01693, allocations: 8 kB / 411.1 MB, free: 2.648 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.653e-05/0.01695, allocations: 11.94 kB / 411.1 MB, free: 2.637 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001097/0.01706, allocations: 63.84 kB / 411.1 MB, free: 2.574 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.889e-06/0.01707, allocations: 11.94 kB / 411.2 MB, free: 2.562 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001046/0.01717, allocations: 39.72 kB / 411.2 MB, free: 2.523 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001046/0.01727, allocations: 28 kB / 411.2 MB, free: 2.496 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.0002119/0.01749, allocations: 228.1 kB / 411.4 MB, free: 2.266 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.532e-05/0.01752, allocations: 35.75 kB / 411.5 MB, free: 2.23 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.624e-05/0.01757, allocations: 26.95 kB / 411.5 MB, free: 2.199 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.027e-06/0.01757, allocations: 4 kB / 411.5 MB, free: 2.195 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.275e-06/0.01758, allocations: 4.5 kB / 411.5 MB, free: 2.191 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.698e-06/0.01759, allocations: 4 kB / 411.5 MB, free: 2.188 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007804/0.01837, allocations: 0.8134 MB / 412.3 MB, free: 1.324 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.47e-06/0.01837, allocations: 4 kB / 412.3 MB, free: 1.32 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.034e-05/0.01839, allocations: 4 kB / 412.3 MB, free: 1.316 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.857e-06/0.0184, allocations: 4 kB / 412.3 MB, free: 1.312 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.818e-05/0.01841, allocations: 11.98 kB / 412.4 MB, free: 1.301 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.246e-06/0.01842, allocations: 4.078 kB / 412.4 MB, free: 1.297 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/0.01842, allocations: 7.922 kB / 412.4 MB, free: 1.289 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004726/0.01889, allocations: 0.5426 MB / 412.9 MB, free: 0.7227 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.565e-05/0.01892, allocations: 31.75 kB / 412.9 MB, free: 0.6914 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.566e-05/0.01894, allocations: 12 kB / 413 MB, free: 0.6797 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.429e-05/0.01901, allocations: 11.98 kB / 413 MB, free: 0.668 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002217/0.01923, allocations: 19.97 kB / 413 MB, free: 0.6484 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.183e-05/0.01926, allocations: 19.92 kB / 413 MB, free: 0.6289 MB / 378.7 MB Notification: Performance of sorting global known variables: time 9.904e-05/0.01936, allocations: 161.2 kB / 413.2 MB, free: 480 kB / 378.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.01936, allocations: 0 / 413.2 MB, free: 480 kB / 378.7 MB Notification: Performance of remove unused functions: time 0.000351/0.01971, allocations: 147.5 kB / 413.3 MB, free: 332 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.001338/0.02105, allocations: 1.456 MB / 414.8 MB, free: 14.95 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0005101/0.02156, allocations: 0.5238 MB / 415.3 MB, free: 14.39 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/0.02156, allocations: 8.062 kB / 415.3 MB, free: 14.38 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000156/0.02172, allocations: 153.6 kB / 415.4 MB, free: 14.22 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002687/0.02199, allocations: 44.66 kB / 415.5 MB, free: 14.18 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003624/0.02561, allocations: 3.727 MB / 419.2 MB, free: 10.16 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001542/0.02577, allocations: 211 kB / 419.4 MB, free: 9.938 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 7.919e-05/0.02584, allocations: 39.3 kB / 419.5 MB, free: 9.898 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001056/0.02595, allocations: 112.5 kB / 419.6 MB, free: 9.785 MB / 394.7 MB Notification: Performance of SimCode: time 8.02e-07/0.02595, allocations: 0 / 419.6 MB, free: 9.785 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.025/0.05095, allocations: 9.309 MB / 428.9 MB, free: 0.5625 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: 1.9570526899769902] Failed to read output from testmodel.py, exit status != 0: 0.2862562807276845 0.29426183399999994 0.28345187099999997 Calling exit ...