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.001784/0.001784, allocations: 100.4 kB / 20.49 MB, free: 1.344 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.002519/0.002519, allocations: 201.3 kB / 23.78 MB, free: 4.5 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.489/1.489, allocations: 230.6 MB / 257.5 MB, free: 7.785 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.06331/0.06331, allocations: 12.23 MB / 326.2 MB, free: 7.152 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.002418/0.002418, allocations: 63.91 kB / 454.5 MB, free: 8.355 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1161/0.1185, allocations: 56.4 MB / 0.499 GB, free: 15.86 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_LCM): time 0.005163/0.1237, allocations: 2.96 MB / 0.5019 GB, free: 12.89 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001747/0.1254, allocations: 0.8601 MB / 0.5027 GB, free: 12.03 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001356/0.1256, allocations: 11.88 kB / 0.5027 GB, free: 12.02 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003176/0.1259, allocations: 91.19 kB / 0.5028 GB, free: 11.93 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002056/0.1261, allocations: 63.45 kB / 0.5029 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.0008005/0.1269, allocations: 287.2 kB / 0.5031 GB, free: 11.58 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004788/0.1274, allocations: 414.8 kB / 0.5035 GB, free: 11.18 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002977/0.1277, allocations: 139.5 kB / 0.5037 GB, free: 11.03 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002257/0.1279, allocations: 203.3 kB / 0.5039 GB, free: 10.83 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003026/0.1282, allocations: 218.9 kB / 0.5041 GB, free: 10.62 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 7.276e-05/0.1283, allocations: 48 kB / 0.5041 GB, free: 10.57 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000307/0.1286, allocations: 207.8 kB / 0.5043 GB, free: 10.37 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001648/0.1287, allocations: 147.6 kB / 0.5044 GB, free: 10.22 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001708/0.1289, allocations: 171 kB / 0.5046 GB, free: 10.05 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000786/0.1297, allocations: 0.6847 MB / 0.5053 GB, free: 9.367 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.047e-06/0.1297, allocations: 0 / 0.5053 GB, free: 9.367 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.152e-06/0.1297, allocations: 0 / 0.5053 GB, free: 9.367 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.248e-06/0.1297, allocations: 0 / 0.5053 GB, free: 9.367 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.001817/0.1315, allocations: 1.089 MB / 0.5063 GB, free: 8.195 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.013e-05/0.1316, allocations: 12.03 kB / 0.5064 GB, free: 8.184 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001192/0.1317, allocations: 52.61 kB / 0.5064 GB, free: 8.133 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004209/0.1321, allocations: 273.7 kB / 0.5067 GB, free: 7.84 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.335e-05/0.1322, allocations: 37.34 kB / 0.5067 GB, free: 7.801 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.769e-05/0.1322, allocations: 36.38 kB / 0.5067 GB, free: 7.766 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000836/0.1331, allocations: 484 kB / 0.5072 GB, free: 7.273 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.581e-05/0.1331, allocations: 192 / 0.5072 GB, free: 7.273 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.501e-05/0.1331, allocations: 19.92 kB / 0.5072 GB, free: 7.254 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.92e-05/0.1332, allocations: 15.94 kB / 0.5072 GB, free: 7.238 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000486/0.1336, allocations: 263.7 kB / 0.5075 GB, free: 6.98 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001652/0.1353, allocations: 1.16 MB / 0.5086 GB, free: 5.773 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000587/0.1359, allocations: 282.2 kB / 0.5089 GB, free: 5.461 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002421/0.1361, allocations: 139.4 kB / 0.509 GB, free: 5.312 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.122e-05/0.1362, allocations: 4 kB / 0.509 GB, free: 5.309 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004177/0.1366, allocations: 256.6 kB / 0.5093 GB, free: 5.027 MB / 382.1 MB Notification: Performance of pre-optimization done (n=40): time 1.793e-06/0.1366, allocations: 0 / 0.5093 GB, free: 5.027 MB / 382.1 MB Notification: Performance of matching and sorting (n=40): time 0.001238/0.1378, allocations: 0.5845 MB / 0.5098 GB, free: 4.441 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001528/0.138, allocations: 152.5 kB / 0.51 GB, free: 4.262 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004018/0.1384, allocations: 264.7 kB / 0.5102 GB, free: 3.992 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 5.528e-05/0.1384, allocations: 45.69 kB / 0.5103 GB, free: 3.941 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002364/0.1387, allocations: 224.6 kB / 0.5105 GB, free: 3.715 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001141/0.1388, allocations: 99.31 kB / 0.5106 GB, free: 3.617 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001872/0.139, allocations: 122.1 kB / 0.5107 GB, free: 3.488 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001928/0.1391, allocations: 346.8 kB / 0.511 GB, free: 3.141 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002459/0.1394, allocations: 120.9 kB / 0.5111 GB, free: 3.023 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004532/0.1398, allocations: 313.8 kB / 0.5114 GB, free: 2.629 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007216/0.1406, allocations: 488.4 kB / 0.5119 GB, free: 2.062 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.528e-06/0.1406, allocations: 0 / 0.5119 GB, free: 2.062 MB / 382.1 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.0008249/0.1414, allocations: 489.4 kB / 0.5124 GB, free: 1.578 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.099e-05/0.1414, allocations: 8 kB / 0.5124 GB, free: 1.57 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.683e-05/0.1414, allocations: 16.05 kB / 0.5124 GB, free: 1.555 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.612e-05/0.1415, allocations: 8 kB / 0.5124 GB, free: 1.547 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002756/0.1417, allocations: 75.84 kB / 0.5125 GB, free: 1.473 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.674e-05/0.1418, allocations: 11.98 kB / 0.5125 GB, free: 1.461 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001857/0.1419, allocations: 39.77 kB / 0.5125 GB, free: 1.422 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.534e-05/0.142, allocations: 27.94 kB / 0.5126 GB, free: 1.395 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.0003331/0.1423, allocations: 250.9 kB / 0.5128 GB, free: 1.141 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.121e-05/0.1424, allocations: 27.81 kB / 0.5128 GB, free: 1.113 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004533/0.1428, allocations: 239.4 kB / 0.5131 GB, free: 0.875 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.883e-06/0.1428, allocations: 4 kB / 0.5131 GB, free: 0.8711 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.414e-06/0.1428, allocations: 0 / 0.5131 GB, free: 0.8711 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.753e-06/0.1429, allocations: 0 / 0.5131 GB, free: 0.8711 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2401/0.383, allocations: 0.8769 MB / 0.5139 GB, free: 21.11 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-05/0.383, allocations: 1.188 kB / 0.5139 GB, free: 21.11 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001089/0.3831, allocations: 12.28 kB / 0.5139 GB, free: 21.11 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.476e-06/0.3831, allocations: 4.109 kB / 0.5139 GB, free: 21.11 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.588e-05/0.3832, allocations: 13.47 kB / 0.5139 GB, free: 21.11 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.454e-06/0.3832, allocations: 2.531 kB / 0.5139 GB, free: 21.11 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.875e-06/0.3832, allocations: 1.438 kB / 0.5139 GB, free: 21.11 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008862/0.3841, allocations: 0.6684 MB / 0.5146 GB, free: 20.88 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.848e-05/0.3841, allocations: 31.12 kB / 0.5146 GB, free: 20.88 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.374e-05/0.3842, allocations: 11.53 kB / 0.5146 GB, free: 20.88 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001662/0.3843, allocations: 7.984 kB / 0.5146 GB, free: 20.88 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.263e-05/0.3844, allocations: 25.14 kB / 0.5147 GB, free: 20.88 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.642e-05/0.3844, allocations: 18.69 kB / 0.5147 GB, free: 20.88 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001267/0.3846, allocations: 152.4 kB / 0.5148 GB, free: 20.8 MB / 382.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.3846, allocations: 0 / 0.5148 GB, free: 20.8 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0006525/0.3852, allocations: 154.4 kB / 0.515 GB, free: 20.8 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.001056/0.3863, allocations: 390.8 kB / 0.5154 GB, free: 20.69 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0005862/0.3869, allocations: 342.4 kB / 0.5157 GB, free: 20.69 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.3869, allocations: 3.828 kB / 0.5157 GB, free: 20.69 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002452/0.3871, allocations: 157.2 kB / 0.5158 GB, free: 20.69 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006036/0.3877, allocations: 80.83 kB / 0.5159 GB, free: 20.69 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001224/0.3889, allocations: 0.7323 MB / 0.5166 GB, free: 20.32 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001745/0.3891, allocations: 205.3 kB / 0.5168 GB, free: 20.24 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.584e-05/0.3892, allocations: 32.86 kB / 0.5169 GB, free: 20.23 MB / 382.1 MB Notification: Performance of SimCode: time 5.91e-07/0.3892, allocations: 0 / 0.5169 GB, free: 20.23 MB / 382.1 MB Notification: Performance of Templates: time 0.01039/0.3996, allocations: 6.264 MB / 0.523 GB, free: 19.6 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 -DOMC_BUILD -DUSE_THREAD -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.367943295277655] Failed to read output from testmodel.py, exit status != 0: 0.408692873083055 0.42072066199999997 0.28834157999999993 Calling exit ...