Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_LCM.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008622/0.0008622, allocations: 76.55 kB / 19.97 MB, free: 4.594 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0007635/0.0007635, allocations: 173.9 kB / 23.25 MB, free: 1.309 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.955/0.955, allocations: 177.1 MB / 203.5 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers master/package.mo): time 0.03511/0.03511, allocations: 9.143 MB / 269.1 MB, free: 4.469 MB / 250.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers master/EmbeddedTargets/STM32F4/Functions/HAL.mo:5:3-11:14:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers master/Incubate/OperatingSystem/DynamicArray.mo:6:3-94:18:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers master/Incubate/Utilities/Functions.mo:1041:3-1062:27:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers master/Incubate/Utilities/Functions.mo:1064:3-1092:25:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 180] Using package Modelica_DeviceDrivers with version 2.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_LCM,fileNamePrefix="Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_LCM",fmuType="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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.533e-06/1.533e-06, allocations: 0 / 397.1 MB, free: 1.258 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.943e-05/2.096e-05, allocations: 2.281 kB / 397.1 MB, free: 1.254 MB / 362.7 MB Notification: Performance of NFInst.instantiate(Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_LCM): time 0.00412/0.004141, allocations: 2.969 MB / 400 MB, free: 14.27 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001318/0.005459, allocations: 0.856 MB / 400.9 MB, free: 13.41 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001789/0.005638, allocations: 11.88 kB / 400.9 MB, free: 13.39 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000281/0.005919, allocations: 91.12 kB / 401 MB, free: 13.3 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002401/0.006159, allocations: 67.34 kB / 401.1 MB, free: 13.24 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers master/Blocks/Packaging/SerialPackager.mo:130:7-137:16:writable] Warning: Pure function 'Modelica_DeviceDrivers.Blocks.Packaging.SerialPackager.Internal.DummyFunctions.clear' contains a call to impure function 'Modelica_DeviceDrivers.Packaging.SerialPackager_.clear'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers master/Blocks/Packaging/SerialPackager.mo:30:7-39:18:writable] Warning: Pure function 'Modelica_DeviceDrivers.Blocks.Packaging.SerialPackager.Internal.DummyFunctions.addReal' contains a call to impure function 'Modelica_DeviceDrivers.Packaging.SerialPackager_.addReal'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers master/Blocks/Communication.mo:1272:7-1282:20:writable] Warning: Pure function 'Modelica_DeviceDrivers.Blocks.Communication.Internal.DummyFunctions.sendToLCM' contains a call to impure function 'Modelica_DeviceDrivers.Communication.LCM_.sendTo'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers master/Blocks/Packaging/SerialPackager.mo:63:7-72:21:writable] Warning: Pure function 'Modelica_DeviceDrivers.Blocks.Packaging.SerialPackager.Internal.DummyFunctions.addInteger' contains a call to impure function 'Modelica_DeviceDrivers.Packaging.SerialPackager_.addInteger'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers master/Blocks/Communication.mo:1262:7-1270:18:writable] Warning: Pure function 'Modelica_DeviceDrivers.Blocks.Communication.Internal.DummyFunctions.readLCM' contains a call to impure function 'Modelica_DeviceDrivers.Communication.LCM_.read'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers master/Blocks/Packaging/SerialPackager.mo:74:7-84:18:writable] Warning: Pure function 'Modelica_DeviceDrivers.Blocks.Packaging.SerialPackager.Internal.DummyFunctions.getReal' contains a call to impure function 'Modelica_DeviceDrivers.Packaging.SerialPackager_.getReal'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers master/Blocks/Packaging/SerialPackager.mo:107:7-117:21:writable] Warning: Pure function 'Modelica_DeviceDrivers.Blocks.Packaging.SerialPackager.Internal.DummyFunctions.getInteger' contains a call to impure function 'Modelica_DeviceDrivers.Packaging.SerialPackager_.getInteger'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers master/Blocks/Packaging/SerialPackager.mo:41:7-50:25:writable] Warning: Pure function 'Modelica_DeviceDrivers.Blocks.Packaging.SerialPackager.Internal.DummyFunctions.addRealAsFloat' contains a call to impure function 'Modelica_DeviceDrivers.Packaging.SerialPackager_.addRealAsFloat'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers master/Blocks/Packaging/SerialPackager.mo:86:7-96:27:writable] Warning: Pure function 'Modelica_DeviceDrivers.Blocks.Packaging.SerialPackager.Internal.DummyFunctions.getRealFromFloat' contains a call to impure function 'Modelica_DeviceDrivers.Packaging.SerialPackager_.getRealFromFloat'. Notification: Performance of NFTyping.typeClassSections: time 0.0009598/0.007119, allocations: 294.9 kB / 401.3 MB, free: 12.95 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005047/0.007624, allocations: 418.8 kB / 401.8 MB, free: 12.54 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002386/0.007862, allocations: 127.7 kB / 401.9 MB, free: 12.41 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002772/0.00814, allocations: 283.4 kB / 402.2 MB, free: 12.13 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002405/0.00838, allocations: 195.4 kB / 402.3 MB, free: 11.94 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 5.077e-05/0.008431, allocations: 47.94 kB / 402.4 MB, free: 11.89 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002726/0.008704, allocations: 199.7 kB / 402.6 MB, free: 11.7 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001285/0.008832, allocations: 155.5 kB / 402.7 MB, free: 11.55 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001158/0.008948, allocations: 139.6 kB / 402.9 MB, free: 11.41 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006334/0.009581, allocations: 0.7008 MB / 403.6 MB, free: 10.71 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.927e-06/0.00959, allocations: 3.984 kB / 403.6 MB, free: 10.7 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.633e-06/0.009592, allocations: 0 / 403.6 MB, free: 10.7 MB / 378.7 MB Notification: Performance of Transformations before backend: time 7.805e-06/0.0096, allocations: 3.938 kB / 403.6 MB, free: 10.7 MB / 378.7 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.001375/0.01097, allocations: 1.075 MB / 404.7 MB, free: 9.535 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.241e-05/0.01103, allocations: 12.03 kB / 404.7 MB, free: 9.523 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.999e-05/0.0111, allocations: 82.69 kB / 404.8 MB, free: 9.434 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.041e-05/0.01118, allocations: 56.55 kB / 404.8 MB, free: 9.379 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006007/0.01178, allocations: 273 kB / 405.1 MB, free: 9.086 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.178e-05/0.01181, allocations: 29.38 kB / 405.1 MB, free: 9.059 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.778e-05/0.01185, allocations: 40.36 kB / 405.1 MB, free: 9.02 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005776/0.01243, allocations: 484 kB / 405.6 MB, free: 8.523 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.38e-05/0.01244, allocations: 4.125 kB / 405.6 MB, free: 8.52 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.047e-05/0.01247, allocations: 16.36 kB / 405.6 MB, free: 8.504 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.287e-05/0.01248, allocations: 16.12 kB / 405.7 MB, free: 8.488 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003326/0.01281, allocations: 267.6 kB / 405.9 MB, free: 8.227 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001179/0.01399, allocations: 1.226 MB / 407.1 MB, free: 6.941 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004379/0.01443, allocations: 282.2 kB / 407.4 MB, free: 6.629 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000145/0.01458, allocations: 139.4 kB / 407.5 MB, free: 6.48 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.032e-05/0.01461, allocations: 7.984 kB / 407.6 MB, free: 6.473 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002607/0.01487, allocations: 268.7 kB / 407.8 MB, free: 6.18 MB / 378.7 MB Notification: Performance of pre-optimization done (n=40): time 2.535e-06/0.01487, allocations: 0 / 407.8 MB, free: 6.18 MB / 378.7 MB Notification: Performance of matching and sorting (n=40): time 0.000755/0.01563, allocations: 0.5852 MB / 408.4 MB, free: 5.594 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.423e-05/0.01571, allocations: 156.4 kB / 408.6 MB, free: 5.41 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002151/0.01592, allocations: 273.5 kB / 408.8 MB, free: 5.133 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.409e-05/0.01596, allocations: 45.69 kB / 408.9 MB, free: 5.082 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001167/0.01608, allocations: 212.8 kB / 409.1 MB, free: 4.867 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.987e-05/0.01615, allocations: 107.2 kB / 409.2 MB, free: 4.762 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001244/0.01627, allocations: 118.1 kB / 409.3 MB, free: 4.641 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001143/0.01638, allocations: 342.8 kB / 409.6 MB, free: 4.297 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001565/0.01654, allocations: 120.9 kB / 409.7 MB, free: 4.18 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000232/0.01677, allocations: 317.8 kB / 410.1 MB, free: 3.777 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004483/0.01722, allocations: 484.4 kB / 410.5 MB, free: 3.215 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.49e-06/0.01723, allocations: 0 / 410.5 MB, free: 3.215 MB / 378.7 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.0005639/0.01779, allocations: 489.4 kB / 411 MB, free: 2.73 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.161e-05/0.01781, allocations: 8 kB / 411 MB, free: 2.723 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.036e-05/0.01782, allocations: 12.06 kB / 411 MB, free: 2.711 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.041e-05/0.01784, allocations: 8 kB / 411 MB, free: 2.703 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001516/0.01799, allocations: 79.78 kB / 411.1 MB, free: 2.625 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.276e-05/0.01801, allocations: 11.98 kB / 411.1 MB, free: 2.613 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000112/0.01812, allocations: 39.73 kB / 411.2 MB, free: 2.574 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.206e-05/0.01814, allocations: 24 kB / 411.2 MB, free: 2.551 MB / 378.7 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.0002191/0.01836, allocations: 247.4 kB / 411.4 MB, free: 2.301 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.975e-05/0.0184, allocations: 31.81 kB / 411.5 MB, free: 2.27 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003086/0.01871, allocations: 239.3 kB / 411.7 MB, free: 2.031 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.811e-06/0.01871, allocations: 8 kB / 411.7 MB, free: 2.023 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.675e-06/0.01872, allocations: 0 / 411.7 MB, free: 2.023 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.889e-06/0.01873, allocations: 0 / 411.7 MB, free: 2.023 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001232/0.01996, allocations: 0.965 MB / 412.7 MB, free: 1.008 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.036e-06/0.01996, allocations: 0 / 412.7 MB, free: 1.008 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.875e-05/0.02, allocations: 23.92 kB / 412.7 MB, free: 0.9844 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.457e-06/0.02, allocations: 4 kB / 412.7 MB, free: 0.9805 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.014e-05/0.02002, allocations: 11.98 kB / 412.7 MB, free: 0.9688 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.138e-06/0.02003, allocations: 64 / 412.7 MB, free: 0.9688 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.967e-06/0.02003, allocations: 8 kB / 412.7 MB, free: 0.9609 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005917/0.02062, allocations: 0.6611 MB / 413.4 MB, free: 284 kB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.176e-05/0.02066, allocations: 31.67 kB / 413.4 MB, free: 252 kB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.852e-05/0.02068, allocations: 11.98 kB / 413.4 MB, free: 240 kB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.841e-05/0.02076, allocations: 4 kB / 413.4 MB, free: 236 kB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.197e-05/0.02081, allocations: 23.91 kB / 413.4 MB, free: 212 kB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.397e-05/0.02085, allocations: 19.98 kB / 413.5 MB, free: 192 kB / 378.7 MB Notification: Performance of sorting global known variables: time 9.915e-05/0.02095, allocations: 153.2 kB / 413.6 MB, free: 44 kB / 378.7 MB Notification: Performance of sort global known variables: time 6e-08/0.02095, allocations: 4 kB / 413.6 MB, free: 40 kB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004947/0.02144, allocations: 155.5 kB / 413.8 MB, free: 15.89 MB / 394.7 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.001422/0.02286, allocations: 1.476 MB / 415.2 MB, free: 14.46 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0004608/0.02333, allocations: 345 kB / 415.6 MB, free: 14.12 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.02333, allocations: 320 / 415.6 MB, free: 14.12 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001618/0.02349, allocations: 147.8 kB / 415.7 MB, free: 13.98 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004081/0.0239, allocations: 86.69 kB / 415.8 MB, free: 13.9 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003749/0.02765, allocations: 3.505 MB / 419.3 MB, free: 10.12 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001964/0.02784, allocations: 215 kB / 419.5 MB, free: 9.887 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0001796/0.02802, allocations: 50.94 kB / 419.6 MB, free: 9.836 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001641/0.02819, allocations: 128.6 kB / 419.7 MB, free: 9.711 MB / 394.7 MB Notification: Performance of SimCode: time 2.345e-06/0.02819, allocations: 0 / 419.7 MB, free: 9.711 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02969/0.05788, allocations: 9.732 MB / 429.4 MB, free: 124 kB / 394.7 MB Error: Error building simulator. Build log: cmd: cd '656.fmutmp/sources/' && mkdir build_cmake_static && cd build_cmake_static && cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_C_COMPILER='clang' .. && cmake --build . --parallel -j1 --target install && cd .. && rm -rf build_cmake_static -- The C compiler identification is Clang 18.1.3 -- 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_LCM/656.fmutmp/sources/fmi -- 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_LCM/656.fmutmp/sources/../binaries/linux64 -- Linking cm-NOTFOUND -- Linking /home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers master/Resources/Library/linux64/libglib-2.0.a -- Linking pthread-NOTFOUND -- CVODE: Not linked -- Not using FMI2_FUNCTION_PREFIX -- Installing dynamic dependencies from list: cm-NOTFOUND;/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers master/Resources/Library/linux64/libglib-2.0.a;pthread-NOTFOUND -- Configuring done (0.2s) CMake Error: The following variables are used in this project, but they are set to NOTFOUND. Please set them or make sure they are set and tested correctly in the CMake files: cm linked by target \"656\" in directory /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_LCM/656.fmutmp/sources pthread linked by target \"656\" in directory /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_LCM/656.fmutmp/sources -- Generating done (0.0s) CMake Generate step failed. Build files cannot be regenerated correctly. " [Timeout remaining time 660] [Calling sys.exit(0), Time elapsed: 2.090220401994884] Failed to read output from testmodel.py, exit status != 0: 0.32298997323960066 0.332302078 0.32099473100000003 Calling exit ...