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.001097/0.001097, allocations: 105.3 kB / 16.31 MB, free: 6.359 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.001077/0.001077, allocations: 184.6 kB / 17.24 MB, free: 5.879 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.366/1.366, allocations: 222.9 MB / 240.9 MB, free: 15.16 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.05862/0.05862, allocations: 12.04 MB / 303.1 MB, free: 3.18 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001305/0.001305, allocations: 63.91 kB / 366.6 MB, free: 3.688 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2013/0.2027, allocations: 52.33 MB / 418.9 MB, free: 21.07 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_LCM): time 0.003589/0.2063, allocations: 2.904 MB / 421.8 MB, free: 18.16 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001218/0.2075, allocations: 0.8951 MB / 422.7 MB, free: 17.27 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001114/0.2076, allocations: 7.938 kB / 422.7 MB, free: 17.26 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002488/0.2079, allocations: 79.16 kB / 422.8 MB, free: 17.18 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001658/0.2081, allocations: 67.5 kB / 422.9 MB, free: 17.11 MB / 302.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.0005604/0.2087, allocations: 291.2 kB / 423.1 MB, free: 16.83 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002853/0.2089, allocations: 399 kB / 423.5 MB, free: 16.44 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002792/0.2092, allocations: 251 kB / 423.8 MB, free: 16.19 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001336/0.2094, allocations: 195.3 kB / 424 MB, free: 16 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000207/0.2096, allocations: 238.9 kB / 424.2 MB, free: 15.77 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 5.38e-05/0.2097, allocations: 48 kB / 424.2 MB, free: 15.72 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002094/0.2099, allocations: 191.8 kB / 424.4 MB, free: 15.53 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001255/0.21, allocations: 155.5 kB / 424.6 MB, free: 15.38 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001392/0.2101, allocations: 222.7 kB / 424.8 MB, free: 15.16 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004872/0.2106, allocations: 0.6527 MB / 425.5 MB, free: 14.51 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.588e-06/0.2107, allocations: 0 / 425.5 MB, free: 14.51 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.2107, allocations: 0 / 425.5 MB, free: 14.51 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.376e-05/0.2107, allocations: 0 / 425.5 MB, free: 14.51 MB / 302.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.001257/0.2119, allocations: 1.134 MB / 426.6 MB, free: 13.27 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.008e-05/0.212, allocations: 8.031 kB / 426.6 MB, free: 13.26 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.254e-05/0.2121, allocations: 86.64 kB / 426.7 MB, free: 13.17 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.39e-05/0.2122, allocations: 56.36 kB / 426.7 MB, free: 13.11 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002833/0.2125, allocations: 327.4 kB / 427.1 MB, free: 12.75 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.263e-05/0.2125, allocations: 29.38 kB / 427.1 MB, free: 12.73 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.964e-05/0.2125, allocations: 48.28 kB / 427.1 MB, free: 12.68 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000597/0.2132, allocations: 480.1 kB / 427.6 MB, free: 12.19 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.474e-05/0.2132, allocations: 3.938 kB / 427.6 MB, free: 12.19 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.465e-05/0.2132, allocations: 15.98 kB / 427.6 MB, free: 12.17 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.257e-06/0.2132, allocations: 16 kB / 427.6 MB, free: 12.16 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003752/0.2136, allocations: 267.7 kB / 427.9 MB, free: 11.89 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001208/0.2148, allocations: 1.37 MB / 429.3 MB, free: 10.45 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000441/0.2153, allocations: 302.4 kB / 429.6 MB, free: 10.12 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000178/0.2155, allocations: 163.2 kB / 429.7 MB, free: 9.949 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.021e-05/0.2155, allocations: 8.062 kB / 429.7 MB, free: 9.941 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002874/0.2158, allocations: 252.7 kB / 430 MB, free: 9.668 MB / 302.1 MB Notification: Performance of pre-optimization done (n=40): time 1.843e-06/0.2158, allocations: 0 / 430 MB, free: 9.668 MB / 302.1 MB Notification: Performance of matching and sorting (n=40): time 0.0008779/0.2167, allocations: 0.5784 MB / 430.6 MB, free: 9.086 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.903e-05/0.2168, allocations: 156.4 kB / 430.7 MB, free: 8.902 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001984/0.217, allocations: 264.7 kB / 431 MB, free: 8.633 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.02e-05/0.217, allocations: 41.7 kB / 431 MB, free: 8.586 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.96e-05/0.2171, allocations: 216.2 kB / 431.2 MB, free: 8.371 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.188e-05/0.2172, allocations: 98.73 kB / 431.3 MB, free: 8.273 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001207/0.2173, allocations: 122.2 kB / 431.4 MB, free: 8.148 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 7.03e-05/0.2174, allocations: 346.7 kB / 431.8 MB, free: 7.801 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001723/0.2175, allocations: 117 kB / 431.9 MB, free: 7.688 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000237/0.2178, allocations: 318.4 kB / 432.2 MB, free: 7.285 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004696/0.2183, allocations: 476.4 kB / 432.7 MB, free: 6.73 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.068e-06/0.2183, allocations: 4 kB / 432.7 MB, free: 6.727 MB / 302.1 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.0006282/0.2189, allocations: 489.3 kB / 433.1 MB, free: 6.242 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.924e-05/0.2189, allocations: 10.34 kB / 433.2 MB, free: 6.234 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.878e-06/0.219, allocations: 8 kB / 433.2 MB, free: 6.227 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.393e-05/0.219, allocations: 12 kB / 433.2 MB, free: 6.215 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000221/0.2192, allocations: 83.77 kB / 433.3 MB, free: 6.133 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.399e-05/0.2192, allocations: 11.94 kB / 433.3 MB, free: 6.121 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001591/0.2194, allocations: 39.59 kB / 433.3 MB, free: 6.082 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.061e-05/0.2194, allocations: 28.08 kB / 433.3 MB, free: 6.055 MB / 302.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.0001998/0.2196, allocations: 239 kB / 433.6 MB, free: 5.809 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.407e-05/0.2197, allocations: 31.7 kB / 433.6 MB, free: 5.777 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003206/0.22, allocations: 239.3 kB / 433.8 MB, free: 5.539 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.108e-06/0.22, allocations: 4 kB / 433.8 MB, free: 5.535 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.541e-06/0.2201, allocations: 0 / 433.8 MB, free: 5.535 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.612e-06/0.2201, allocations: 7.984 kB / 433.8 MB, free: 5.527 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009285/0.221, allocations: 1.019 MB / 434.9 MB, free: 4.453 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.975e-06/0.221, allocations: 3.984 kB / 434.9 MB, free: 4.449 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.032e-05/0.2211, allocations: 19.94 kB / 434.9 MB, free: 4.43 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.855e-06/0.2211, allocations: 0 / 434.9 MB, free: 4.43 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.221e-05/0.2211, allocations: 11.92 kB / 434.9 MB, free: 4.418 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.365e-06/0.2211, allocations: 4 kB / 434.9 MB, free: 4.414 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.2211, allocations: 0 / 434.9 MB, free: 4.414 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006093/0.2217, allocations: 0.6566 MB / 435.6 MB, free: 3.734 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.897e-05/0.2218, allocations: 104.8 kB / 435.7 MB, free: 3.613 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.388e-05/0.2218, allocations: 15.92 kB / 435.7 MB, free: 3.598 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000139/0.222, allocations: 4 kB / 435.7 MB, free: 3.594 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.222e-05/0.222, allocations: 19.97 kB / 435.7 MB, free: 3.574 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.614e-05/0.2221, allocations: 19.98 kB / 435.7 MB, free: 3.555 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001084/0.2222, allocations: 160.4 kB / 435.9 MB, free: 3.398 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.2222, allocations: 0 / 435.9 MB, free: 3.398 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0005363/0.2227, allocations: 155.4 kB / 436 MB, free: 3.246 MB / 302.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.0015/0.2243, allocations: 1.452 MB / 437.5 MB, free: 1.836 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0005772/0.2248, allocations: 380.9 kB / 437.9 MB, free: 1.465 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.2249, allocations: 0 / 437.9 MB, free: 1.465 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002074/0.2251, allocations: 167.8 kB / 438 MB, free: 1.301 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005719/0.2256, allocations: 91.77 kB / 438.1 MB, free: 1.219 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004089/0.2297, allocations: 3.514 MB / 441.6 MB, free: 13.44 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004907/0.2303, allocations: 0.8228 MB / 442.4 MB, free: 12.59 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0001629/0.2304, allocations: 50.95 kB / 442.5 MB, free: 12.54 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001664/0.2306, allocations: 127.4 kB / 442.6 MB, free: 12.41 MB / 318.1 MB Notification: Performance of SimCode: time 4.51e-07/0.2306, allocations: 0 / 442.6 MB, free: 12.41 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02591/0.2565, allocations: 8.494 MB / 451.1 MB, free: 4.082 MB / 318.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 -- 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.