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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001423/0.001423, allocations: 100.4 kB / 20.48 MB, free: 1.227 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001613/0.001613, allocations: 211 kB / 23.79 MB, free: 4.414 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.474/1.474, allocations: 230.6 MB / 257.6 MB, free: 7.812 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers master/package.mo): time 0.06361/0.06361, allocations: 12.23 MB / 326.2 MB, free: 7.055 MB / 254.1 MB " [Timeout remaining time 180] Using package Modelica_DeviceDrivers with version 2.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager") translateModel(Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002127/0.002127, allocations: 71.88 kB / 454.6 MB, free: 8.355 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.108/0.1101, allocations: 56.39 MB / 0.499 GB, free: 15.86 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager): time 0.005008/0.1152, allocations: 2.888 MB / 0.5018 GB, free: 12.96 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002025/0.1172, allocations: 1.055 MB / 0.5028 GB, free: 11.9 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000138/0.1173, allocations: 15.88 kB / 0.5028 GB, free: 11.89 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002762/0.1176, allocations: 75.2 kB / 0.5029 GB, free: 11.81 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001845/0.1178, allocations: 59.45 kB / 0.503 GB, free: 11.75 MB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 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 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 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 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 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 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.0007843/0.1186, allocations: 291.3 kB / 0.5032 GB, free: 11.47 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005505/0.1191, allocations: 462.9 kB / 0.5037 GB, free: 11.02 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002853/0.1194, allocations: 140.9 kB / 0.5038 GB, free: 10.87 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002959/0.1197, allocations: 239.2 kB / 0.504 GB, free: 10.64 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003541/0.1201, allocations: 242.9 kB / 0.5043 GB, free: 10.4 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 8.435e-05/0.1201, allocations: 56 kB / 0.5043 GB, free: 10.34 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002576/0.1204, allocations: 143.9 kB / 0.5045 GB, free: 10.2 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002052/0.1206, allocations: 171.6 kB / 0.5046 GB, free: 10.04 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002133/0.1208, allocations: 199 kB / 0.5048 GB, free: 9.84 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008241/0.1216, allocations: 0.6964 MB / 0.5055 GB, free: 9.141 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.917e-06/0.1216, allocations: 0 / 0.5055 GB, free: 9.141 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.694e-06/0.1216, allocations: 0 / 0.5055 GB, free: 9.141 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.167e-06/0.1217, allocations: 0 / 0.5055 GB, free: 9.141 MB / 382.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.002154/0.1238, allocations: 1.197 MB / 0.5067 GB, free: 7.859 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.137e-05/0.1238, allocations: 12.02 kB / 0.5067 GB, free: 7.848 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000114/0.124, allocations: 56.61 kB / 0.5067 GB, free: 7.793 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004416/0.1244, allocations: 278.6 kB / 0.507 GB, free: 7.492 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.385e-05/0.1245, allocations: 33.38 kB / 0.507 GB, free: 7.461 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.747e-05/0.1245, allocations: 44.36 kB / 0.5071 GB, free: 7.418 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009013/0.1254, allocations: 0.5025 MB / 0.5076 GB, free: 6.895 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.752e-05/0.1254, allocations: 3.938 kB / 0.5076 GB, free: 6.891 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.496e-05/0.1255, allocations: 19.98 kB / 0.5076 GB, free: 6.871 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.552e-05/0.1255, allocations: 12 kB / 0.5076 GB, free: 6.859 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000572/0.1261, allocations: 290.4 kB / 0.5079 GB, free: 6.578 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001611/0.1277, allocations: 0.9673 MB / 0.5088 GB, free: 5.574 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007887/0.1285, allocations: 331.7 kB / 0.5091 GB, free: 5.223 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002465/0.1287, allocations: 138.6 kB / 0.5093 GB, free: 5.078 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.063e-05/0.1288, allocations: 4.188 kB / 0.5093 GB, free: 5.074 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004242/0.1292, allocations: 258.7 kB / 0.5095 GB, free: 4.797 MB / 382.1 MB Notification: Performance of pre-optimization done (n=39): time 2.275e-06/0.1292, allocations: 0 / 0.5095 GB, free: 4.797 MB / 382.1 MB Notification: Performance of matching and sorting (n=39): time 0.001157/0.1303, allocations: 0.5675 MB / 0.5101 GB, free: 4.223 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001155/0.1304, allocations: 127 kB / 0.5102 GB, free: 4.074 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002675/0.1307, allocations: 231 kB / 0.5104 GB, free: 3.836 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 5.549e-05/0.1308, allocations: 45.69 kB / 0.5105 GB, free: 3.785 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001865/0.131, allocations: 217.2 kB / 0.5107 GB, free: 3.57 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.497e-05/0.1311, allocations: 95.36 kB / 0.5108 GB, free: 3.477 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001774/0.1312, allocations: 130 kB / 0.5109 GB, free: 3.34 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001826/0.1314, allocations: 338.8 kB / 0.5112 GB, free: 3 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002065/0.1316, allocations: 108.9 kB / 0.5113 GB, free: 2.895 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003882/0.132, allocations: 312.9 kB / 0.5116 GB, free: 2.504 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006358/0.1326, allocations: 459.8 kB / 0.512 GB, free: 1.969 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.091e-06/0.1326, allocations: 4 kB / 0.512 GB, free: 1.965 MB / 382.1 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.0007714/0.1334, allocations: 465.2 kB / 0.5125 GB, free: 1.504 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.738e-05/0.1334, allocations: 8 kB / 0.5125 GB, free: 1.496 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.285e-05/0.1335, allocations: 8 kB / 0.5125 GB, free: 1.488 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.604e-05/0.1335, allocations: 8 kB / 0.5125 GB, free: 1.48 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002832/0.1338, allocations: 75.84 kB / 0.5126 GB, free: 1.406 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.905e-05/0.1338, allocations: 11.98 kB / 0.5126 GB, free: 1.395 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002101/0.134, allocations: 35.72 kB / 0.5126 GB, free: 1.359 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.092e-05/0.134, allocations: 27.98 kB / 0.5127 GB, free: 1.332 MB / 382.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.0003575/0.1344, allocations: 249.9 kB / 0.5129 GB, free: 1.078 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.552e-05/0.1345, allocations: 35.73 kB / 0.5129 GB, free: 1.043 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.782e-05/0.1345, allocations: 22.66 kB / 0.513 GB, free: 1.016 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.137e-05/0.1345, allocations: 7.984 kB / 0.513 GB, free: 1.008 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.117e-05/0.1345, allocations: 4 kB / 0.513 GB, free: 1.004 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.889e-06/0.1345, allocations: 0 / 0.513 GB, free: 1.004 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001333/0.1359, allocations: 0.7831 MB / 0.5137 GB, free: 188 kB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.116e-06/0.1359, allocations: 0 / 0.5137 GB, free: 188 kB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.799e-05/0.1359, allocations: 11.94 kB / 0.5137 GB, free: 176 kB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.593e-06/0.1359, allocations: 4 kB / 0.5137 GB, free: 172 kB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.924e-05/0.136, allocations: 11.98 kB / 0.5138 GB, free: 160 kB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.893e-06/0.136, allocations: 7.984 kB / 0.5138 GB, free: 152 kB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.136, allocations: 0 / 0.5138 GB, free: 152 kB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2159/0.3518, allocations: 0.569 MB / 0.5143 GB, free: 21.47 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.631e-05/0.3519, allocations: 23.69 kB / 0.5143 GB, free: 21.47 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.328e-05/0.3519, allocations: 12.11 kB / 0.5144 GB, free: 21.47 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001777/0.3521, allocations: 9.891 kB / 0.5144 GB, free: 21.47 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.178e-05/0.3522, allocations: 26.39 kB / 0.5144 GB, free: 21.47 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.98e-05/0.3522, allocations: 24.59 kB / 0.5144 GB, free: 21.47 MB / 382.1 MB Notification: Performance of sorting global known variables: time 9.392e-05/0.3523, allocations: 132.6 kB / 0.5145 GB, free: 21.39 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3523, allocations: 0 / 0.5145 GB, free: 21.39 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0005526/0.3529, allocations: 142.4 kB / 0.5147 GB, free: 21.39 MB / 382.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.0003972/0.3533, allocations: 201.8 kB / 0.5149 GB, free: 21.3 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0005686/0.3538, allocations: 331.3 kB / 0.5152 GB, free: 21.29 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.3538, allocations: 0 / 0.5152 GB, free: 21.29 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002193/0.3541, allocations: 144.6 kB / 0.5153 GB, free: 21.28 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005244/0.3546, allocations: 83.66 kB / 0.5154 GB, free: 21.28 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001185/0.3558, allocations: 0.7024 MB / 0.5161 GB, free: 20.93 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001679/0.3559, allocations: 208.7 kB / 0.5163 GB, free: 20.84 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.916e-05/0.356, allocations: 28.58 kB / 0.5163 GB, free: 20.84 MB / 382.1 MB Notification: Performance of SimCode: time 3.91e-07/0.356, allocations: 0 / 0.5163 GB, free: 20.84 MB / 382.1 MB Notification: Performance of Templates: time 0.009189/0.3652, allocations: 5.542 MB / 0.5217 GB, free: 20.35 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager.makefile [Timeout 660] 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 -DOMC_BUILD -DUSE_THREAD -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 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 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 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, ^ 1 error generated. make: *** [: OMCppModelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackagerCalcHelperMain.o] Error 1 [Calling os._exit(0), Time elapsed: 4.215135054197162] Failed to read output from testmodel.py, exit status != 0: 0.37404183810576797 0.387169786 0.262168208 Calling exit ...