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.0007239/0.0007239, allocations: 80.45 kB / 20.72 MB, free: 3.828 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.0007371/0.0007371, allocations: 173.9 kB / 24.01 MB, free: 0.543 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.851/0.851, allocations: 177.1 MB / 204.3 MB, free: 5.73 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.03357/0.03357, allocations: 9.134 MB / 269.9 MB, free: 4.453 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: 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 1.583e-06/1.583e-06, allocations: 0 / 398.3 MB, free: 15.55 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.926e-05/2.084e-05, allocations: 2.281 kB / 398.3 MB, free: 15.55 MB / 330.7 MB Notification: Performance of NFInst.instantiate(Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_LCM): time 0.00283/0.002851, allocations: 2.971 MB / 401.3 MB, free: 12.56 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009185/0.003769, allocations: 0.856 MB / 402.1 MB, free: 11.7 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.042e-05/0.00386, allocations: 11.88 kB / 402.2 MB, free: 11.69 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002153/0.004075, allocations: 91.12 kB / 402.2 MB, free: 11.6 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001539/0.004229, allocations: 67.33 kB / 402.3 MB, free: 11.53 MB / 330.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.0004247/0.004654, allocations: 291 kB / 402.6 MB, free: 11.25 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.00031/0.004964, allocations: 414.9 kB / 403 MB, free: 10.84 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002045/0.005168, allocations: 139.5 kB / 403.1 MB, free: 10.7 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001773/0.005346, allocations: 287.4 kB / 403.4 MB, free: 10.42 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001805/0.005526, allocations: 191.5 kB / 403.6 MB, free: 10.23 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 4.191e-05/0.005568, allocations: 44 kB / 403.6 MB, free: 10.19 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003177/0.005886, allocations: 203.6 kB / 403.8 MB, free: 9.992 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001091/0.005995, allocations: 155.5 kB / 404 MB, free: 9.84 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 9.076e-05/0.006085, allocations: 143.6 kB / 404.1 MB, free: 9.699 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004752/0.006561, allocations: 0.6968 MB / 404.8 MB, free: 9 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.625e-06/0.006563, allocations: 0 / 404.8 MB, free: 9 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.002e-06/0.006564, allocations: 0 / 404.8 MB, free: 9 MB / 330.7 MB Notification: Performance of Transformations before backend: time 5.139e-06/0.006569, allocations: 4 kB / 404.8 MB, free: 8.996 MB / 330.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.001044/0.007614, allocations: 1.083 MB / 405.9 MB, free: 7.824 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.288e-05/0.007647, allocations: 12.03 kB / 405.9 MB, free: 7.812 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.774e-05/0.007715, allocations: 56.58 kB / 406 MB, free: 7.758 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002256/0.00794, allocations: 261 kB / 406.2 MB, free: 7.477 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.875e-05/0.007969, allocations: 37.36 kB / 406.3 MB, free: 7.441 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.208e-05/0.008001, allocations: 36.36 kB / 406.3 MB, free: 7.406 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000461/0.008462, allocations: 484 kB / 406.8 MB, free: 6.91 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.094e-05/0.008473, allocations: 192 / 406.8 MB, free: 6.91 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.28e-05/0.008496, allocations: 16.38 kB / 406.8 MB, free: 6.895 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.963e-06/0.008503, allocations: 8.375 kB / 406.8 MB, free: 6.887 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002982/0.008801, allocations: 271.6 kB / 407.1 MB, free: 6.621 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008526/0.009654, allocations: 1.156 MB / 408.2 MB, free: 5.414 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003379/0.009991, allocations: 274.4 kB / 408.5 MB, free: 5.109 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001335/0.01012, allocations: 147.4 kB / 408.6 MB, free: 4.953 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.253e-05/0.01015, allocations: 7.984 kB / 408.7 MB, free: 4.945 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002155/0.01036, allocations: 256.6 kB / 408.9 MB, free: 4.664 MB / 330.7 MB Notification: Performance of pre-optimization done (n=40): time 1.433e-06/0.01036, allocations: 0 / 408.9 MB, free: 4.664 MB / 330.7 MB Notification: Performance of matching and sorting (n=40): time 0.0006552/0.01102, allocations: 0.5817 MB / 409.5 MB, free: 4.078 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.013e-05/0.01108, allocations: 156.4 kB / 409.6 MB, free: 3.895 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001682/0.01125, allocations: 273.5 kB / 409.9 MB, free: 3.621 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.469e-05/0.01127, allocations: 41.7 kB / 409.9 MB, free: 3.574 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.001e-05/0.01136, allocations: 224.6 kB / 410.2 MB, free: 3.352 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.591e-05/0.01142, allocations: 103.2 kB / 410.3 MB, free: 3.25 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.608e-05/0.01151, allocations: 122.2 kB / 410.4 MB, free: 3.121 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0002052/0.01172, allocations: 342.8 kB / 410.7 MB, free: 2.777 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001378/0.01186, allocations: 116.9 kB / 410.8 MB, free: 2.664 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001971/0.01205, allocations: 325.7 kB / 411.2 MB, free: 2.262 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003596/0.01241, allocations: 480.4 kB / 411.6 MB, free: 1.703 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.266e-06/0.01242, allocations: 0 / 411.6 MB, free: 1.703 MB / 330.7 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.0004544/0.01287, allocations: 0.4896 MB / 412.1 MB, free: 1.207 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.293e-05/0.01288, allocations: 8 kB / 412.1 MB, free: 1.199 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.463e-06/0.01289, allocations: 4 kB / 412.1 MB, free: 1.195 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.447e-05/0.01291, allocations: 12 kB / 412.1 MB, free: 1.184 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000129/0.01303, allocations: 75.83 kB / 412.2 MB, free: 1.109 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.008e-05/0.01304, allocations: 15.94 kB / 412.2 MB, free: 1.094 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.004e-05/0.01314, allocations: 35.78 kB / 412.3 MB, free: 1.059 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.186e-05/0.01316, allocations: 27.98 kB / 412.3 MB, free: 1.031 MB / 330.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.0001546/0.01331, allocations: 231.1 kB / 412.5 MB, free: 0.7969 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.342e-05/0.01334, allocations: 35.75 kB / 412.5 MB, free: 0.7617 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002555/0.0136, allocations: 243.2 kB / 412.8 MB, free: 0.5195 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.246e-06/0.0136, allocations: 4 kB / 412.8 MB, free: 0.5156 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.167e-06/0.01361, allocations: 0 / 412.8 MB, free: 0.5156 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.21e-06/0.01361, allocations: 7.984 kB / 412.8 MB, free: 0.5078 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1184/0.132, allocations: 0.8718 MB / 413.7 MB, free: 27.22 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.528e-06/0.132, allocations: 4.375 kB / 413.7 MB, free: 27.22 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.968e-05/0.132, allocations: 12.92 kB / 413.7 MB, free: 27.22 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.428e-06/0.132, allocations: 5.812 kB / 413.7 MB, free: 27.22 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.113e-05/0.1321, allocations: 17.16 kB / 413.7 MB, free: 27.22 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.607e-06/0.1321, allocations: 1.969 kB / 413.7 MB, free: 27.22 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.1321, allocations: 2.938 kB / 413.7 MB, free: 27.22 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005405/0.1326, allocations: 0.6579 MB / 414.4 MB, free: 26.98 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.921e-05/0.1326, allocations: 33.92 kB / 414.4 MB, free: 26.98 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.539e-05/0.1327, allocations: 13.02 kB / 414.4 MB, free: 26.98 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.23e-05/0.1327, allocations: 9.891 kB / 414.4 MB, free: 26.98 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.874e-05/0.1328, allocations: 23.81 kB / 414.5 MB, free: 26.98 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.829e-05/0.1328, allocations: 17.31 kB / 414.5 MB, free: 26.98 MB / 330.7 MB Notification: Performance of sorting global known variables: time 8.044e-05/0.1329, allocations: 151.9 kB / 414.6 MB, free: 26.9 MB / 330.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.1329, allocations: 0 / 414.6 MB, free: 26.9 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0004068/0.1333, allocations: 156.8 kB / 414.8 MB, free: 26.9 MB / 330.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.0005388/0.1338, allocations: 378 kB / 415.1 MB, free: 26.8 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0004044/0.1342, allocations: 342.5 kB / 415.5 MB, free: 26.71 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.1342, allocations: 1.219 kB / 415.5 MB, free: 26.71 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001537/0.1344, allocations: 154.4 kB / 415.6 MB, free: 26.67 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003665/0.1348, allocations: 91.58 kB / 415.7 MB, free: 26.65 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008206/0.1356, allocations: 0.7402 MB / 416.5 MB, free: 26.23 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001302/0.1357, allocations: 206.7 kB / 416.7 MB, free: 26.14 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.047e-05/0.1358, allocations: 39.14 kB / 416.7 MB, free: 26.13 MB / 330.7 MB Notification: Performance of SimCode: time 5.61e-07/0.1358, allocations: 0 / 416.7 MB, free: 26.13 MB / 330.7 MB Notification: Performance of Templates: time 0.006083/0.1418, allocations: 6.294 MB / 423 MB, free: 25.29 MB / 330.7 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/jenkins/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/jenkins/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' 452 | 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 144 | 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' 35 | 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 177 | 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: 2.4001613557338715] Failed to read output from testmodel.py, exit status != 0: 0.1472213575616479 0.15346616200000002 0.145707696 Calling exit ...