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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/package.mo", uses=false) Using package Modelica_DeviceDrivers with version 2.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_LCM,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_LCM") translateModel(Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_LCM,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_LCM") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001139/0.001139, allocations: 115.8 kB / 17.13 MB, free: 5.965 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00118/0.00118, allocations: 185.3 kB / 18.06 MB, free: 5.047 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.312/1.312, allocations: 222.9 MB / 241.8 MB, free: 15.06 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/package.mo): time 0.05728/0.05728, allocations: 12.03 MB / 304 MB, free: 3.074 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001194/0.001194, allocations: 63.89 kB / 420.8 MB, free: 17.18 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.097/0.0982, allocations: 52.32 MB / 473.1 MB, free: 12.82 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_LCM): time 0.004898/0.1031, allocations: 2.919 MB / 476 MB, free: 9.887 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001717/0.1049, allocations: 0.8873 MB / 476.9 MB, free: 8.996 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002067/0.1051, allocations: 7.938 kB / 476.9 MB, free: 8.988 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003259/0.1055, allocations: 79.22 kB / 477 MB, free: 8.91 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000256/0.1057, allocations: 71.44 kB / 477 MB, free: 8.84 MB / 350.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-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 2.1.1-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 2.1.1-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 2.1.1-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 2.1.1-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 2.1.1-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 2.1.1-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 2.1.1-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 2.1.1-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.0008333/0.1066, allocations: 279.2 kB / 477.3 MB, free: 8.566 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000442/0.107, allocations: 403 kB / 477.7 MB, free: 8.172 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003573/0.1074, allocations: 247 kB / 477.9 MB, free: 7.926 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001993/0.1076, allocations: 211.2 kB / 478.1 MB, free: 7.719 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002826/0.1079, allocations: 231 kB / 478.4 MB, free: 7.492 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.921e-05/0.108, allocations: 48 kB / 478.4 MB, free: 7.445 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002916/0.1083, allocations: 191.8 kB / 478.6 MB, free: 7.258 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001589/0.1085, allocations: 163.4 kB / 478.8 MB, free: 7.098 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001826/0.1086, allocations: 222.8 kB / 479 MB, free: 6.879 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006807/0.1093, allocations: 0.6774 MB / 479.7 MB, free: 6.199 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/0.1093, allocations: 0 / 479.7 MB, free: 6.199 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.783e-06/0.1094, allocations: 0 / 479.7 MB, free: 6.199 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.214e-06/0.1094, allocations: 4 kB / 479.7 MB, free: 6.195 MB / 350.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.0016/0.111, allocations: 1.146 MB / 480.8 MB, free: 4.949 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.498e-05/0.111, allocations: 8.031 kB / 480.8 MB, free: 4.941 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001013/0.1111, allocations: 48.38 kB / 480.9 MB, free: 4.895 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003809/0.1115, allocations: 331.4 kB / 481.2 MB, free: 4.531 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.725e-05/0.1116, allocations: 33.36 kB / 481.2 MB, free: 4.5 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.414e-05/0.1116, allocations: 40.38 kB / 481.3 MB, free: 4.461 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007279/0.1124, allocations: 484 kB / 481.7 MB, free: 3.969 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.361e-05/0.1124, allocations: 192 / 481.7 MB, free: 3.969 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.839e-05/0.1124, allocations: 15.94 kB / 481.7 MB, free: 3.953 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.112e-05/0.1124, allocations: 12 kB / 481.8 MB, free: 3.941 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004446/0.1129, allocations: 271.6 kB / 482 MB, free: 3.676 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001578/0.1145, allocations: 1.37 MB / 483.4 MB, free: 2.234 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005185/0.115, allocations: 302.3 kB / 483.7 MB, free: 1.902 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002248/0.1152, allocations: 151.4 kB / 483.8 MB, free: 1.742 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.239e-05/0.1153, allocations: 12.06 kB / 483.8 MB, free: 1.73 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003704/0.1157, allocations: 252.7 kB / 484.1 MB, free: 1.453 MB / 350.1 MB Notification: Performance of pre-optimization done (n=40): time 1.974e-06/0.1157, allocations: 0 / 484.1 MB, free: 1.453 MB / 350.1 MB Notification: Performance of matching and sorting (n=40): time 0.00104/0.1167, allocations: 0.5664 MB / 484.7 MB, free: 0.8828 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.887e-05/0.1168, allocations: 156.5 kB / 484.8 MB, free: 0.6992 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002534/0.1171, allocations: 268.7 kB / 485.1 MB, free: 440 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.958e-05/0.1171, allocations: 45.69 kB / 485.1 MB, free: 388 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001311/0.1173, allocations: 204.3 kB / 485.3 MB, free: 180 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.694e-05/0.1174, allocations: 102.8 kB / 485.4 MB, free: 76 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001611/0.1175, allocations: 118.2 kB / 485.5 MB, free: 15.95 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001361/0.1177, allocations: 342.8 kB / 485.9 MB, free: 15.61 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002102/0.1179, allocations: 121 kB / 486 MB, free: 15.49 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003303/0.1182, allocations: 318.4 kB / 486.3 MB, free: 15.09 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005805/0.1188, allocations: 496.5 kB / 486.8 MB, free: 14.52 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.268e-06/0.1188, allocations: 3.938 kB / 486.8 MB, free: 14.51 MB / 366.1 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.0007358/0.1196, allocations: 485.3 kB / 487.3 MB, free: 14.03 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.824e-05/0.1196, allocations: 12.03 kB / 487.3 MB, free: 14.02 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.676e-06/0.1196, allocations: 4.156 kB / 487.3 MB, free: 14.02 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.248e-05/0.1196, allocations: 15.98 kB / 487.3 MB, free: 14 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002502/0.1199, allocations: 71.84 kB / 487.4 MB, free: 13.93 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.864e-05/0.1199, allocations: 23.91 kB / 487.4 MB, free: 13.91 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001832/0.1201, allocations: 43.53 kB / 487.4 MB, free: 13.86 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.223e-05/0.1202, allocations: 20 kB / 487.5 MB, free: 13.84 MB / 366.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.0002579/0.1204, allocations: 238.8 kB / 487.7 MB, free: 13.6 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.404e-05/0.1205, allocations: 23.72 kB / 487.7 MB, free: 13.58 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003929/0.1209, allocations: 235.5 kB / 487.9 MB, free: 13.34 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.662e-06/0.1209, allocations: 12.05 kB / 487.9 MB, free: 13.33 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.125e-06/0.1209, allocations: 3.984 kB / 488 MB, free: 13.32 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.12e-06/0.1209, allocations: 0 / 488 MB, free: 13.32 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001283/0.1222, allocations: 1.032 MB / 489 MB, free: 12.23 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.178e-06/0.1222, allocations: 4 kB / 489 MB, free: 12.23 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.35e-05/0.1223, allocations: 11.98 kB / 489 MB, free: 12.22 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.488e-06/0.1223, allocations: 4 kB / 489 MB, free: 12.21 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.418e-05/0.1223, allocations: 7.984 kB / 489 MB, free: 12.21 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.612e-06/0.1223, allocations: 7.938 kB / 489 MB, free: 12.2 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.065e-06/0.1223, allocations: 3.938 kB / 489 MB, free: 12.2 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007809/0.1231, allocations: 0.6548 MB / 489.7 MB, free: 11.52 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.28e-05/0.1232, allocations: 108.6 kB / 489.8 MB, free: 11.39 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.923e-05/0.1233, allocations: 8 kB / 489.8 MB, free: 11.39 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001501/0.1234, allocations: 15.92 kB / 489.8 MB, free: 11.37 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.605e-05/0.1235, allocations: 15.97 kB / 489.8 MB, free: 11.36 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.681e-05/0.1235, allocations: 23.98 kB / 489.8 MB, free: 11.33 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001201/0.1236, allocations: 152.5 kB / 490 MB, free: 11.18 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.443e-06/0.1236, allocations: 0 / 490 MB, free: 11.18 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000578/0.1242, allocations: 159.4 kB / 490.2 MB, free: 11.03 MB / 366.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.0007722/0.125, allocations: 355.2 kB / 490.5 MB, free: 10.75 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0005874/0.1256, allocations: 365.4 kB / 490.9 MB, free: 10.39 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.1256, allocations: 0 / 490.9 MB, free: 10.39 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002559/0.1259, allocations: 163.8 kB / 491 MB, free: 10.23 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006094/0.1265, allocations: 92.12 kB / 491.1 MB, free: 10.14 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001249/0.1278, allocations: 0.7137 MB / 491.8 MB, free: 9.383 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000411/0.1282, allocations: 0.8193 MB / 492.6 MB, free: 8.539 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.517e-05/0.1283, allocations: 35.42 kB / 492.7 MB, free: 8.508 MB / 366.1 MB Notification: Performance of SimCode: time 2.8e-07/0.1283, allocations: 3.938 kB / 492.7 MB, free: 8.504 MB / 366.1 MB Notification: Performance of Templates: time 0.00858/0.1368, allocations: 6.196 MB / 498.9 MB, free: 2.332 MB / 366.1 MB make -j1 -f Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_LCM.makefile 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 2.1.1-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 2.1.1-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 2.1.1-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 2.1.1-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 2.1.1-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) { ^ In file included from OMCppModelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_LCMCalcHelperMain.cpp:28: ./OMCppModelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_LCMFunctions.cpp:470:3: error: no matching function for call to 'MDD_SerialPackagerAddInteger' MDD_SerialPackagerAddInteger(pkg__ext, ConstArray(u_).getData(), u_.getDim(1), byteOrder__ext); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/Resources/Include/MDDSerialPackager.h:243:16: note: candidate function not viable: 2nd argument ('const int *') would lose const qualifier DllExport void MDD_SerialPackagerAddInteger(void* p_package, int * u, size_t n, int endian) { ^ In file included from OMCppModelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_LCMCalcHelperMain.cpp:28: ./OMCppModelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_LCMFunctions.cpp:491:3: error: no matching function for call to 'MDD_SerialPackagerAddDouble' MDD_SerialPackagerAddDouble(pkg__ext, ConstArray(u_).getData(), u_.getDim(1), byteOrder__ext); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/Resources/Include/MDDSerialPackager.h:307:16: note: candidate function not viable: 2nd argument ('const double *') would lose const qualifier DllExport void MDD_SerialPackagerAddDouble(void* p_package, double * u, size_t n, int endian) { ^ In file included from OMCppModelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_LCMCalcHelperMain.cpp:28: ./OMCppModelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_LCMFunctions.cpp:512:3: error: no matching function for call to 'MDD_SerialPackagerAddDoubleAsFloat' MDD_SerialPackagerAddDoubleAsFloat(pkg__ext, ConstArray(u_).getData(), u_.getDim(1), byteOrder__ext); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/Resources/Include/MDDSerialPackager.h:369:16: note: candidate function not viable: 2nd argument ('const double *') would lose const qualifier DllExport void MDD_SerialPackagerAddDoubleAsFloat(void* p_package, double * u, size_t n, int endian) { ^ 5 errors generated. make: *** [: OMCppModelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_LCMCalcHelperMain.o] Error 1