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.001093/0.001093, allocations: 102.6 kB / 16.45 MB, free: 6.438 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.001132/0.001132, allocations: 186.4 kB / 17.38 MB, free: 5.691 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.35/1.35, allocations: 222.9 MB / 241.1 MB, free: 15.08 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.05914/0.05914, allocations: 12.04 MB / 303.3 MB, free: 3.09 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001222/0.001222, allocations: 67.89 kB / 419.6 MB, free: 17.82 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1089/0.1101, allocations: 52.32 MB / 471.9 MB, free: 13.46 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_LCM): time 0.005613/0.1158, allocations: 2.924 MB / 474.8 MB, free: 10.52 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002191/0.118, allocations: 0.8873 MB / 475.7 MB, free: 9.629 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000228/0.1183, allocations: 11.94 kB / 475.7 MB, free: 9.617 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003516/0.1187, allocations: 91.12 kB / 475.8 MB, free: 9.527 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002894/0.119, allocations: 59.45 kB / 475.9 MB, free: 9.469 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.0009386/0.1199, allocations: 267.3 kB / 476.1 MB, free: 9.207 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006353/0.1206, allocations: 422.9 kB / 476.5 MB, free: 8.793 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004879/0.121, allocations: 239.1 kB / 476.8 MB, free: 8.555 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002705/0.1213, allocations: 203.2 kB / 477 MB, free: 8.355 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003515/0.1217, allocations: 242.9 kB / 477.2 MB, free: 8.117 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 9.887e-05/0.1218, allocations: 44 kB / 477.3 MB, free: 8.074 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003657/0.1222, allocations: 195.8 kB / 477.4 MB, free: 7.883 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001757/0.1224, allocations: 151.5 kB / 477.6 MB, free: 7.734 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002304/0.1226, allocations: 222.8 kB / 477.8 MB, free: 7.516 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008909/0.1235, allocations: 0.6772 MB / 478.5 MB, free: 6.836 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.409e-06/0.1235, allocations: 0 / 478.5 MB, free: 6.836 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.1235, allocations: 4 kB / 478.5 MB, free: 6.832 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.818e-05/0.1235, allocations: 0 / 478.5 MB, free: 6.832 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.00186/0.1254, allocations: 1.168 MB / 479.7 MB, free: 5.562 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.349e-05/0.1255, allocations: 12.03 kB / 479.7 MB, free: 5.551 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.106e-05/0.1256, allocations: 82.69 kB / 479.7 MB, free: 5.461 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001137/0.1257, allocations: 52.61 kB / 479.8 MB, free: 5.41 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004278/0.1261, allocations: 327.6 kB / 480.1 MB, free: 5.051 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.016e-05/0.1262, allocations: 29.38 kB / 480.1 MB, free: 5.023 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.277e-05/0.1262, allocations: 40.36 kB / 480.2 MB, free: 4.984 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007805/0.127, allocations: 488 kB / 480.7 MB, free: 4.488 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.742e-05/0.1271, allocations: 7.938 kB / 480.7 MB, free: 4.48 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.158e-05/0.1271, allocations: 19.98 kB / 480.7 MB, free: 4.461 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.282e-05/0.1271, allocations: 8 kB / 480.7 MB, free: 4.453 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005/0.1276, allocations: 275.5 kB / 481 MB, free: 4.184 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001937/0.1296, allocations: 1.355 MB / 482.3 MB, free: 2.758 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005905/0.1302, allocations: 306.5 kB / 482.6 MB, free: 2.422 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002319/0.1304, allocations: 155.4 kB / 482.8 MB, free: 2.258 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.394e-05/0.1305, allocations: 11.94 kB / 482.8 MB, free: 2.246 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003894/0.1309, allocations: 244.7 kB / 483 MB, free: 1.977 MB / 350.1 MB Notification: Performance of pre-optimization done (n=40): time 2.224e-06/0.1309, allocations: 0 / 483 MB, free: 1.977 MB / 350.1 MB Notification: Performance of matching and sorting (n=40): time 0.001058/0.1319, allocations: 0.5859 MB / 483.6 MB, free: 1.387 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.077e-05/0.132, allocations: 156.5 kB / 483.8 MB, free: 1.203 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002815/0.1323, allocations: 268.8 kB / 484 MB, free: 0.9336 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.054e-05/0.1324, allocations: 41.7 kB / 484.1 MB, free: 0.8867 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001391/0.1325, allocations: 216.7 kB / 484.3 MB, free: 0.6719 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.595e-05/0.1326, allocations: 103.2 kB / 484.4 MB, free: 0.5703 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001547/0.1328, allocations: 118.2 kB / 484.5 MB, free: 460 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001372/0.1329, allocations: 350.7 kB / 484.8 MB, free: 100 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002301/0.1332, allocations: 121.1 kB / 485 MB, free: 15.97 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003381/0.1335, allocations: 318.4 kB / 485.3 MB, free: 15.57 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005973/0.1341, allocations: 484.3 kB / 485.7 MB, free: 15.01 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.053e-06/0.1341, allocations: 8 kB / 485.7 MB, free: 15 MB / 366.1 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.0007935/0.1349, allocations: 489.2 kB / 486.2 MB, free: 14.52 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.896e-05/0.135, allocations: 8 kB / 486.2 MB, free: 14.51 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.076e-05/0.135, allocations: 4 kB / 486.2 MB, free: 14.51 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.228e-05/0.135, allocations: 12 kB / 486.2 MB, free: 14.5 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002446/0.1353, allocations: 75.83 kB / 486.3 MB, free: 14.42 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.776e-05/0.1353, allocations: 15.94 kB / 486.3 MB, free: 14.41 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001826/0.1355, allocations: 39.73 kB / 486.4 MB, free: 14.37 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.013e-05/0.1355, allocations: 27.98 kB / 486.4 MB, free: 14.34 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.0002459/0.1358, allocations: 235.3 kB / 486.6 MB, free: 14.1 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.156e-05/0.1359, allocations: 35.8 kB / 486.7 MB, free: 14.07 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004153/0.1363, allocations: 235.3 kB / 486.9 MB, free: 13.83 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.051e-06/0.1363, allocations: 4 kB / 486.9 MB, free: 13.82 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.683e-06/0.1363, allocations: 4 kB / 486.9 MB, free: 13.82 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.564e-06/0.1363, allocations: 3.984 kB / 486.9 MB, free: 13.82 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001297/0.1376, allocations: 1.023 MB / 487.9 MB, free: 12.74 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.217e-06/0.1376, allocations: 0 / 487.9 MB, free: 12.74 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.749e-05/0.1377, allocations: 11.94 kB / 487.9 MB, free: 12.73 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.551e-06/0.1377, allocations: 4 kB / 488 MB, free: 12.73 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.845e-05/0.1378, allocations: 19.98 kB / 488 MB, free: 12.71 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.078e-06/0.1378, allocations: 4 kB / 488 MB, free: 12.7 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.333e-06/0.1378, allocations: 4 kB / 488 MB, free: 12.7 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008058/0.1386, allocations: 0.6493 MB / 488.6 MB, free: 12.03 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.13e-05/0.1387, allocations: 104.8 kB / 488.7 MB, free: 11.91 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.957e-05/0.1387, allocations: 19.86 kB / 488.7 MB, free: 11.89 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001492/0.1389, allocations: 7.984 kB / 488.8 MB, free: 11.88 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.368e-05/0.1389, allocations: 23.98 kB / 488.8 MB, free: 11.86 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.657e-05/0.139, allocations: 15.98 kB / 488.8 MB, free: 11.84 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001372/0.1391, allocations: 156.5 kB / 488.9 MB, free: 11.69 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1391, allocations: 0 / 488.9 MB, free: 11.69 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006143/0.1398, allocations: 155.5 kB / 489.1 MB, free: 11.54 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.00179/0.1416, allocations: 1.451 MB / 490.6 MB, free: 10.12 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0006079/0.1422, allocations: 361 kB / 490.9 MB, free: 9.773 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.1422, allocations: 4.062 kB / 490.9 MB, free: 9.77 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002608/0.1425, allocations: 159.8 kB / 491.1 MB, free: 9.613 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006141/0.1431, allocations: 85.2 kB / 491.1 MB, free: 9.535 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004447/0.1475, allocations: 3.527 MB / 494.7 MB, free: 5.742 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003811/0.148, allocations: 0.8229 MB / 495.5 MB, free: 4.895 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001501/0.1481, allocations: 50.92 kB / 495.5 MB, free: 4.84 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001909/0.1483, allocations: 123.4 kB / 495.7 MB, free: 4.719 MB / 366.1 MB Notification: Performance of SimCode: time 5.11e-07/0.1483, allocations: 3.938 kB / 495.7 MB, free: 4.715 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03005/0.1784, allocations: 8.652 MB / 0.4925 GB, free: 12.25 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.