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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/package.mo", uses=false) Using package Modelica_DeviceDrivers with version 2.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001345/0.001344, allocations: 108.2 kB / 16.45 MB, free: 6.445 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001342/0.001342, allocations: 188.3 kB / 17.38 MB, free: 5.668 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.547/1.547, allocations: 222.9 MB / 241.1 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/package.mo): time 0.0633/0.0633, allocations: 12.05 MB / 303.3 MB, free: 3.078 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001916/0.001916, allocations: 71.89 kB / 419.6 MB, free: 17.69 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1286/0.1306, allocations: 52.32 MB / 471.9 MB, free: 13.33 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_LCM): time 0.006045/0.1367, allocations: 2.923 MB / 474.8 MB, free: 10.39 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002906/0.1396, allocations: 0.8912 MB / 475.7 MB, free: 9.5 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000317/0.14, allocations: 7.938 kB / 475.7 MB, free: 9.492 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005954/0.1407, allocations: 83.2 kB / 475.8 MB, free: 9.41 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003491/0.1411, allocations: 63.45 kB / 475.9 MB, free: 9.348 MB / 350.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-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 2.1.1-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 2.1.1-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 2.1.1-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 2.1.1-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 2.1.1-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 2.1.1-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 2.1.1-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 2.1.1-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.001414/0.1425, allocations: 287.2 kB / 476.1 MB, free: 9.066 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000883/0.1434, allocations: 406.9 kB / 476.5 MB, free: 8.668 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006697/0.1441, allocations: 243.3 kB / 476.8 MB, free: 8.426 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004003/0.1445, allocations: 203.2 kB / 477 MB, free: 8.227 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004768/0.145, allocations: 235 kB / 477.2 MB, free: 7.996 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001055/0.1451, allocations: 44 kB / 477.2 MB, free: 7.953 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005803/0.1457, allocations: 199.8 kB / 477.4 MB, free: 7.758 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000296/0.146, allocations: 151.5 kB / 477.6 MB, free: 7.609 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003409/0.1463, allocations: 226.7 kB / 477.8 MB, free: 7.387 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00129/0.1477, allocations: 0.6808 MB / 478.5 MB, free: 6.703 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.462e-06/0.1477, allocations: 3.938 kB / 478.5 MB, free: 6.699 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.894e-06/0.1477, allocations: 0 / 478.5 MB, free: 6.699 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.056e-05/0.1477, allocations: 0 / 478.5 MB, free: 6.699 MB / 350.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.002671/0.1504, allocations: 1.16 MB / 479.7 MB, free: 5.438 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.05e-05/0.1505, allocations: 12.03 kB / 479.7 MB, free: 5.426 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001945/0.1507, allocations: 82.7 kB / 479.8 MB, free: 5.336 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001952/0.1509, allocations: 56.59 kB / 479.8 MB, free: 5.281 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006346/0.1515, allocations: 331.6 kB / 480.1 MB, free: 4.918 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.522e-05/0.1516, allocations: 29.38 kB / 480.2 MB, free: 4.891 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.923e-05/0.1517, allocations: 48.34 kB / 480.2 MB, free: 4.844 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001284/0.153, allocations: 476.1 kB / 480.7 MB, free: 4.359 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.899e-05/0.1531, allocations: 7.875 kB / 480.7 MB, free: 4.352 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.756e-05/0.1531, allocations: 19.98 kB / 480.7 MB, free: 4.332 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.657e-05/0.1532, allocations: 15.94 kB / 480.7 MB, free: 4.316 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008092/0.154, allocations: 267.6 kB / 481 MB, free: 4.055 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002651/0.1566, allocations: 1.359 MB / 482.3 MB, free: 2.625 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008797/0.1576, allocations: 298.3 kB / 482.6 MB, free: 2.297 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003735/0.1579, allocations: 159.4 kB / 482.8 MB, free: 2.129 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.931e-05/0.158, allocations: 7.984 kB / 482.8 MB, free: 2.121 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006462/0.1587, allocations: 256.7 kB / 483 MB, free: 1.84 MB / 350.1 MB Notification: Performance of pre-optimization done (n=40): time 3.416e-06/0.1587, allocations: 0 / 483 MB, free: 1.84 MB / 350.1 MB Notification: Performance of matching and sorting (n=40): time 0.001841/0.1605, allocations: 0.5828 MB / 483.6 MB, free: 1.254 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001844/0.1607, allocations: 152.5 kB / 483.8 MB, free: 1.074 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005191/0.1613, allocations: 260.9 kB / 484 MB, free: 0.8125 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 6.035e-05/0.1613, allocations: 45.69 kB / 484.1 MB, free: 0.7617 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002334/0.1616, allocations: 216.7 kB / 484.3 MB, free: 0.5469 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001609/0.1618, allocations: 107.2 kB / 484.4 MB, free: 452 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002434/0.162, allocations: 122.2 kB / 484.5 MB, free: 324 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002628/0.1623, allocations: 346.7 kB / 484.8 MB, free: 15.97 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003638/0.1627, allocations: 121 kB / 485 MB, free: 15.85 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006191/0.1633, allocations: 314.3 kB / 485.3 MB, free: 15.45 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00113/0.1645, allocations: 488.4 kB / 485.7 MB, free: 14.89 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.08e-05/0.1645, allocations: 4 kB / 485.8 MB, free: 14.88 MB / 366.1 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.001513/0.166, allocations: 484.8 kB / 486.2 MB, free: 14.4 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.511e-05/0.1661, allocations: 11.94 kB / 486.2 MB, free: 14.39 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.253e-05/0.1661, allocations: 8 kB / 486.2 MB, free: 14.38 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.579e-05/0.1661, allocations: 8 kB / 486.3 MB, free: 14.38 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004965/0.1667, allocations: 79.83 kB / 486.3 MB, free: 14.3 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.504e-05/0.1667, allocations: 8.625 kB / 486.3 MB, free: 14.29 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003803/0.1671, allocations: 43.73 kB / 486.4 MB, free: 14.25 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.224e-05/0.1672, allocations: 27.98 kB / 486.4 MB, free: 14.22 MB / 366.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.0006058/0.1678, allocations: 235 kB / 486.6 MB, free: 13.98 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001305/0.168, allocations: 31.81 kB / 486.7 MB, free: 13.95 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008408/0.1688, allocations: 243.4 kB / 486.9 MB, free: 13.7 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.308e-05/0.1689, allocations: 4 kB / 486.9 MB, free: 13.7 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.084e-05/0.1689, allocations: 0 / 486.9 MB, free: 13.7 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.396e-05/0.1689, allocations: 4 kB / 486.9 MB, free: 13.7 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002726/0.1716, allocations: 1.024 MB / 487.9 MB, free: 12.62 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.843e-06/0.1717, allocations: 0 / 487.9 MB, free: 12.62 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001367/0.1718, allocations: 16.05 kB / 488 MB, free: 12.6 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.086e-05/0.1719, allocations: 4 kB / 488 MB, free: 12.6 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.494e-05/0.172, allocations: 20.02 kB / 488 MB, free: 12.58 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.136e-05/0.172, allocations: 8.406 kB / 488 MB, free: 12.57 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.737e-06/0.172, allocations: 0 / 488 MB, free: 12.57 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001784/0.1738, allocations: 0.657 MB / 488.6 MB, free: 11.89 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001414/0.174, allocations: 104.9 kB / 488.7 MB, free: 11.77 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.426e-05/0.174, allocations: 15.92 kB / 488.8 MB, free: 11.75 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002631/0.1743, allocations: 8 kB / 488.8 MB, free: 11.75 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.166e-05/0.1744, allocations: 23.97 kB / 488.8 MB, free: 11.72 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.081e-05/0.1745, allocations: 15.98 kB / 488.8 MB, free: 11.71 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002845/0.1748, allocations: 148.5 kB / 489 MB, free: 11.56 MB / 366.1 MB Notification: Performance of sort global known variables: time 4.1e-07/0.1748, allocations: 0 / 489 MB, free: 11.56 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.00126/0.1761, allocations: 159.5 kB / 489.1 MB, free: 11.41 MB / 366.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.003973/0.1801, allocations: 1.459 MB / 490.6 MB, free: 9.988 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001411/0.1816, allocations: 360.2 kB / 490.9 MB, free: 9.637 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 6.091e-06/0.1816, allocations: 0 / 490.9 MB, free: 9.637 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004992/0.1821, allocations: 163.8 kB / 491.1 MB, free: 9.477 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001241/0.1834, allocations: 81.14 kB / 491.2 MB, free: 9.398 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00933/0.1927, allocations: 3.52 MB / 494.7 MB, free: 5.613 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008639/0.1937, allocations: 0.819 MB / 495.5 MB, free: 4.77 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.000346/0.194, allocations: 54.94 kB / 495.6 MB, free: 4.711 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000302/0.1943, allocations: 127.3 kB / 495.7 MB, free: 4.586 MB / 366.1 MB Notification: Performance of SimCode: time 1.393e-06/0.1944, allocations: 0 / 495.7 MB, free: 4.586 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05625/0.2506, allocations: 8.653 MB / 0.4925 GB, free: 12.11 MB / 382.1 MB Error: Error building simulator. Build log: cmd: cd 'Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_LCM.fmutmp/sources/' && mkdir build_cmake_dynamic && cd build_cmake_dynamic && cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_C_COMPILER='clang' -DCMAKE_CXX_COMPILER='clang++ -std=c++17' .. && cmake --build . --parallel -j1 --target install && cd .. && rm -rf build_cmake_dynamic -- 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/OpenModelica/OMCompiler/build/bin/../include/omc/c/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/Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_LCM.fmutmp/sources/../binaries/linux64 -- Linking cm-NOTFOUND -- Linking /home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/Resources/Library/linux64/libglib-2.0.a -- Linking /usr/lib/x86_64-linux-gnu/libpthread.a -- CVODE: Not linked -- Not using FMI2_FUNCTION_PREFIX -- Installing dynamic dependencies from list: cm-NOTFOUND;/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/Resources/Library/linux64/libglib-2.0.a;/usr/lib/x86_64-linux-gnu/libpthread.a -- 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 "Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_LCM" in directory /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_LCM/Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_LCM.fmutmp/sources -- Generating done CMake Warning: Manually-specified variables were not used by the project: CMAKE_CXX_COMPILER CMake Generate step failed. Build files cannot be regenerated correctly.