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.001609/0.001609, allocations: 110.3 kB / 16.69 MB, free: 6.277 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.001742/0.001742, allocations: 195.1 kB / 17.61 MB, free: 5.734 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.359/1.359, allocations: 222.9 MB / 241.3 MB, free: 15.39 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.05743/0.05743, allocations: 12.05 MB / 303.5 MB, free: 3.367 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001301/0.001301, allocations: 59.91 kB / 366.6 MB, free: 4.176 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2232/0.2246, allocations: 52.32 MB / 418.9 MB, free: 21.29 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager): time 0.003523/0.2281, allocations: 2.857 MB / 421.8 MB, free: 18.43 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001306/0.2295, allocations: 1.049 MB / 422.8 MB, free: 17.38 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001168/0.2296, allocations: 11.91 kB / 422.9 MB, free: 17.37 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002782/0.2299, allocations: 59.52 kB / 422.9 MB, free: 17.31 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001442/0.23, allocations: 31.72 kB / 422.9 MB, free: 17.28 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004965/0.2305, allocations: 251.6 kB / 423.2 MB, free: 17.03 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003229/0.2309, allocations: 454.9 kB / 423.6 MB, free: 16.59 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002801/0.2312, allocations: 264.7 kB / 423.9 MB, free: 16.33 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001516/0.2313, allocations: 219.3 kB / 424.1 MB, free: 16.11 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000196/0.2315, allocations: 266.8 kB / 424.4 MB, free: 15.85 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 5.354e-05/0.2316, allocations: 56 kB / 424.4 MB, free: 15.8 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001594/0.2318, allocations: 139.9 kB / 424.6 MB, free: 15.66 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001248/0.2319, allocations: 183.5 kB / 424.7 MB, free: 15.48 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001451/0.232, allocations: 246.7 kB / 425 MB, free: 15.24 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003448/0.2324, allocations: 0.5048 MB / 425.5 MB, free: 14.73 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.2324, allocations: 4 kB / 425.5 MB, free: 14.73 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.2324, allocations: 0 / 425.5 MB, free: 14.73 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.324e-06/0.2324, allocations: 0 / 425.5 MB, free: 14.73 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.001484/0.2339, allocations: 1.279 MB / 426.8 MB, free: 13.35 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.689e-05/0.234, allocations: 12.03 kB / 426.8 MB, free: 13.34 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.691e-05/0.234, allocations: 48.38 kB / 426.8 MB, free: 13.29 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002867/0.2343, allocations: 336.2 kB / 427.2 MB, free: 12.92 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.911e-05/0.2344, allocations: 41.36 kB / 427.2 MB, free: 12.88 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.495e-05/0.2344, allocations: 44.38 kB / 427.2 MB, free: 12.84 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006648/0.2351, allocations: 0.4946 MB / 427.7 MB, free: 12.32 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.523e-05/0.2351, allocations: 4 kB / 427.7 MB, free: 12.32 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.926e-05/0.2352, allocations: 16 kB / 427.7 MB, free: 12.3 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.067e-06/0.2352, allocations: 11.98 kB / 427.8 MB, free: 12.29 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004131/0.2356, allocations: 298.4 kB / 428.1 MB, free: 12 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001229/0.2369, allocations: 1.217 MB / 429.3 MB, free: 10.73 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006051/0.2375, allocations: 359.8 kB / 429.6 MB, free: 10.35 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001773/0.2377, allocations: 157.2 kB / 429.8 MB, free: 10.19 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.118e-05/0.2377, allocations: 7.938 kB / 429.8 MB, free: 10.18 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002929/0.238, allocations: 242.8 kB / 430 MB, free: 9.922 MB / 302.1 MB Notification: Performance of pre-optimization done (n=39): time 1.894e-06/0.238, allocations: 0 / 430 MB, free: 9.922 MB / 302.1 MB Notification: Performance of matching and sorting (n=39): time 0.000823/0.2388, allocations: 0.5725 MB / 430.6 MB, free: 9.344 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.206e-05/0.2389, allocations: 135 kB / 430.7 MB, free: 9.188 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001454/0.239, allocations: 226.8 kB / 430.9 MB, free: 8.953 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.034e-05/0.2391, allocations: 49.69 kB / 431 MB, free: 8.898 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.505e-05/0.2392, allocations: 216.7 kB / 431.2 MB, free: 8.68 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.439e-05/0.2392, allocations: 90.94 kB / 431.3 MB, free: 8.59 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001095/0.2394, allocations: 122.2 kB / 431.4 MB, free: 8.465 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 6.555e-05/0.2394, allocations: 338.8 kB / 431.7 MB, free: 8.125 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001514/0.2396, allocations: 109.1 kB / 431.9 MB, free: 8.02 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002052/0.2398, allocations: 313.5 kB / 432.2 MB, free: 7.625 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003819/0.2402, allocations: 447.6 kB / 432.6 MB, free: 7.102 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.119e-06/0.2402, allocations: 7.938 kB / 432.6 MB, free: 7.094 MB / 302.1 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.0005469/0.2407, allocations: 464.9 kB / 433.1 MB, free: 6.633 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.765e-05/0.2408, allocations: 8 kB / 433.1 MB, free: 6.625 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.847e-06/0.2408, allocations: 4 kB / 433.1 MB, free: 6.621 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.025e-05/0.2408, allocations: 12.72 kB / 433.1 MB, free: 6.609 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002239/0.241, allocations: 71.84 kB / 433.1 MB, free: 6.539 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.188e-05/0.2411, allocations: 23.98 kB / 433.2 MB, free: 6.516 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001812/0.2412, allocations: 43.62 kB / 433.2 MB, free: 6.473 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.506e-05/0.2413, allocations: 27.92 kB / 433.2 MB, free: 6.445 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.0002008/0.2415, allocations: 250.5 kB / 433.5 MB, free: 6.191 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.181e-05/0.2415, allocations: 31.72 kB / 433.5 MB, free: 6.16 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.37e-05/0.2416, allocations: 22.55 kB / 433.5 MB, free: 6.141 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.958e-06/0.2416, allocations: 4 kB / 433.5 MB, free: 6.137 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.142e-06/0.2416, allocations: 0 / 433.5 MB, free: 6.137 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.44e-06/0.2416, allocations: 0 / 433.5 MB, free: 6.137 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009055/0.2425, allocations: 0.9475 MB / 434.5 MB, free: 5.133 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.2425, allocations: 0 / 434.5 MB, free: 5.133 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.405e-05/0.2426, allocations: 15.94 kB / 434.5 MB, free: 5.117 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.216e-06/0.2426, allocations: 4 kB / 434.5 MB, free: 5.113 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.564e-05/0.2426, allocations: 15.97 kB / 434.5 MB, free: 5.098 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.445e-06/0.2426, allocations: 0 / 434.5 MB, free: 5.098 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.254e-06/0.2426, allocations: 4 kB / 434.5 MB, free: 5.094 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005861/0.2432, allocations: 0.5733 MB / 435.1 MB, free: 4.5 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.461e-05/0.2433, allocations: 100.8 kB / 435.2 MB, free: 4.383 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.005e-05/0.2433, allocations: 11.98 kB / 435.2 MB, free: 4.371 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001443/0.2435, allocations: 15.98 kB / 435.2 MB, free: 4.355 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.705e-05/0.2436, allocations: 31.84 kB / 435.3 MB, free: 4.324 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.396e-05/0.2436, allocations: 15.98 kB / 435.3 MB, free: 4.309 MB / 302.1 MB Notification: Performance of sorting global known variables: time 6.648e-05/0.2437, allocations: 139.3 kB / 435.4 MB, free: 4.172 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.2437, allocations: 0 / 435.4 MB, free: 4.172 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004367/0.2441, allocations: 131.5 kB / 435.5 MB, free: 4.043 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.000336/0.2444, allocations: 204.4 kB / 435.7 MB, free: 3.844 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0005132/0.245, allocations: 363.4 kB / 436.1 MB, free: 3.488 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.398e-06/0.245, allocations: 5.5 kB / 436.1 MB, free: 3.484 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001999/0.2452, allocations: 156.6 kB / 436.3 MB, free: 3.332 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005076/0.2457, allocations: 90.23 kB / 436.3 MB, free: 3.246 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001084/0.2468, allocations: 0.8491 MB / 437.2 MB, free: 2.359 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002046/0.247, allocations: 0.8115 MB / 438 MB, free: 1.523 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.354e-05/0.2471, allocations: 27.42 kB / 438 MB, free: 1.496 MB / 302.1 MB Notification: Performance of SimCode: time 2.3e-07/0.2471, allocations: 3.938 kB / 438 MB, free: 1.492 MB / 302.1 MB Notification: Performance of Templates: time 0.007251/0.2543, allocations: 5.455 MB / 443.5 MB, free: 12.06 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