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.001277/0.001277, allocations: 103.5 kB / 16.98 MB, free: 6.176 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.001546/0.001546, allocations: 187.3 kB / 17.91 MB, free: 5.281 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.604/1.604, allocations: 222.9 MB / 241.6 MB, free: 15.22 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.0625/0.0625, allocations: 12.04 MB / 303.8 MB, free: 3.113 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001437/0.001437, allocations: 67.91 kB / 367.1 MB, free: 3.719 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2118/0.2132, allocations: 52.32 MB / 419.5 MB, free: 21.08 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager): time 0.004032/0.2173, allocations: 2.824 MB / 422.3 MB, free: 18.25 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001528/0.2189, allocations: 1.077 MB / 423.4 MB, free: 17.17 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002082/0.2191, allocations: 11.94 kB / 423.4 MB, free: 17.16 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002761/0.2194, allocations: 75.2 kB / 423.4 MB, free: 17.09 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002104/0.2196, allocations: 55.33 kB / 423.5 MB, free: 17.04 MB / 302.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.0006493/0.2203, allocations: 287.3 kB / 423.8 MB, free: 16.75 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003283/0.2206, allocations: 454.9 kB / 424.2 MB, free: 16.31 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002813/0.2209, allocations: 252.7 kB / 424.5 MB, free: 16.06 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00015/0.221, allocations: 231.2 kB / 424.7 MB, free: 15.84 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002006/0.2213, allocations: 262.9 kB / 425 MB, free: 15.58 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 6.721e-05/0.2213, allocations: 52 kB / 425 MB, free: 15.53 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001744/0.2215, allocations: 140 kB / 425.1 MB, free: 15.39 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001311/0.2217, allocations: 179.5 kB / 425.3 MB, free: 15.21 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001439/0.2218, allocations: 246.7 kB / 425.6 MB, free: 14.97 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00042/0.2222, allocations: 0.6562 MB / 426.2 MB, free: 14.32 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.2222, allocations: 0 / 426.2 MB, free: 14.32 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.252e-06/0.2222, allocations: 3.938 kB / 426.2 MB, free: 14.31 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.953e-06/0.2223, allocations: 4 kB / 426.2 MB, free: 14.31 MB / 302.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.001361/0.2236, allocations: 1.265 MB / 427.5 MB, free: 12.94 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.897e-05/0.2237, allocations: 8.031 kB / 427.5 MB, free: 12.93 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.565e-05/0.2238, allocations: 52.36 kB / 427.5 MB, free: 12.88 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002639/0.224, allocations: 332.3 kB / 427.9 MB, free: 12.52 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.078e-05/0.2241, allocations: 37.3 kB / 427.9 MB, free: 12.48 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.762e-05/0.2241, allocations: 52.36 kB / 428 MB, free: 12.43 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006389/0.2248, allocations: 0.5024 MB / 428.5 MB, free: 11.91 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.294e-05/0.2248, allocations: 0 / 428.5 MB, free: 11.91 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.867e-05/0.2248, allocations: 19.98 kB / 428.5 MB, free: 11.89 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.348e-06/0.2248, allocations: 12 kB / 428.5 MB, free: 11.88 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004247/0.2253, allocations: 294.5 kB / 428.8 MB, free: 11.59 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001234/0.2265, allocations: 1.213 MB / 430 MB, free: 10.32 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006314/0.2272, allocations: 361.2 kB / 430.3 MB, free: 9.941 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000176/0.2273, allocations: 150.8 kB / 430.5 MB, free: 9.785 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.75e-05/0.2274, allocations: 7.938 kB / 430.5 MB, free: 9.777 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002864/0.2277, allocations: 250.8 kB / 430.7 MB, free: 9.512 MB / 302.1 MB Notification: Performance of pre-optimization done (n=39): time 1.833e-06/0.2277, allocations: 0 / 430.7 MB, free: 9.512 MB / 302.1 MB Notification: Performance of matching and sorting (n=39): time 0.0008248/0.2285, allocations: 0.5692 MB / 431.3 MB, free: 8.938 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.129e-05/0.2286, allocations: 123 kB / 431.4 MB, free: 8.793 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001466/0.2287, allocations: 230.8 kB / 431.7 MB, free: 8.555 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.815e-05/0.2288, allocations: 41.7 kB / 431.7 MB, free: 8.508 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.684e-05/0.2289, allocations: 228.7 kB / 431.9 MB, free: 8.277 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.296e-05/0.2289, allocations: 90.92 kB / 432 MB, free: 8.188 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001066/0.229, allocations: 122.2 kB / 432.1 MB, free: 8.062 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 5.748e-05/0.2291, allocations: 338.8 kB / 432.5 MB, free: 7.723 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001611/0.2293, allocations: 117 kB / 432.6 MB, free: 7.609 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002196/0.2295, allocations: 301.6 kB / 432.9 MB, free: 7.227 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003936/0.2299, allocations: 463.6 kB / 433.3 MB, free: 6.688 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.787e-06/0.2299, allocations: 3.938 kB / 433.3 MB, free: 6.684 MB / 302.1 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.00054/0.2304, allocations: 460.8 kB / 433.8 MB, free: 6.227 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.523e-05/0.2305, allocations: 8 kB / 433.8 MB, free: 6.219 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.937e-06/0.2305, allocations: 12.33 kB / 433.8 MB, free: 6.207 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.843e-05/0.2305, allocations: 8 kB / 433.8 MB, free: 6.199 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002222/0.2307, allocations: 75.83 kB / 433.9 MB, free: 6.125 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.248e-05/0.2307, allocations: 11.94 kB / 433.9 MB, free: 6.113 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001822/0.2309, allocations: 48.08 kB / 433.9 MB, free: 6.066 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.555e-05/0.231, allocations: 28 kB / 434 MB, free: 6.039 MB / 302.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.0001935/0.2312, allocations: 246.2 kB / 434.2 MB, free: 5.789 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.193e-05/0.2312, allocations: 23.72 kB / 434.2 MB, free: 5.766 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.13e-05/0.2313, allocations: 30.48 kB / 434.3 MB, free: 5.738 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.506e-06/0.2313, allocations: 8 kB / 434.3 MB, free: 5.73 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.452e-06/0.2313, allocations: 4 kB / 434.3 MB, free: 5.727 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.57e-06/0.2313, allocations: 7.969 kB / 434.3 MB, free: 5.719 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008914/0.2322, allocations: 0.9391 MB / 435.2 MB, free: 4.723 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.876e-06/0.2322, allocations: 4 kB / 435.2 MB, free: 4.719 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.36e-05/0.2323, allocations: 11.98 kB / 435.2 MB, free: 4.707 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.625e-06/0.2323, allocations: 0 / 435.2 MB, free: 4.707 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.269e-05/0.2323, allocations: 11.98 kB / 435.2 MB, free: 4.695 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.695e-06/0.2323, allocations: 4 kB / 435.2 MB, free: 4.691 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.2323, allocations: 4 kB / 435.3 MB, free: 4.688 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005799/0.2329, allocations: 0.5779 MB / 435.8 MB, free: 4.09 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.231e-05/0.2329, allocations: 100.8 kB / 435.9 MB, free: 3.973 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.963e-05/0.233, allocations: 11.98 kB / 435.9 MB, free: 3.961 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001484/0.2331, allocations: 11.98 kB / 436 MB, free: 3.949 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.91e-05/0.2332, allocations: 31.91 kB / 436 MB, free: 3.918 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.276e-05/0.2332, allocations: 15.98 kB / 436 MB, free: 3.902 MB / 302.1 MB Notification: Performance of sorting global known variables: time 6.652e-05/0.2333, allocations: 131.4 kB / 436.1 MB, free: 3.773 MB / 302.1 MB Notification: Performance of sort global known variables: time 3.31e-07/0.2333, allocations: 0 / 436.1 MB, free: 3.773 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004391/0.2338, allocations: 143.4 kB / 436.3 MB, free: 3.633 MB / 302.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.0002874/0.2341, allocations: 207.9 kB / 436.5 MB, free: 3.434 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0005057/0.2346, allocations: 375.3 kB / 436.8 MB, free: 3.066 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/0.2346, allocations: 0 / 436.8 MB, free: 3.066 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002021/0.2348, allocations: 161.3 kB / 437 MB, free: 2.91 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004969/0.2353, allocations: 79.75 kB / 437.1 MB, free: 2.836 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001006/0.2363, allocations: 0.7008 MB / 437.8 MB, free: 2.098 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001943/0.2365, allocations: 0.8115 MB / 438.6 MB, free: 1.258 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.891e-05/0.2366, allocations: 31.42 kB / 438.6 MB, free: 1.227 MB / 302.1 MB Notification: Performance of SimCode: time 2.51e-07/0.2366, allocations: 0 / 438.6 MB, free: 1.227 MB / 302.1 MB Notification: Performance of Templates: time 0.007459/0.244, allocations: 5.436 MB / 444.1 MB, free: 11.81 MB / 318.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