Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager.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,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager") translateModel(Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001208/0.001208, allocations: 120.2 kB / 17.13 MB, free: 5.895 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.001171/0.001171, allocations: 194.3 kB / 18.06 MB, free: 4.977 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.315/1.315, allocations: 222.9 MB / 241.8 MB, free: 15.04 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.06832/0.06832, allocations: 12.05 MB / 304 MB, free: 3.062 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00124/0.001241, allocations: 59.91 kB / 420.8 MB, free: 17.18 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09624/0.0975, allocations: 52.31 MB / 473.1 MB, free: 12.82 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager): time 0.004705/0.1022, allocations: 2.834 MB / 475.9 MB, free: 9.969 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001888/0.1042, allocations: 1.075 MB / 477 MB, free: 8.887 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002538/0.1044, allocations: 7.938 kB / 477 MB, free: 8.879 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003408/0.1048, allocations: 75.22 kB / 477.1 MB, free: 8.805 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002663/0.1051, allocations: 63.38 kB / 477.1 MB, free: 8.742 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:139:5-153:23:writable] Warning: Pure function 'Modelica_DeviceDrivers.Blocks.Packaging.SerialPackager.Internal.DummyFunctions.integerBitPack' contains a call to impure function 'Modelica_DeviceDrivers.Packaging.SerialPackager_.integerBitPack'. [/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/Packaging/SerialPackager.mo:98:7-105:23:writable] Warning: Pure function 'Modelica_DeviceDrivers.Blocks.Packaging.SerialPackager.Internal.DummyFunctions.resetPointer' contains a call to impure function 'Modelica_DeviceDrivers.Packaging.SerialPackager_.resetPointer'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/Blocks/Packaging/SerialPackager.mo:155:5-169:25:writable] Warning: Pure function 'Modelica_DeviceDrivers.Blocks.Packaging.SerialPackager.Internal.DummyFunctions.integerBitUnpack' contains a call to impure function 'Modelica_DeviceDrivers.Packaging.SerialPackager_.integerBitUnpack'. [/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'. Notification: Performance of NFTyping.typeClassSections: time 0.0008798/0.106, allocations: 291.3 kB / 477.4 MB, free: 8.457 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006113/0.1066, allocations: 462.6 kB / 477.9 MB, free: 8.004 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003877/0.107, allocations: 260.5 kB / 478.1 MB, free: 7.746 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003206/0.1073, allocations: 231.2 kB / 478.3 MB, free: 7.52 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003731/0.1077, allocations: 270.9 kB / 478.6 MB, free: 7.254 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001144/0.1079, allocations: 52 kB / 478.6 MB, free: 7.203 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002704/0.1081, allocations: 132 kB / 478.8 MB, free: 7.074 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000206/0.1083, allocations: 187.4 kB / 479 MB, free: 6.891 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002577/0.1086, allocations: 242.7 kB / 479.2 MB, free: 6.652 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008104/0.1094, allocations: 0.6774 MB / 479.9 MB, free: 5.973 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.609e-06/0.1094, allocations: 0 / 479.9 MB, free: 5.973 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.1095, allocations: 0 / 479.9 MB, free: 5.973 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.937e-05/0.1095, allocations: 0 / 479.9 MB, free: 5.973 MB / 350.1 MB Warning: Alias equations of external objects are not Modelica compliant as in: addBoolean.pkgOut[1].pkg = addBoolean.pkgIn.pkg unpackInt1.pkgOut[1].pkg = unpackInt1.pkgIn.pkg getInteger.pkgOut[1].pkg = getInteger.pkgIn.pkg unpackInt.pkgOut[1].pkg = unpackInt.pkgIn.pkg resetPointer.pkgOut[1].pkg = resetPointer.pkgIn.pkg packInt1.pkgOut[1].pkg = packInt1.pkgIn.pkg addInteger.pkgOut[1].pkg = addInteger.pkgIn.pkg packInt.pkgOut[1].pkg = packInt.pkgIn.pkg addBoolean.pkgOut[1].pkg = resetPointer.pkgIn.pkg getInteger.pkgOut[1].pkg = getBoolean.pkgIn.pkg addInteger.pkgOut[1].pkg = addBoolean.pkgIn.pkg unpackInt1.pkgOut[1].pkg = getInteger.pkgIn.pkg unpackInt.pkgOut[1].pkg = unpackInt1.pkgIn.pkg resetPointer.pkgOut[1].pkg = unpackInt.pkgIn.pkg packInt1.pkgOut[1].pkg = addInteger.pkgIn.pkg packInt.pkgOut[1].pkg = packInt1.pkgIn.pkg packager.pkgOut.pkg = packInt.pkgIn.pkg Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 115 * Number of variables: 115 Notification: Performance of Generate backend data structure: time 0.001876/0.1114, allocations: 1.281 MB / 481.2 MB, free: 4.586 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.539e-05/0.1114, allocations: 8.031 kB / 481.2 MB, free: 4.578 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001041/0.1115, allocations: 52.36 kB / 481.2 MB, free: 4.527 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003862/0.1119, allocations: 336.3 kB / 481.5 MB, free: 4.156 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.78e-05/0.112, allocations: 33.36 kB / 481.6 MB, free: 4.125 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.816e-05/0.112, allocations: 48.36 kB / 481.6 MB, free: 4.078 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007511/0.1128, allocations: 0.5063 MB / 482.1 MB, free: 3.559 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.476e-05/0.1128, allocations: 0 / 482.1 MB, free: 3.559 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.344e-05/0.1128, allocations: 19.98 kB / 482.1 MB, free: 3.539 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.217e-05/0.1129, allocations: 12 kB / 482.2 MB, free: 3.527 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004958/0.1134, allocations: 290.5 kB / 482.4 MB, free: 3.242 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001559/0.1149, allocations: 1.209 MB / 483.7 MB, free: 1.973 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006946/0.1156, allocations: 355.7 kB / 484 MB, free: 1.598 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002087/0.1159, allocations: 150.8 kB / 484.1 MB, free: 1.441 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.168e-05/0.1159, allocations: 7.938 kB / 484.2 MB, free: 1.434 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003466/0.1163, allocations: 250.7 kB / 484.4 MB, free: 1.164 MB / 350.1 MB Notification: Performance of pre-optimization done (n=39): time 1.884e-06/0.1163, allocations: 0 / 484.4 MB, free: 1.164 MB / 350.1 MB Notification: Performance of matching and sorting (n=39): time 0.0009659/0.1172, allocations: 0.569 MB / 485 MB, free: 0.5898 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.891e-05/0.1173, allocations: 123 kB / 485.1 MB, free: 456 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002168/0.1176, allocations: 226.8 kB / 485.3 MB, free: 216 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.067e-05/0.1176, allocations: 45.69 kB / 485.4 MB, free: 164 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001446/0.1178, allocations: 220.9 kB / 485.6 MB, free: 15.94 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.279e-05/0.1178, allocations: 90.92 kB / 485.7 MB, free: 15.85 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001409/0.118, allocations: 126.2 kB / 485.8 MB, free: 15.72 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001151/0.1181, allocations: 342.8 kB / 486.1 MB, free: 15.38 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001831/0.1183, allocations: 113 kB / 486.2 MB, free: 15.26 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002974/0.1186, allocations: 306.3 kB / 486.5 MB, free: 14.88 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005208/0.1191, allocations: 451.6 kB / 487 MB, free: 14.35 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.251e-06/0.1191, allocations: 7.938 kB / 487 MB, free: 14.34 MB / 366.1 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.0006821/0.1198, allocations: 469.2 kB / 487.4 MB, free: 13.88 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.854e-05/0.1199, allocations: 8 kB / 487.4 MB, free: 13.87 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.037e-05/0.1199, allocations: 4 kB / 487.4 MB, free: 13.87 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.083e-05/0.1199, allocations: 12 kB / 487.5 MB, free: 13.86 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002389/0.1201, allocations: 75.83 kB / 487.5 MB, free: 13.78 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.625e-05/0.1202, allocations: 11.94 kB / 487.5 MB, free: 13.77 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001992/0.1204, allocations: 43.67 kB / 487.6 MB, free: 13.73 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.029e-05/0.1204, allocations: 20.31 kB / 487.6 MB, free: 13.71 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * Number of states: 0 () * Number of discrete variables: 60 (getBoolean.dummy,$PRE.getBoolean.dummy,addBoolean.pkgOut[1].dummy,$PRE.addBoolean.pkgOut[1].dummy,unpackInt1.dummy,$PRE.unpackInt1.dummy,unpackInt1.y,$PRE.unpackInt1.y,unpackInt1.pkgOut[1].dummy,$PRE.unpackInt1.pkgOut[1].dummy,getInteger.dummy,$PRE.getInteger.dummy,getInteger.y[1],$PRE.getInteger.y[1],getInteger.pkgOut[1].dummy,$PRE.getInteger.pkgOut[1].dummy,unpackInt.dummy,$PRE.unpackInt.dummy,unpackInt.y,$PRE.unpackInt.y,unpackInt.pkgOut[1].dummy,$PRE.unpackInt.pkgOut[1].dummy,resetPointer.dummy,$PRE.resetPointer.dummy,resetPointer.pkgOut[1].dummy,$PRE.resetPointer.pkgOut[1].dummy,packInt1.pkgOut[1].dummy,$PRE.packInt1.pkgOut[1].dummy,addInteger.pkgOut[1].dummy,$PRE.addInteger.pkgOut[1].dummy,packInt.pkgOut[1].dummy,$PRE.packInt.pkgOut[1].dummy,packager.pkgOut.dummy,$PRE.packager.pkgOut.dummy,$whenCondition2,addBoolean.pkgOut[1].trigger,$whenCondition1,getBoolean.y_int[1],$PRE.getBoolean.y_int[1],getBoolean.y[1],booleanPulse.pulseStart,$PRE.booleanPulse.pulseStart,addBoolean.u_int[1],addBoolean.u[1],integerExpression.y,addInteger.u[1],integerExpression1.y,getBoolean.pkgIn.autoPkgBitSize,unpackInt1.pkgIn.autoPkgBitSize,getInteger.pkgIn.autoPkgBitSize,unpackInt.pkgIn.autoPkgBitSize,getBoolean.pkgIn.userPkgBitSize,getBoolean.pkgIn.backwardTrigger,addBoolean.pkgIn.autoPkgBitSize,resetPointer.pkgIn.autoPkgBitSize,packInt1.pkgIn.autoPkgBitSize,addInteger.pkgIn.autoPkgBitSize,packInt.pkgIn.autoPkgBitSize,packager.bufferSize,packager.backwardPropagatedBufferSize) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (61): * Single equations (assignments): 61 * 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.0002685/0.1207, allocations: 253.5 kB / 487.9 MB, free: 13.45 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.88e-05/0.1207, allocations: 27.75 kB / 487.9 MB, free: 13.42 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.381e-05/0.1208, allocations: 22.55 kB / 487.9 MB, free: 13.4 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.09e-06/0.1208, allocations: 4 kB / 487.9 MB, free: 13.4 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.755e-06/0.1208, allocations: 4 kB / 487.9 MB, free: 13.39 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.885e-06/0.1209, allocations: 4 kB / 487.9 MB, free: 13.39 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00119/0.122, allocations: 0.9472 MB / 488.9 MB, free: 12.39 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.329e-06/0.1221, allocations: 0 / 488.9 MB, free: 12.39 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.649e-05/0.1221, allocations: 15.92 kB / 488.9 MB, free: 12.37 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.46e-06/0.1221, allocations: 4 kB / 488.9 MB, free: 12.37 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.585e-05/0.1222, allocations: 11.98 kB / 488.9 MB, free: 12.36 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.032e-06/0.1222, allocations: 8 kB / 488.9 MB, free: 12.35 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.412e-06/0.1222, allocations: 0 / 488.9 MB, free: 12.35 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000735/0.1229, allocations: 0.5782 MB / 489.5 MB, free: 11.75 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.875e-05/0.123, allocations: 104.8 kB / 489.6 MB, free: 11.63 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.822e-05/0.123, allocations: 8 kB / 489.6 MB, free: 11.62 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001501/0.1232, allocations: 11.97 kB / 489.6 MB, free: 11.61 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.635e-05/0.1233, allocations: 27.91 kB / 489.6 MB, free: 11.58 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.579e-05/0.1233, allocations: 23.98 kB / 489.7 MB, free: 11.56 MB / 366.1 MB Notification: Performance of sorting global known variables: time 9.251e-05/0.1234, allocations: 131.4 kB / 489.8 MB, free: 11.43 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1234, allocations: 0 / 489.8 MB, free: 11.43 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004924/0.1239, allocations: 143.4 kB / 489.9 MB, free: 11.29 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 39 (unpackInt.pkgIn.autoPkgBitSize,getInteger.pkgIn.autoPkgBitSize,unpackInt1.pkgIn.autoPkgBitSize,getBoolean.pkgIn.autoPkgBitSize,addBoolean.pkgOut[1].trigger,$whenCondition2,$whenCondition1,integerExpression.y,packager.pkgOut.dummy,packInt.pkgOut[1].dummy,addInteger.pkgOut[1].dummy,addInteger.u[1],integerExpression1.y,packInt1.pkgOut[1].dummy,resetPointer.pkgOut[1].dummy,resetPointer.dummy,unpackInt.pkgOut[1].dummy,unpackInt.y,unpackInt.dummy,getInteger.pkgOut[1].dummy,getInteger.y[1],getInteger.dummy,unpackInt1.pkgOut[1].dummy,unpackInt1.y,unpackInt1.dummy,addBoolean.pkgOut[1].dummy,addBoolean.u[1],addBoolean.u_int[1],getBoolean.y[1],getBoolean.y_int[1],getBoolean.dummy,booleanPulse.pulseStart,packager.backwardPropagatedBufferSize,packager.bufferSize,packInt.pkgIn.autoPkgBitSize,addInteger.pkgIn.autoPkgBitSize,packInt1.pkgIn.autoPkgBitSize,resetPointer.pkgIn.autoPkgBitSize,addBoolean.pkgIn.autoPkgBitSize) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (35): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 26 * 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.000384/0.1243, allocations: 207.4 kB / 490.1 MB, free: 11.09 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0005364/0.1249, allocations: 335.8 kB / 490.4 MB, free: 10.76 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/0.1249, allocations: 4 kB / 490.5 MB, free: 10.75 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002543/0.1251, allocations: 157.4 kB / 490.6 MB, free: 10.6 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005368/0.1257, allocations: 82.62 kB / 490.7 MB, free: 10.53 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001237/0.1269, allocations: 0.689 MB / 491.4 MB, free: 9.793 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003799/0.1273, allocations: 0.8115 MB / 492.2 MB, free: 8.957 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.638e-05/0.1274, allocations: 23.44 kB / 492.2 MB, free: 8.934 MB / 366.1 MB Notification: Performance of SimCode: time 5.81e-07/0.1274, allocations: 0 / 492.2 MB, free: 8.934 MB / 366.1 MB Notification: Performance of Templates: time 0.008824/0.1362, allocations: 5.489 MB / 497.7 MB, free: 3.469 MB / 366.1 MB make -j1 -f Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager.makefile make -j1 -f Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager.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.TestSerialPackagerCalcHelperMain.o OMCppModelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackagerCalcHelperMain.cpp In file included from OMCppModelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackagerCalcHelperMain.cpp:28: In file included from ./OMCppModelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackagerFunctions.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.TestSerialPackagerCalcHelperMain.cpp:28: ./OMCppModelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackagerFunctions.cpp:273: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) { ^ 2 errors generated. make: *** [: OMCppModelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackagerCalcHelperMain.o] Error 1