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.001662/0.001662, allocations: 101.3 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.001913/0.001913, allocations: 190 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.334/1.334, 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.05776/0.05776, allocations: 12.05 MB / 303.3 MB, free: 3.09 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001471/0.001471, allocations: 63.89 kB / 419.6 MB, free: 17.7 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09632/0.0978, allocations: 52.32 MB / 471.9 MB, free: 13.34 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_LCM): time 0.004557/0.1024, allocations: 2.924 MB / 474.8 MB, free: 10.39 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001758/0.1042, allocations: 0.8834 MB / 475.7 MB, free: 9.508 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001905/0.1044, allocations: 7.938 kB / 475.7 MB, free: 9.5 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003099/0.1047, allocations: 83.2 kB / 475.8 MB, free: 9.418 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002501/0.105, allocations: 63.45 kB / 475.9 MB, free: 9.355 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.0007946/0.1058, allocations: 283.2 kB / 476.1 MB, free: 9.078 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004711/0.1063, allocations: 418.9 kB / 476.5 MB, free: 8.668 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003767/0.1067, allocations: 239.1 kB / 476.8 MB, free: 8.43 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002411/0.1069, allocations: 203.2 kB / 477 MB, free: 8.23 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003215/0.1073, allocations: 235 kB / 477.2 MB, free: 8 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 9.322e-05/0.1074, allocations: 48 kB / 477.2 MB, free: 7.953 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003018/0.1077, allocations: 191.8 kB / 477.4 MB, free: 7.766 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001841/0.1079, allocations: 155.5 kB / 477.6 MB, free: 7.613 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002261/0.1081, allocations: 218.7 kB / 477.8 MB, free: 7.398 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007472/0.1088, allocations: 0.6769 MB / 478.5 MB, free: 6.723 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.1089, allocations: 0 / 478.5 MB, free: 6.723 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.522e-06/0.1089, allocations: 4 kB / 478.5 MB, free: 6.719 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.305e-05/0.1089, allocations: 0 / 478.5 MB, free: 6.719 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.001737/0.1106, allocations: 1.15 MB / 479.6 MB, free: 5.469 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.635e-05/0.1107, allocations: 8.031 kB / 479.6 MB, free: 5.461 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.62e-05/0.1108, allocations: 82.7 kB / 479.7 MB, free: 5.371 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000103/0.1109, allocations: 52.36 kB / 479.8 MB, free: 5.32 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003773/0.1113, allocations: 327.4 kB / 480.1 MB, free: 4.961 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.906e-05/0.1113, allocations: 33.36 kB / 480.1 MB, free: 4.93 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.412e-05/0.1114, allocations: 48.36 kB / 480.2 MB, free: 4.883 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007317/0.1121, allocations: 476 kB / 480.6 MB, free: 4.398 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.768e-05/0.1121, allocations: 7.875 kB / 480.6 MB, free: 4.391 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.396e-05/0.1122, allocations: 19.98 kB / 480.7 MB, free: 4.371 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.313e-05/0.1122, allocations: 12 kB / 480.7 MB, free: 4.359 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000495/0.1127, allocations: 271.5 kB / 480.9 MB, free: 4.094 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001796/0.1145, allocations: 1.359 MB / 482.3 MB, free: 2.664 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005772/0.1151, allocations: 302.3 kB / 482.6 MB, free: 2.332 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002603/0.1154, allocations: 155.4 kB / 482.7 MB, free: 2.168 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.168e-05/0.1154, allocations: 16.05 kB / 482.8 MB, free: 2.152 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003878/0.1158, allocations: 244.7 kB / 483 MB, free: 1.883 MB / 350.1 MB Notification: Performance of pre-optimization done (n=40): time 2.184e-06/0.1158, allocations: 0 / 483 MB, free: 1.883 MB / 350.1 MB Notification: Performance of matching and sorting (n=40): time 0.001055/0.1169, allocations: 0.5819 MB / 483.6 MB, free: 1.301 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.754e-05/0.117, allocations: 156.5 kB / 483.7 MB, free: 1.117 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002688/0.1173, allocations: 268.6 kB / 484 MB, free: 0.8477 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.699e-05/0.1173, allocations: 45.69 kB / 484 MB, free: 0.7969 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001351/0.1175, allocations: 208.3 kB / 484.2 MB, free: 0.5898 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.243e-05/0.1176, allocations: 98.8 kB / 484.3 MB, free: 0.4922 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001537/0.1177, allocations: 114.2 kB / 484.5 MB, free: 384 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001248/0.1179, allocations: 350.7 kB / 484.8 MB, free: 24 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00023/0.1181, allocations: 125 kB / 484.9 MB, free: 15.9 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003188/0.1184, allocations: 306.4 kB / 485.2 MB, free: 15.51 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006442/0.1191, allocations: 0.4925 MB / 485.7 MB, free: 14.93 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.632e-06/0.1191, allocations: 0 / 485.7 MB, free: 14.93 MB / 366.1 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.0008943/0.12, allocations: 485 kB / 486.2 MB, free: 14.45 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.562e-05/0.12, allocations: 8 kB / 486.2 MB, free: 14.44 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.458e-05/0.1201, allocations: 8 kB / 486.2 MB, free: 14.43 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.749e-05/0.1201, allocations: 8 kB / 486.2 MB, free: 14.43 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002702/0.1204, allocations: 79.92 kB / 486.3 MB, free: 14.35 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.227e-05/0.1204, allocations: 15.88 kB / 486.3 MB, free: 14.33 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000215/0.1206, allocations: 39.53 kB / 486.3 MB, free: 14.29 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.056e-05/0.1207, allocations: 28.33 kB / 486.4 MB, free: 14.27 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.0003132/0.121, allocations: 239 kB / 486.6 MB, free: 14.02 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.27e-05/0.1211, allocations: 31.62 kB / 486.6 MB, free: 13.99 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004184/0.1215, allocations: 231.4 kB / 486.9 MB, free: 13.76 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.973e-06/0.1215, allocations: 4 kB / 486.9 MB, free: 13.75 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.488e-06/0.1215, allocations: 8 kB / 486.9 MB, free: 13.75 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.223e-06/0.1216, allocations: 3.984 kB / 486.9 MB, free: 13.74 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001392/0.123, allocations: 1.017 MB / 487.9 MB, free: 12.67 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.767e-06/0.123, allocations: 0 / 487.9 MB, free: 12.67 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.899e-05/0.123, allocations: 15.98 kB / 487.9 MB, free: 12.65 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.278e-06/0.123, allocations: 0 / 487.9 MB, free: 12.65 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.337e-05/0.1231, allocations: 23.98 kB / 487.9 MB, free: 12.63 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.046e-06/0.1231, allocations: 0 / 487.9 MB, free: 12.63 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.488e-06/0.1231, allocations: 11.94 kB / 487.9 MB, free: 12.62 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000825/0.1239, allocations: 0.6491 MB / 488.6 MB, free: 11.95 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.673e-05/0.124, allocations: 108.6 kB / 488.7 MB, free: 11.82 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.267e-05/0.1241, allocations: 11.92 kB / 488.7 MB, free: 11.81 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001469/0.1242, allocations: 8 kB / 488.7 MB, free: 11.8 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.981e-05/0.1243, allocations: 23.97 kB / 488.7 MB, free: 11.78 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.389e-05/0.1243, allocations: 15.98 kB / 488.8 MB, free: 11.76 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001215/0.1244, allocations: 148.5 kB / 488.9 MB, free: 11.62 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.1244, allocations: 0 / 488.9 MB, free: 11.62 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005906/0.125, allocations: 155.5 kB / 489 MB, free: 11.46 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.00203/0.1271, allocations: 1.453 MB / 490.5 MB, free: 10.05 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0006798/0.1278, allocations: 353.1 kB / 490.8 MB, free: 9.711 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.905e-06/0.1278, allocations: 4.062 kB / 490.8 MB, free: 9.707 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002597/0.128, allocations: 167.9 kB / 491 MB, free: 9.543 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006026/0.1287, allocations: 85.72 kB / 491.1 MB, free: 9.461 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004361/0.133, allocations: 3.503 MB / 494.6 MB, free: 5.691 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004244/0.1335, allocations: 0.8268 MB / 495.4 MB, free: 4.84 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001525/0.1336, allocations: 46.94 kB / 495.5 MB, free: 4.789 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001581/0.1338, allocations: 131.3 kB / 495.6 MB, free: 4.66 MB / 366.1 MB Notification: Performance of SimCode: time 3.31e-07/0.1338, allocations: 3.938 kB / 495.6 MB, free: 4.656 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0287/0.1625, allocations: 8.757 MB / 0.4925 GB, free: 12.08 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.