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.001223/0.001223, allocations: 80.53 kB / 19.97 MB, free: 4.598 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.001455/0.001455, allocations: 177.9 kB / 23.25 MB, free: 1.312 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 1.05/1.05, allocations: 177.1 MB / 203.6 MB, free: 5.742 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.03673/0.03673, allocations: 9.143 MB / 269.1 MB, free: 4.473 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: setCommandLineOptions("--fmiFlags=s:cvode") Running command: "" <> buildModelFMU(Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_LCM,fileNamePrefix="Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_LCM",fmuType="me_cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_LCM,fileNamePrefix="Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_LCM",fmuType="me_cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.084e-06/2.084e-06, allocations: 0 / 397.8 MB, free: 460 kB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.107e-05/3.315e-05, allocations: 2.281 kB / 397.8 MB, free: 456 kB / 362.7 MB Notification: Performance of NFInst.instantiate(Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_LCM): time 0.004096/0.004129, allocations: 2.973 MB / 400.8 MB, free: 13.45 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001217/0.005346, allocations: 0.856 MB / 401.7 MB, free: 12.59 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001409/0.005487, allocations: 11.88 kB / 401.7 MB, free: 12.58 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002949/0.005782, allocations: 91.06 kB / 401.8 MB, free: 12.49 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002041/0.005986, allocations: 67.39 kB / 401.8 MB, free: 12.43 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.0005684/0.006555, allocations: 294.9 kB / 402.1 MB, free: 12.14 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003545/0.006909, allocations: 418.8 kB / 402.5 MB, free: 11.73 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002559/0.007165, allocations: 131.7 kB / 402.7 MB, free: 11.59 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002067/0.007372, allocations: 283.4 kB / 402.9 MB, free: 11.32 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002669/0.007639, allocations: 191.4 kB / 403.1 MB, free: 11.13 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 5.661e-05/0.007695, allocations: 44 kB / 403.2 MB, free: 11.09 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002406/0.007936, allocations: 203.6 kB / 403.4 MB, free: 10.89 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001318/0.008068, allocations: 155.5 kB / 403.5 MB, free: 10.73 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001214/0.008189, allocations: 135.6 kB / 403.7 MB, free: 10.6 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006078/0.008797, allocations: 0.7047 MB / 404.4 MB, free: 9.895 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.723e-06/0.008804, allocations: 7.984 kB / 404.4 MB, free: 9.887 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.693e-06/0.008805, allocations: 0 / 404.4 MB, free: 9.887 MB / 378.7 MB Notification: Performance of Transformations before backend: time 8.025e-06/0.008813, allocations: 0 / 404.4 MB, free: 9.887 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.001269/0.01008, allocations: 1.079 MB / 405.4 MB, free: 8.719 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.17e-05/0.01013, allocations: 12.03 kB / 405.5 MB, free: 8.707 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.789e-05/0.0102, allocations: 82.69 kB / 405.5 MB, free: 8.617 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.917e-05/0.01028, allocations: 52.61 kB / 405.6 MB, free: 8.566 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002526/0.01053, allocations: 269 kB / 405.8 MB, free: 8.277 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.429e-05/0.01057, allocations: 25.38 kB / 405.9 MB, free: 8.254 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.872e-05/0.01061, allocations: 44.36 kB / 405.9 MB, free: 8.211 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005327/0.01114, allocations: 484 kB / 406.4 MB, free: 7.715 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.407e-05/0.01115, allocations: 4.125 kB / 406.4 MB, free: 7.711 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.703e-05/0.01118, allocations: 20.36 kB / 406.4 MB, free: 7.691 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.185e-05/0.01119, allocations: 16.12 kB / 406.4 MB, free: 7.676 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003175/0.01151, allocations: 267.6 kB / 406.7 MB, free: 7.414 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001114/0.01262, allocations: 1.229 MB / 407.9 MB, free: 6.125 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004257/0.01305, allocations: 282.2 kB / 408.2 MB, free: 5.812 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001517/0.0132, allocations: 147.4 kB / 408.3 MB, free: 5.66 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.62e-05/0.01323, allocations: 7.984 kB / 408.3 MB, free: 5.652 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002685/0.0135, allocations: 260.6 kB / 408.6 MB, free: 5.367 MB / 378.7 MB Notification: Performance of pre-optimization done (n=40): time 2.374e-06/0.0135, allocations: 0 / 408.6 MB, free: 5.367 MB / 378.7 MB Notification: Performance of matching and sorting (n=40): time 0.0007708/0.01427, allocations: 0.5815 MB / 409.2 MB, free: 4.781 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.136e-05/0.01435, allocations: 152.5 kB / 409.3 MB, free: 4.602 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002101/0.01456, allocations: 273.5 kB / 409.6 MB, free: 4.324 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.706e-05/0.01459, allocations: 41.69 kB / 409.6 MB, free: 4.277 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001143/0.0147, allocations: 212.7 kB / 409.8 MB, free: 4.062 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.742e-05/0.01477, allocations: 99.28 kB / 409.9 MB, free: 3.965 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001477/0.01492, allocations: 118.1 kB / 410.1 MB, free: 3.844 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001034/0.01502, allocations: 350.8 kB / 410.4 MB, free: 3.492 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001486/0.01517, allocations: 124.9 kB / 410.5 MB, free: 3.371 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002388/0.01541, allocations: 313.8 kB / 410.8 MB, free: 2.973 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000409/0.01582, allocations: 488.4 kB / 411.3 MB, free: 2.406 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.959e-06/0.01582, allocations: 0 / 411.3 MB, free: 2.406 MB / 378.7 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.0004987/0.01632, allocations: 492.7 kB / 411.8 MB, free: 1.918 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.425e-05/0.01634, allocations: 10.81 kB / 411.8 MB, free: 1.91 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.649e-06/0.01635, allocations: 8 kB / 411.8 MB, free: 1.902 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.314e-05/0.01638, allocations: 11.94 kB / 411.8 MB, free: 1.891 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001433/0.01652, allocations: 76.56 kB / 411.9 MB, free: 1.816 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.343e-05/0.01653, allocations: 11.98 kB / 411.9 MB, free: 1.805 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001002/0.01663, allocations: 47.67 kB / 412 MB, free: 1.758 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.376e-05/0.01666, allocations: 24 kB / 412 MB, free: 1.734 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.0002112/0.01687, allocations: 239.5 kB / 412.2 MB, free: 1.492 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.833e-05/0.01691, allocations: 31.81 kB / 412.2 MB, free: 1.461 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003209/0.01723, allocations: 243.4 kB / 412.5 MB, free: 1.219 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.362e-06/0.01723, allocations: 4 kB / 412.5 MB, free: 1.215 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.364e-06/0.01724, allocations: 0 / 412.5 MB, free: 1.215 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.1e-06/0.01725, allocations: 0 / 412.5 MB, free: 1.215 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008991/0.01815, allocations: 0.9688 MB / 413.5 MB, free: 200 kB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.995e-06/0.01815, allocations: 0 / 413.5 MB, free: 200 kB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.651e-05/0.01819, allocations: 15.98 kB / 413.5 MB, free: 184 kB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.701e-06/0.01819, allocations: 4 kB / 413.5 MB, free: 180 kB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.859e-05/0.01821, allocations: 11.98 kB / 413.5 MB, free: 168 kB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.765e-06/0.01821, allocations: 0 / 413.5 MB, free: 168 kB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.048e-06/0.01822, allocations: 8.062 kB / 413.5 MB, free: 160 kB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005794/0.0188, allocations: 0.6611 MB / 414.2 MB, free: 15.47 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.64e-05/0.01882, allocations: 35.67 kB / 414.2 MB, free: 15.44 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.848e-05/0.01885, allocations: 11.98 kB / 414.2 MB, free: 15.43 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.027e-05/0.01892, allocations: 8 kB / 414.2 MB, free: 15.42 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.177e-05/0.01897, allocations: 23.91 kB / 414.2 MB, free: 15.39 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.9e-05/0.019, allocations: 19.92 kB / 414.2 MB, free: 15.38 MB / 394.7 MB Notification: Performance of sorting global known variables: time 8.968e-05/0.01909, allocations: 153.2 kB / 414.4 MB, free: 15.23 MB / 394.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01909, allocations: 0 / 414.4 MB, free: 15.23 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.000463/0.01955, allocations: 159.5 kB / 414.6 MB, free: 15.07 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.001666/0.02122, allocations: 1.476 MB / 416 MB, free: 13.64 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0004582/0.02168, allocations: 343.5 kB / 416.4 MB, free: 13.31 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.326e-06/0.02168, allocations: 1.812 kB / 416.4 MB, free: 13.31 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001649/0.02185, allocations: 151.7 kB / 416.5 MB, free: 13.16 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004261/0.02227, allocations: 88.22 kB / 416.6 MB, free: 13.08 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00324/0.02551, allocations: 3.496 MB / 420.1 MB, free: 9.309 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001649/0.02568, allocations: 219 kB / 420.3 MB, free: 9.074 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0001295/0.02581, allocations: 50.94 kB / 420.4 MB, free: 9.023 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000128/0.02593, allocations: 120.6 kB / 420.5 MB, free: 8.906 MB / 394.7 MB Notification: Performance of SimCode: time 1.011e-06/0.02594, allocations: 4 kB / 420.5 MB, free: 8.902 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09134/0.1173, allocations: 9.829 MB / 430.3 MB, free: 15.22 MB / 410.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 CMake Warning (deprecated) at CMakeLists.txt:1 (cmake_minimum_required): Compatibility with CMake < 3.10 will be removed from a future version of CMake. Update the VERSION argument value. Or, use the ... syntax to tell CMake that the project requires at least but has been updated to work with policies introduced by or earlier. This warning is for project developers. Use -Wno-author or -Wno-deprecated to suppress it. -- The C compiler identification is Clang 21.1.8 -- 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_DIRECTORY: /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc -- SUNDIALS_CVODE_LIBRARY: /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/x86_64-linux-gnu/omc/libsundials_cvode.so -- SUNDIALS_NVECSERIAL_LIBRARY: /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/x86_64-linux-gnu/omc/libsundials_nvecserial.so -- CVODE: /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/x86_64-linux-gnu/omc/libsundials_nvecserial.so /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/x86_64-linux-gnu/omc/libsundials_cvode.so -- 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;/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/x86_64-linux-gnu/omc/libsundials_cvode.so;/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/x86_64-linux-gnu/omc/libsundials_nvecserial.so CMake Warning (policy) at CMakeLists.txt:270 (install): Policy CMP0177 is not set: install() DESTINATION paths are normalized. Run \"cmake --help-policy CMP0177\" for policy details. Use the cmake_policy command to set the policy and suppress this warning. This warning is for project developers. Use -Wno-author or -Wno-policy to suppress it. CMake Warning (policy) at CMakeLists.txt:270 (install): Policy CMP0177 is not set: install() DESTINATION paths are normalized. Run \"cmake --help-policy CMP0177\" for policy details. Use the cmake_policy command to set the policy and suppress this warning. This warning is for project developers. Use -Wno-author or -Wno-policy to suppress it. CMake Warning (policy) at CMakeLists.txt:270 (install): Policy CMP0177 is not set: install() DESTINATION paths are normalized. Run \"cmake --help-policy CMP0177\" for policy details. Use the cmake_policy command to set the policy and suppress this warning. This warning is for project developers. Use -Wno-author or -Wno-policy to suppress it. CMake Warning (policy) at CMakeLists.txt:270 (install): Policy CMP0177 is not set: install() DESTINATION paths are normalized. Run \"cmake --help-policy CMP0177\" for policy details. Use the cmake_policy command to set the policy and suppress this warning. This warning is for project developers. Use -Wno-author or -Wno-policy to suppress it. -- 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.4938883585855365]