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.001299/0.001299, allocations: 109 kB / 20.5 MB, free: 1.453 MB / 14.72 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.001467/0.001467, allocations: 209.9 kB / 23.8 MB, free: 4.672 MB / 14.72 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.435/1.435, allocations: 230.6 MB / 257.6 MB, free: 7.984 MB / 206.1 MB " [Timeout remaining time 178] 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.06248/0.06248, allocations: 12.22 MB / 326.2 MB, free: 7.246 MB / 254.1 MB " [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: translateModel(Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_LCM,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_LCM") translateModel(Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_LCM,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_LCM") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002174/0.002174, allocations: 63.89 kB / 454.6 MB, free: 8.488 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1039/0.1061, allocations: 56.39 MB / 0.4991 GB, free: 0 / 366.1 MB Notification: Performance of NFInst.instantiate(Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_LCM): time 0.005665/0.1117, allocations: 3.053 MB / 0.502 GB, free: 12.93 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001966/0.1137, allocations: 0.9068 MB / 0.5029 GB, free: 12.02 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002467/0.1139, allocations: 11.88 kB / 0.5029 GB, free: 12.01 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003773/0.1143, allocations: 91.12 kB / 0.503 GB, free: 11.92 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002865/0.1146, allocations: 59.52 kB / 0.5031 GB, free: 11.86 MB / 382.1 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.0009725/0.1156, allocations: 287.2 kB / 0.5033 GB, free: 11.58 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006147/0.1162, allocations: 422.8 kB / 0.5038 GB, free: 11.17 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003324/0.1165, allocations: 131.5 kB / 0.5039 GB, free: 11.03 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000308/0.1168, allocations: 211.3 kB / 0.5041 GB, free: 10.82 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00042/0.1173, allocations: 246.9 kB / 0.5043 GB, free: 10.58 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001141/0.1174, allocations: 47.94 kB / 0.5044 GB, free: 10.54 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004104/0.1178, allocations: 203.9 kB / 0.5046 GB, free: 10.34 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002032/0.118, allocations: 155.5 kB / 0.5047 GB, free: 10.18 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002649/0.1183, allocations: 222.8 kB / 0.5049 GB, free: 9.965 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001014/0.1193, allocations: 0.6769 MB / 0.5056 GB, free: 9.285 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.013e-06/0.1193, allocations: 4 kB / 0.5056 GB, free: 9.281 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.462e-06/0.1193, allocations: 0 / 0.5056 GB, free: 9.281 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.808e-05/0.1193, allocations: 0 / 0.5056 GB, free: 9.281 MB / 382.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.002047/0.1213, allocations: 1.081 MB / 0.5066 GB, free: 8.117 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.997e-05/0.1214, allocations: 8.031 kB / 0.5066 GB, free: 8.109 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001355/0.1215, allocations: 56.59 kB / 0.5067 GB, free: 8.055 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004636/0.122, allocations: 273.7 kB / 0.507 GB, free: 7.762 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.274e-05/0.122, allocations: 29.38 kB / 0.507 GB, free: 7.73 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.669e-05/0.1221, allocations: 44.36 kB / 0.507 GB, free: 7.688 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000866/0.123, allocations: 480 kB / 0.5075 GB, free: 7.199 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.702e-05/0.123, allocations: 192 / 0.5075 GB, free: 7.199 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.457e-05/0.123, allocations: 23.92 kB / 0.5075 GB, free: 7.176 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.834e-05/0.1231, allocations: 19.98 kB / 0.5075 GB, free: 7.156 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005271/0.1236, allocations: 263.7 kB / 0.5078 GB, free: 6.898 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002004/0.1256, allocations: 1.323 MB / 0.5091 GB, free: 5.516 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005935/0.1262, allocations: 278.3 kB / 0.5093 GB, free: 5.207 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000259/0.1264, allocations: 139.4 kB / 0.5095 GB, free: 5.059 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.285e-05/0.1265, allocations: 11.98 kB / 0.5095 GB, free: 5.047 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004356/0.1269, allocations: 252.7 kB / 0.5097 GB, free: 4.77 MB / 382.1 MB Notification: Performance of pre-optimization done (n=40): time 2.174e-06/0.1269, allocations: 4 kB / 0.5097 GB, free: 4.766 MB / 382.1 MB Notification: Performance of matching and sorting (n=40): time 0.001167/0.1281, allocations: 0.5848 MB / 0.5103 GB, free: 4.18 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001322/0.1282, allocations: 152.5 kB / 0.5104 GB, free: 4 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003501/0.1286, allocations: 264.7 kB / 0.5107 GB, free: 3.73 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 5.618e-05/0.1286, allocations: 45.69 kB / 0.5107 GB, free: 3.68 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001888/0.1288, allocations: 216.7 kB / 0.5109 GB, free: 3.461 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001103/0.1289, allocations: 99.31 kB / 0.511 GB, free: 3.363 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002087/0.1291, allocations: 126.1 kB / 0.5112 GB, free: 3.23 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001786/0.1293, allocations: 350.7 kB / 0.5115 GB, free: 2.879 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002451/0.1295, allocations: 116.9 kB / 0.5116 GB, free: 2.766 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003965/0.1299, allocations: 321.8 kB / 0.5119 GB, free: 2.363 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006746/0.1306, allocations: 484.4 kB / 0.5124 GB, free: 1.801 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.432e-06/0.1306, allocations: 0 / 0.5124 GB, free: 1.801 MB / 382.1 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.0008853/0.1315, allocations: 488.9 kB / 0.5128 GB, free: 1.316 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.337e-05/0.1315, allocations: 8 kB / 0.5128 GB, free: 1.309 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.34e-05/0.1315, allocations: 4 kB / 0.5129 GB, free: 1.305 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.858e-05/0.1316, allocations: 12 kB / 0.5129 GB, free: 1.293 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002769/0.1318, allocations: 71.84 kB / 0.5129 GB, free: 1.223 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.157e-05/0.1319, allocations: 20.52 kB / 0.513 GB, free: 1.203 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002093/0.1321, allocations: 47.67 kB / 0.513 GB, free: 1.156 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.941e-05/0.1321, allocations: 24.09 kB / 0.513 GB, free: 1.133 MB / 382.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.0003424/0.1325, allocations: 238.9 kB / 0.5132 GB, free: 0.8906 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.805e-05/0.1325, allocations: 27.81 kB / 0.5133 GB, free: 0.8633 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005109/0.1331, allocations: 247.3 kB / 0.5135 GB, free: 0.6172 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.224e-06/0.1331, allocations: 4 kB / 0.5135 GB, free: 0.6133 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.722e-06/0.1331, allocations: 0 / 0.5135 GB, free: 0.6133 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.851e-06/0.1331, allocations: 0 / 0.5135 GB, free: 0.6133 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1957/0.3287, allocations: 0.9912 MB / 0.5145 GB, free: 21.08 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.664e-06/0.3287, allocations: 3.688 kB / 0.5145 GB, free: 21.08 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.768e-05/0.3288, allocations: 10.75 kB / 0.5145 GB, free: 21.08 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.971e-06/0.3288, allocations: 1.594 kB / 0.5145 GB, free: 21.08 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.134e-05/0.3289, allocations: 12.95 kB / 0.5145 GB, free: 21.08 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.282e-06/0.3289, allocations: 10.28 kB / 0.5145 GB, free: 21.08 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.083e-06/0.3289, allocations: 0 / 0.5145 GB, free: 21.08 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000705/0.3296, allocations: 0.6512 MB / 0.5152 GB, free: 20.85 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.228e-05/0.3296, allocations: 35.47 kB / 0.5152 GB, free: 20.85 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.189e-05/0.3297, allocations: 15.27 kB / 0.5152 GB, free: 20.85 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001559/0.3298, allocations: 8.25 kB / 0.5152 GB, free: 20.85 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.365e-05/0.3299, allocations: 20.64 kB / 0.5152 GB, free: 20.85 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.442e-05/0.3299, allocations: 18.09 kB / 0.5152 GB, free: 20.85 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001225/0.33, allocations: 152.5 kB / 0.5154 GB, free: 20.77 MB / 382.1 MB Notification: Performance of sort global known variables: time 9e-08/0.33, allocations: 0 / 0.5154 GB, free: 20.77 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0007433/0.3308, allocations: 153.6 kB / 0.5155 GB, free: 20.77 MB / 382.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.0009831/0.3318, allocations: 366.7 kB / 0.5159 GB, free: 20.67 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0006156/0.3324, allocations: 350.3 kB / 0.5162 GB, free: 20.67 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.3324, allocations: 0 / 0.5162 GB, free: 20.67 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002342/0.3326, allocations: 147.4 kB / 0.5164 GB, free: 20.67 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006503/0.3333, allocations: 96.52 kB / 0.5165 GB, free: 20.66 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001246/0.3345, allocations: 0.7286 MB / 0.5172 GB, free: 20.3 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002257/0.3347, allocations: 0.8114 MB / 0.518 GB, free: 19.6 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.287e-05/0.3348, allocations: 38.31 kB / 0.518 GB, free: 19.59 MB / 382.1 MB Notification: Performance of SimCode: time 3.1e-07/0.3348, allocations: 1.969 kB / 0.518 GB, free: 19.59 MB / 382.1 MB Notification: Performance of Templates: time 0.01047/0.3453, allocations: 6.198 MB / 0.5241 GB, free: 18.95 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_LCM.makefile [Timeout 660] make -j1 -f Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_LCM.makefile clang++ -std=c++17 -fopenmp=libomp -Winvalid-pch -O2 -g -DNDEBUG -fPIC -std=c++11 -DBOOST_ALL_DYN_LINK -DUSE_DGESV -DUSE_LOGGER -DOMC_BUILD -DUSE_THREAD -DSUNDIALS_MAJOR_VERSION=5 -DSUNDIALS_MINOR_VERSION=4 -DPMC_USE_SUNDIALS -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/" -I. "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers master/Resources/Include" -I"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/sundials" "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers master/Resources/Include" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppModelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_LCMCalcHelperMain.o OMCppModelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_LCMCalcHelperMain.cpp In file included from OMCppModelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_LCMCalcHelperMain.cpp:28: In file included from ./OMCppModelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_LCMFunctions.cpp:5: /home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers master/Resources/Include/MDDSerialPackager.h:452:5: error: no matching function for call to 'strncpy' strncpy(pkg->data + pkg->pos, u, (size_t)bufferSize); ^~~~~~~ /usr/include/string.h:144:14: note: candidate function not viable: no known conversion from 'unsigned char *' to 'char *__restrict' for 1st argument extern char *strncpy (char *__restrict __dest, ^ In file included from OMCppModelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_LCMCalcHelperMain.cpp:28: In file included from ./OMCppModelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_LCMFunctions.cpp:6: /home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers master/Resources/Include/MDDLCM.h:35:22: error: no matching function for call to 'MDD_SerialPackagerSetDataWithErrorReturn' int rc = MDD_SerialPackagerSetDataWithErrorReturn(lcm->pkg, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers master/Resources/Include/MDDSerialPackager.h:177:5: note: candidate function not viable: cannot convert argument of incomplete type 'void *const' to 'const char *' for 2nd argument int MDD_SerialPackagerSetDataWithErrorReturn(void* p_package, const char * data, int size) { ^ 2 errors generated. make: *** [: OMCppModelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_LCMCalcHelperMain.o] Error 1 [Calling os._exit(0), Time elapsed: 4.151159239001572] Failed to read output from testmodel.py, exit status != 0: 0.35386097407899797 0.36625606599999994 0.244144408 Calling exit ...