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.00134/0.00134, 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.001717/0.001717, 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.511/1.511, allocations: 230.6 MB / 257.6 MB, free: 7.996 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.06297/0.06297, allocations: 12.22 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_LCM,fileNamePrefix="Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_LCM",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_LCM,fileNamePrefix="Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_LCM",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001984/0.001984, allocations: 59.91 kB / 454.2 MB, free: 8.984 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1361/0.1381, allocations: 56.4 MB / 0.4986 GB, free: 0.4961 MB / 366.1 MB Notification: Performance of NFInst.instantiate(Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_LCM): time 0.005272/0.1434, allocations: 3.061 MB / 0.5016 GB, free: 13.42 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001887/0.1453, allocations: 0.9068 MB / 0.5025 GB, free: 12.51 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000165/0.1454, allocations: 11.88 kB / 0.5025 GB, free: 12.5 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003349/0.1458, allocations: 87.19 kB / 0.5026 GB, free: 12.41 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002267/0.146, allocations: 59.45 kB / 0.5026 GB, free: 12.36 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.0008212/0.1468, allocations: 287.2 kB / 0.5029 GB, free: 12.07 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005656/0.1474, allocations: 418.9 kB / 0.5033 GB, free: 11.66 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003169/0.1477, allocations: 135.8 kB / 0.5034 GB, free: 11.52 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002654/0.148, allocations: 211.3 kB / 0.5036 GB, free: 11.32 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003578/0.1483, allocations: 246.9 kB / 0.5039 GB, free: 11.07 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 7.049e-05/0.1484, allocations: 44 kB / 0.5039 GB, free: 11.03 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000416/0.1488, allocations: 203.8 kB / 0.5041 GB, free: 10.83 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001793/0.149, allocations: 155.5 kB / 0.5042 GB, free: 10.68 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002314/0.1492, allocations: 222.7 kB / 0.5045 GB, free: 10.46 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008689/0.1501, allocations: 0.673 MB / 0.5051 GB, free: 9.785 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.1501, allocations: 8 kB / 0.5051 GB, free: 9.777 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.1501, allocations: 0 / 0.5051 GB, free: 9.777 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.177e-06/0.1501, allocations: 3.938 kB / 0.5051 GB, free: 9.773 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.002015/0.1521, allocations: 1.081 MB / 0.5062 GB, free: 8.609 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.762e-05/0.1522, allocations: 8.031 kB / 0.5062 GB, free: 8.602 MB / 382.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.699e-05/0.1522, allocations: 13.19 kB / 0.5062 GB, free: 8.586 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001045/0.1523, allocations: 86.69 kB / 0.5063 GB, free: 8.492 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001177/0.1524, allocations: 48.61 kB / 0.5063 GB, free: 8.445 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000413/0.1528, allocations: 277.7 kB / 0.5066 GB, free: 8.148 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.191e-05/0.1529, allocations: 29.38 kB / 0.5066 GB, free: 8.121 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.505e-05/0.1529, allocations: 44.36 kB / 0.5067 GB, free: 8.078 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008385/0.1538, allocations: 483.7 kB / 0.5071 GB, free: 7.582 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.459e-05/0.1538, allocations: 4 kB / 0.5071 GB, free: 7.578 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.443e-05/0.1538, allocations: 19.98 kB / 0.5071 GB, free: 7.559 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.142e-05/0.1539, allocations: 12 kB / 0.5072 GB, free: 7.547 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005021/0.1544, allocations: 263.7 kB / 0.5074 GB, free: 7.289 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002214/0.1566, allocations: 1.327 MB / 0.5087 GB, free: 5.902 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006539/0.1572, allocations: 270.3 kB / 0.509 GB, free: 5.602 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002516/0.1575, allocations: 143.4 kB / 0.5091 GB, free: 5.449 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.355e-05/0.1575, allocations: 16.05 kB / 0.5091 GB, free: 5.434 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000497/0.158, allocations: 252.7 kB / 0.5094 GB, free: 5.156 MB / 382.1 MB Notification: Performance of pre-optimization done (n=40): time 2.465e-06/0.158, allocations: 4 kB / 0.5094 GB, free: 5.152 MB / 382.1 MB Notification: Performance of matching and sorting (n=40): time 0.00128/0.1593, allocations: 0.5884 MB / 0.5099 GB, free: 4.562 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001268/0.1594, allocations: 148.5 kB / 0.5101 GB, free: 4.387 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003258/0.1597, allocations: 268.7 kB / 0.5103 GB, free: 4.117 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.767e-05/0.1598, allocations: 41.69 kB / 0.5104 GB, free: 4.07 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001864/0.16, allocations: 220.7 kB / 0.5106 GB, free: 3.848 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001002/0.1601, allocations: 91.33 kB / 0.5107 GB, free: 3.758 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001813/0.1603, allocations: 130.1 kB / 0.5108 GB, free: 3.621 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001711/0.1604, allocations: 346.7 kB / 0.5111 GB, free: 3.273 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002947/0.1607, allocations: 116.9 kB / 0.5112 GB, free: 3.16 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000558/0.1613, allocations: 321.8 kB / 0.5115 GB, free: 2.758 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006695/0.162, allocations: 484.4 kB / 0.512 GB, free: 2.195 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.073e-06/0.162, allocations: 4 kB / 0.512 GB, free: 2.191 MB / 382.1 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.0009133/0.1629, allocations: 489 kB / 0.5125 GB, free: 1.707 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.446e-05/0.1629, allocations: 8 kB / 0.5125 GB, free: 1.699 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.392e-05/0.1629, allocations: 8.047 kB / 0.5125 GB, free: 1.691 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.464e-05/0.1629, allocations: 12.08 kB / 0.5125 GB, free: 1.68 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002737/0.1632, allocations: 83.77 kB / 0.5126 GB, free: 1.598 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.751e-05/0.1632, allocations: 8.984 kB / 0.5126 GB, free: 1.59 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001985/0.1634, allocations: 47.67 kB / 0.5126 GB, free: 1.543 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.608e-05/0.1635, allocations: 35.86 kB / 0.5127 GB, free: 1.508 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.0003071/0.1638, allocations: 222.9 kB / 0.5129 GB, free: 1.281 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.631e-05/0.1639, allocations: 31.81 kB / 0.5129 GB, free: 1.25 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004461/0.1643, allocations: 239.4 kB / 0.5131 GB, free: 1.012 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.675e-06/0.1643, allocations: 4 kB / 0.5131 GB, free: 1.008 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.212e-06/0.1643, allocations: 0 / 0.5131 GB, free: 1.008 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.331e-06/0.1643, allocations: 4 kB / 0.5132 GB, free: 1.004 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2604/0.4248, allocations: 0.9915 MB / 0.5141 GB, free: 20.99 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.253e-05/0.4248, allocations: 1.219 kB / 0.5141 GB, free: 20.99 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001341/0.4249, allocations: 15.81 kB / 0.5141 GB, free: 20.99 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.326e-05/0.4249, allocations: 4.125 kB / 0.5141 GB, free: 20.99 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.747e-05/0.425, allocations: 13.38 kB / 0.5142 GB, free: 20.99 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.064e-05/0.425, allocations: 3.656 kB / 0.5142 GB, free: 20.99 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.41e-06/0.425, allocations: 1.75 kB / 0.5142 GB, free: 20.99 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009628/0.426, allocations: 0.6598 MB / 0.5148 GB, free: 20.75 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.038e-05/0.4261, allocations: 32.03 kB / 0.5148 GB, free: 20.75 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.643e-05/0.4261, allocations: 9.094 kB / 0.5148 GB, free: 20.75 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001811/0.4263, allocations: 10.72 kB / 0.5149 GB, free: 20.75 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.156e-05/0.4264, allocations: 21.36 kB / 0.5149 GB, free: 20.75 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.128e-05/0.4264, allocations: 18.39 kB / 0.5149 GB, free: 20.75 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001234/0.4265, allocations: 155.7 kB / 0.515 GB, free: 20.68 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4265, allocations: 0 / 0.515 GB, free: 20.68 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0006522/0.4272, allocations: 159.8 kB / 0.5152 GB, free: 20.68 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.001918/0.4291, allocations: 1.445 MB / 0.5166 GB, free: 19.91 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0007289/0.4298, allocations: 350.6 kB / 0.5169 GB, free: 19.91 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/0.4298, allocations: 5.438 kB / 0.5169 GB, free: 19.91 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002343/0.4301, allocations: 148 kB / 0.5171 GB, free: 19.91 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006691/0.4307, allocations: 84.73 kB / 0.5172 GB, free: 19.9 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003963/0.4347, allocations: 3.506 MB / 0.5206 GB, free: 17.93 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002863/0.435, allocations: 0.8153 MB / 0.5214 GB, free: 17.23 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001633/0.4351, allocations: 55.31 kB / 0.5214 GB, free: 17.22 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001566/0.4353, allocations: 121 kB / 0.5216 GB, free: 17.21 MB / 382.1 MB Notification: Performance of SimCode: time 1.012e-06/0.4353, allocations: 2 kB / 0.5216 GB, free: 17.21 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03925/0.4745, allocations: 9.08 MB / 0.5304 GB, free: 15.89 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_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: cm-NOTFOUND;/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers master/Resources/Library/linux64/libglib-2.0.a;pthread-NOTFOUND;/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: 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.464892385993153] Failed to read output from testmodel.py, exit status != 0: 0.9225343060097657 0.949086242 0.794253925 Calling exit ...