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.001403/0.001403, allocations: 107 kB / 16.57 MB, free: 6.723 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.00137/0.00137, allocations: 193.9 kB / 17.48 MB, free: 6.027 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.287/1.287, allocations: 222.9 MB / 241.2 MB, free: 13.71 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.05951/0.05951, allocations: 12.04 MB / 303.3 MB, free: 3.176 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001314/0.001314, allocations: 59.91 kB / 366.4 MB, free: 4.047 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2179/0.2192, allocations: 52.32 MB / 418.7 MB, free: 21.28 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager): time 0.004133/0.2234, allocations: 2.852 MB / 421.6 MB, free: 18.43 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001493/0.2249, allocations: 1.059 MB / 422.7 MB, free: 17.36 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002154/0.2251, allocations: 7.938 kB / 422.7 MB, free: 17.35 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003184/0.2255, allocations: 52.2 kB / 422.7 MB, free: 17.3 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001928/0.2257, allocations: 47.03 kB / 422.8 MB, free: 17.26 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006165/0.2263, allocations: 247.6 kB / 423 MB, free: 17.02 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004118/0.2268, allocations: 434.9 kB / 423.4 MB, free: 16.59 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002951/0.2271, allocations: 247.8 kB / 423.7 MB, free: 16.35 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001828/0.2273, allocations: 199.3 kB / 423.9 MB, free: 16.15 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002275/0.2275, allocations: 262.8 kB / 424.1 MB, free: 15.89 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 5.662e-05/0.2276, allocations: 47.94 kB / 424.2 MB, free: 15.85 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002234/0.2278, allocations: 120 kB / 424.3 MB, free: 15.73 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001393/0.2279, allocations: 175.5 kB / 424.5 MB, free: 15.56 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001557/0.2281, allocations: 230.7 kB / 424.7 MB, free: 15.33 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003644/0.2285, allocations: 0.497 MB / 425.2 MB, free: 14.84 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.2285, allocations: 0 / 425.2 MB, free: 14.84 MB / 302.1 MB Notification: Performance of FrontEnd: time 9.12e-07/0.2285, allocations: 0 / 425.2 MB, free: 14.84 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.274e-06/0.2285, allocations: 0 / 425.2 MB, free: 14.84 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.001549/0.2301, allocations: 1.279 MB / 426.5 MB, free: 13.46 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.139e-05/0.2301, allocations: 15.97 kB / 426.5 MB, free: 13.45 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.354e-05/0.2302, allocations: 48.38 kB / 426.5 MB, free: 13.4 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002851/0.2305, allocations: 328.3 kB / 426.8 MB, free: 13.04 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.119e-05/0.2305, allocations: 37.36 kB / 426.9 MB, free: 13 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.79e-05/0.2306, allocations: 44.38 kB / 426.9 MB, free: 12.96 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000678/0.2313, allocations: 0.4946 MB / 427.4 MB, free: 12.44 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.523e-05/0.2313, allocations: 4 kB / 427.4 MB, free: 12.44 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.713e-05/0.2313, allocations: 20 kB / 427.4 MB, free: 12.42 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.437e-06/0.2314, allocations: 11.98 kB / 427.5 MB, free: 12.41 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004225/0.2318, allocations: 298.4 kB / 427.7 MB, free: 12.12 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001285/0.2331, allocations: 1.217 MB / 429 MB, free: 10.84 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006082/0.2337, allocations: 355.8 kB / 429.3 MB, free: 10.46 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001802/0.2339, allocations: 165.1 kB / 429.5 MB, free: 10.3 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.6e-05/0.2339, allocations: 7.938 kB / 429.5 MB, free: 10.29 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002994/0.2342, allocations: 238.8 kB / 429.7 MB, free: 10.04 MB / 302.1 MB Notification: Performance of pre-optimization done (n=39): time 1.843e-06/0.2342, allocations: 0 / 429.7 MB, free: 10.04 MB / 302.1 MB Notification: Performance of matching and sorting (n=39): time 0.0008643/0.2351, allocations: 0.5803 MB / 430.3 MB, free: 9.449 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.149e-05/0.2352, allocations: 135 kB / 430.4 MB, free: 9.293 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001574/0.2353, allocations: 226.8 kB / 430.6 MB, free: 9.059 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.935e-05/0.2354, allocations: 45.69 kB / 430.7 MB, free: 9.008 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.886e-05/0.2355, allocations: 212.8 kB / 430.9 MB, free: 8.797 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.792e-05/0.2355, allocations: 94.84 kB / 431 MB, free: 8.703 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001168/0.2356, allocations: 122.2 kB / 431.1 MB, free: 8.578 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 7.33e-05/0.2357, allocations: 334.8 kB / 431.4 MB, free: 8.242 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001595/0.2359, allocations: 117.1 kB / 431.5 MB, free: 8.129 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002223/0.2361, allocations: 305.5 kB / 431.8 MB, free: 7.746 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000431/0.2366, allocations: 451.6 kB / 432.3 MB, free: 7.219 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.913e-06/0.2366, allocations: 7.938 kB / 432.3 MB, free: 7.211 MB / 302.1 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.0005684/0.2372, allocations: 465.2 kB / 432.8 MB, free: 6.75 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.119e-05/0.2372, allocations: 14.62 kB / 432.8 MB, free: 6.738 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.518e-06/0.2372, allocations: 4 kB / 432.8 MB, free: 6.734 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.559e-05/0.2372, allocations: 8 kB / 432.8 MB, free: 6.727 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002246/0.2375, allocations: 83.72 kB / 432.9 MB, free: 6.645 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.331e-05/0.2375, allocations: 11.98 kB / 432.9 MB, free: 6.633 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001891/0.2377, allocations: 35.69 kB / 432.9 MB, free: 6.598 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.586e-05/0.2377, allocations: 23.98 kB / 432.9 MB, free: 6.574 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.0002124/0.2379, allocations: 254.5 kB / 433.2 MB, free: 6.316 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.894e-05/0.238, allocations: 27.72 kB / 433.2 MB, free: 6.289 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.42e-05/0.238, allocations: 26.48 kB / 433.2 MB, free: 6.262 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.25e-06/0.238, allocations: 4 kB / 433.2 MB, free: 6.258 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.593e-06/0.2381, allocations: 3.938 kB / 433.2 MB, free: 6.254 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.007e-06/0.2381, allocations: 0 / 433.2 MB, free: 6.254 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009451/0.239, allocations: 0.9438 MB / 434.2 MB, free: 5.254 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.515e-06/0.239, allocations: 0 / 434.2 MB, free: 5.254 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.946e-05/0.2391, allocations: 11.94 kB / 434.2 MB, free: 5.242 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.218e-06/0.2391, allocations: 8 kB / 434.2 MB, free: 5.234 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.374e-05/0.2391, allocations: 7.984 kB / 434.2 MB, free: 5.227 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.216e-06/0.2392, allocations: 3.984 kB / 434.2 MB, free: 5.223 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.813e-06/0.2392, allocations: 4 kB / 434.2 MB, free: 5.219 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005952/0.2398, allocations: 0.5773 MB / 434.8 MB, free: 4.621 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.268e-05/0.2398, allocations: 100.8 kB / 434.9 MB, free: 4.504 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.828e-05/0.2398, allocations: 11.98 kB / 434.9 MB, free: 4.492 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001456/0.24, allocations: 11.98 kB / 434.9 MB, free: 4.48 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.926e-05/0.2401, allocations: 31.84 kB / 434.9 MB, free: 4.449 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.467e-05/0.2401, allocations: 19.97 kB / 435 MB, free: 4.43 MB / 302.1 MB Notification: Performance of sorting global known variables: time 6.978e-05/0.2402, allocations: 131.4 kB / 435.1 MB, free: 4.301 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.2402, allocations: 0 / 435.1 MB, free: 4.301 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004666/0.2407, allocations: 143.4 kB / 435.2 MB, free: 4.16 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.0003255/0.241, allocations: 208.4 kB / 435.4 MB, free: 3.953 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0004499/0.2415, allocations: 329.7 kB / 435.8 MB, free: 3.633 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.2415, allocations: 4.062 kB / 435.8 MB, free: 3.629 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002102/0.2417, allocations: 163.3 kB / 435.9 MB, free: 3.473 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005101/0.2422, allocations: 75.09 kB / 436 MB, free: 3.402 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001171/0.2434, allocations: 0.8469 MB / 436.8 MB, free: 2.516 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001897/0.2436, allocations: 0.8118 MB / 437.7 MB, free: 1.68 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.364e-05/0.2436, allocations: 23.44 kB / 437.7 MB, free: 1.656 MB / 302.1 MB Notification: Performance of SimCode: time 4.81e-07/0.2436, allocations: 8 kB / 437.7 MB, free: 1.648 MB / 302.1 MB Notification: Performance of Templates: time 0.007899/0.2516, allocations: 5.431 MB / 443.1 MB, free: 12.24 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++14 -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