Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_LCM.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.001699/0.001699, allocations: 115.5 kB / 19.74 MB, free: 2.152 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.002225/0.002225, allocations: 218.5 kB / 23.05 MB, free: 4.996 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.575/1.575, allocations: 230.6 MB / 256.8 MB, free: 8.078 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.06386/0.06386, allocations: 12.22 MB / 325.5 MB, free: 7.297 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_LCM,fileNamePrefix="Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_LCM",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_LCM,fileNamePrefix="Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_LCM",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002028/0.002028, allocations: 63.89 kB / 453.4 MB, free: 9.043 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1339/0.1359, allocations: 56.4 MB / 0.4978 GB, free: 0.5508 MB / 366.1 MB Notification: Performance of NFInst.instantiate(Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_LCM): time 0.005559/0.1415, allocations: 3.057 MB / 0.5008 GB, free: 13.48 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001844/0.1433, allocations: 0.9029 MB / 0.5017 GB, free: 12.57 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002119/0.1435, allocations: 11.88 kB / 0.5017 GB, free: 12.56 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004378/0.1439, allocations: 95.19 kB / 0.5018 GB, free: 12.47 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002789/0.1442, allocations: 59.45 kB / 0.5019 GB, free: 12.41 MB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers master/Blocks/Packaging/SerialPackager.mo:130:7-137:16:writable] Warning: Pure function 'Modelica_DeviceDrivers.Blocks.Packaging.SerialPackager.Internal.DummyFunctions.clear' contains a call to impure function 'Modelica_DeviceDrivers.Packaging.SerialPackager_.clear'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers master/Blocks/Packaging/SerialPackager.mo:30:7-39:18:writable] Warning: Pure function 'Modelica_DeviceDrivers.Blocks.Packaging.SerialPackager.Internal.DummyFunctions.addReal' contains a call to impure function 'Modelica_DeviceDrivers.Packaging.SerialPackager_.addReal'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers master/Blocks/Communication.mo:1272:7-1282:20:writable] Warning: Pure function 'Modelica_DeviceDrivers.Blocks.Communication.Internal.DummyFunctions.sendToLCM' contains a call to impure function 'Modelica_DeviceDrivers.Communication.LCM_.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/Communication.mo:1262:7-1270:18:writable] Warning: Pure function 'Modelica_DeviceDrivers.Blocks.Communication.Internal.DummyFunctions.readLCM' contains a call to impure function 'Modelica_DeviceDrivers.Communication.LCM_.read'. [/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.001098/0.1453, allocations: 287.2 kB / 0.5021 GB, free: 12.13 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005951/0.1459, allocations: 414.8 kB / 0.5025 GB, free: 11.72 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003644/0.1463, allocations: 143.8 kB / 0.5027 GB, free: 11.57 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002489/0.1465, allocations: 203.3 kB / 0.5029 GB, free: 11.38 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003921/0.1469, allocations: 243 kB / 0.5031 GB, free: 11.14 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 7.587e-05/0.147, allocations: 44 kB / 0.5031 GB, free: 11.09 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000412/0.1474, allocations: 215.8 kB / 0.5033 GB, free: 10.88 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001922/0.1476, allocations: 155.5 kB / 0.5035 GB, free: 10.73 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002282/0.1478, allocations: 214.8 kB / 0.5037 GB, free: 10.52 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008614/0.1487, allocations: 0.6808 MB / 0.5044 GB, free: 9.836 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.471e-06/0.1487, allocations: 0 / 0.5044 GB, free: 9.836 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.1487, allocations: 3.938 kB / 0.5044 GB, free: 9.832 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.666e-06/0.1487, allocations: 3.938 kB / 0.5044 GB, free: 9.828 MB / 382.1 MB Warning: Alias equations of external objects are not Modelica compliant as in: getFloat.pkgOut[1].pkg = getFloat.pkgIn.pkg addFloat.pkgOut[1].pkg = addFloat.pkgIn.pkg getReal.pkgOut[1].pkg = getReal.pkgIn.pkg addInteger.pkgOut[1].pkg = addInteger.pkgIn.pkg addReal.pkgOut[1].pkg = addReal.pkgIn.pkg getInteger.pkgIn.pkg = getFloat.pkgOut[1].pkg getReal.pkgOut[1].pkg = getFloat.pkgIn.pkg lcmSend.pkgIn.pkg = addInteger.pkgOut[1].pkg addFloat.pkgOut[1].pkg = addInteger.pkgIn.pkg addReal.pkgOut[1].pkg = addFloat.pkgIn.pkg lcmReceive.pkgOut.pkg = getReal.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: 105 * Number of variables: 105 Notification: Performance of Generate backend data structure: time 0.001918/0.1506, allocations: 1.081 MB / 0.5054 GB, free: 8.664 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.607e-05/0.1507, allocations: 12.03 kB / 0.5054 GB, free: 8.652 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.178e-05/0.1508, allocations: 86.7 kB / 0.5055 GB, free: 8.559 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001097/0.1509, allocations: 52.61 kB / 0.5056 GB, free: 8.508 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000412/0.1513, allocations: 269.7 kB / 0.5058 GB, free: 8.219 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.812e-05/0.1513, allocations: 33.36 kB / 0.5059 GB, free: 8.184 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.042e-05/0.1514, allocations: 40.38 kB / 0.5059 GB, free: 8.145 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008021/0.1522, allocations: 488 kB / 0.5064 GB, free: 7.648 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.864e-05/0.1522, allocations: 3.938 kB / 0.5064 GB, free: 7.645 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.603e-05/0.1523, allocations: 12 kB / 0.5064 GB, free: 7.633 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.155e-05/0.1523, allocations: 8 kB / 0.5064 GB, free: 7.625 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004848/0.1527, allocations: 267.7 kB / 0.5066 GB, free: 7.363 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001821/0.1546, allocations: 1.327 MB / 0.5079 GB, free: 5.977 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000601/0.1552, allocations: 278.3 kB / 0.5082 GB, free: 5.668 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000234/0.1554, allocations: 139.4 kB / 0.5083 GB, free: 5.52 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.766e-05/0.1554, allocations: 4 kB / 0.5083 GB, free: 5.516 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004638/0.1559, allocations: 260.7 kB / 0.5086 GB, free: 5.23 MB / 382.1 MB Notification: Performance of pre-optimization done (n=40): time 2.073e-06/0.1559, allocations: 0 / 0.5086 GB, free: 5.23 MB / 382.1 MB Notification: Performance of matching and sorting (n=40): time 0.001122/0.157, allocations: 0.5754 MB / 0.5091 GB, free: 4.648 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001207/0.1571, allocations: 160.4 kB / 0.5093 GB, free: 4.461 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003025/0.1574, allocations: 268.7 kB / 0.5096 GB, free: 4.188 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.594e-05/0.1575, allocations: 41.7 kB / 0.5096 GB, free: 4.141 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001676/0.1577, allocations: 212.7 kB / 0.5098 GB, free: 3.926 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001036/0.1578, allocations: 103.3 kB / 0.5099 GB, free: 3.824 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001628/0.1579, allocations: 122.1 kB / 0.51 GB, free: 3.695 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001787/0.1581, allocations: 346.7 kB / 0.5103 GB, free: 3.348 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002427/0.1583, allocations: 120.9 kB / 0.5105 GB, free: 3.23 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003871/0.1587, allocations: 321.8 kB / 0.5108 GB, free: 2.828 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006435/0.1594, allocations: 492.5 kB / 0.5112 GB, free: 2.258 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.607e-06/0.1594, allocations: 0 / 0.5112 GB, free: 2.258 MB / 382.1 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.0008232/0.1602, allocations: 488.6 kB / 0.5117 GB, free: 1.773 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.204e-05/0.1602, allocations: 8 kB / 0.5117 GB, free: 1.766 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.236e-05/0.1602, allocations: 8.812 kB / 0.5117 GB, free: 1.758 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.5e-05/0.1603, allocations: 8 kB / 0.5117 GB, free: 1.75 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002682/0.1605, allocations: 83.83 kB / 0.5118 GB, free: 1.668 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.794e-05/0.1605, allocations: 11.94 kB / 0.5118 GB, free: 1.656 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001842/0.1607, allocations: 47.66 kB / 0.5119 GB, free: 1.609 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.159e-05/0.1608, allocations: 24 kB / 0.5119 GB, free: 1.586 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * Number of states: 0 () * Number of discrete variables: 54 (addFloat.pkgOut[1].dummy,$PRE.addFloat.pkgOut[1].dummy,addInteger.pkgOut[1].dummy,$PRE.addInteger.pkgOut[1].dummy,lcmSend.dummy,$PRE.lcmSend.dummy,addReal.pkgOut[1].dummy,$PRE.addReal.pkgOut[1].dummy,packager.pkgOut.dummy,$PRE.packager.pkgOut.dummy,addFloat.pkgOut[1].backwardTrigger,addFloat.pkgOut[1].trigger,$whenCondition2,addInteger.u[1],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,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,lcmReceive.pkgOut.dummy,$PRE.lcmReceive.pkgOut.dummy,getFloat.pkgOut[1].trigger,$whenCondition1,getInteger.pkgIn.userPkgBitSize,getInteger.pkgIn.backwardTrigger,getFloat.pkgIn.autoPkgBitSize,getInteger.pkgIn.autoPkgBitSize,getReal.pkgIn.autoPkgBitSize,lcmReceive.bufferSize,addFloat.pkgIn.autoPkgBitSize,addInteger.pkgIn.autoPkgBitSize,lcmSend.pkgIn.autoPkgBitSize,lcmSend.pkgIn.userPkgBitSize,addReal.pkgIn.autoPkgBitSize,packager.bufferSize,packager.backwardPropagatedBufferSize,lcmSend.bufferSize) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (62): * Single equations (assignments): 62 * 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.0002975/0.1611, allocations: 230.8 kB / 0.5121 GB, free: 1.352 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.023e-05/0.1611, allocations: 35.8 kB / 0.5121 GB, free: 1.316 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004342/0.1616, allocations: 234 kB / 0.5124 GB, free: 1.086 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.343e-06/0.1616, allocations: 4.047 kB / 0.5124 GB, free: 1.082 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.226e-05/0.1616, allocations: 11.97 kB / 0.5124 GB, free: 1.07 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.251e-06/0.1616, allocations: 0 / 0.5124 GB, free: 1.07 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001483/0.1631, allocations: 0.996 MB / 0.5133 GB, free: 24 kB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.605e-06/0.1631, allocations: 4 kB / 0.5134 GB, free: 20 kB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.648e-05/0.1631, allocations: 12 kB / 0.5134 GB, free: 8 kB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.562e-06/0.1631, allocations: 4 kB / 0.5134 GB, free: 4 kB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.247/0.4101, allocations: 11.38 kB / 0.5134 GB, free: 21.14 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.275e-05/0.4102, allocations: 2.094 kB / 0.5134 GB, free: 21.14 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.479e-06/0.4102, allocations: 2.719 kB / 0.5134 GB, free: 21.14 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001041/0.4112, allocations: 0.6515 MB / 0.514 GB, free: 20.91 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.463e-05/0.4113, allocations: 35.05 kB / 0.5141 GB, free: 20.91 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.851e-05/0.4113, allocations: 10.34 kB / 0.5141 GB, free: 20.91 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001941/0.4115, allocations: 10.3 kB / 0.5141 GB, free: 20.91 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.92e-05/0.4116, allocations: 23.22 kB / 0.5141 GB, free: 20.91 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.196e-05/0.4116, allocations: 16.56 kB / 0.5141 GB, free: 20.91 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001381/0.4117, allocations: 149.1 kB / 0.5143 GB, free: 20.83 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4117, allocations: 1.75 kB / 0.5143 GB, free: 20.83 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0007035/0.4124, allocations: 156.5 kB / 0.5144 GB, free: 20.83 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: 35 (getFloat.pkgOut[1].trigger,$whenCondition1,lcmReceive.pkgOut.dummy,getReal.pkgOut[1].dummy,getReal.y[1],getReal.y[2],getReal.y[3],getReal.dummy,getInteger.y[1],getInteger.dummy,getFloat.pkgOut[1].dummy,getFloat.y[1],getFloat.y[2],getFloat.dummy,lcmReceive.bufferSize,getReal.pkgIn.autoPkgBitSize,getInteger.pkgIn.autoPkgBitSize,getFloat.pkgIn.autoPkgBitSize,addFloat.pkgOut[1].trigger,$whenCondition2,packager.pkgOut.dummy,addReal.pkgOut[1].dummy,lcmSend.bufferSize,lcmSend.dummy,addInteger.pkgOut[1].dummy,addInteger.u[1],addFloat.pkgOut[1].dummy,addFloat.pkgOut[1].backwardTrigger,packager.backwardPropagatedBufferSize,packager.bufferSize,addReal.pkgIn.autoPkgBitSize,lcmSend.pkgIn.userPkgBitSize,lcmSend.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 (34): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 23 * 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.001865/0.4143, allocations: 1.465 MB / 0.5158 GB, free: 20.06 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0006878/0.415, allocations: 350 kB / 0.5162 GB, free: 20.06 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.415, allocations: 1.125 kB / 0.5162 GB, free: 20.06 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002288/0.4152, allocations: 144.2 kB / 0.5163 GB, free: 20.06 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006242/0.4158, allocations: 92.66 kB / 0.5164 GB, free: 20.05 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003949/0.4198, allocations: 3.497 MB / 0.5198 GB, free: 18.08 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002626/0.4201, allocations: 0.8178 MB / 0.5206 GB, free: 17.39 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001659/0.4202, allocations: 55.23 kB / 0.5207 GB, free: 17.38 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001581/0.4204, allocations: 122.2 kB / 0.5208 GB, free: 17.37 MB / 382.1 MB Notification: Performance of SimCode: time 1.112e-06/0.4204, allocations: 1.312 kB / 0.5208 GB, free: 17.37 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04451/0.4649, allocations: 9.038 MB / 0.5296 GB, free: 16.06 MB / 382.1 MB Error: Error building simulator. Build log: cmd: cd '656.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_LCM/656.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_LCM/656.fmutmp/sources/../binaries/linux64 -- Linking cm-NOTFOUND -- Linking /home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers master/Resources/Library/linux64/libglib-2.0.a -- Linking pthread-NOTFOUND -- CVODE: Not linked -- Not using FMI2_FUNCTION_PREFIX -- Installing dynamic dependencies from list: cm-NOTFOUND;/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers master/Resources/Library/linux64/libglib-2.0.a;pthread-NOTFOUND -- 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: cm linked by target \"656\" in directory /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_LCM/656.fmutmp/sources pthread linked by target \"656\" in directory /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_LCM/656.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.5006722300022375] Failed to read output from testmodel.py, exit status != 0: 0.8790239359950647 0.89320344 0.7416764410000001 Calling exit ...