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.001829/0.001829, allocations: 105 kB / 20.49 MB, free: 1.457 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.002457/0.002457, allocations: 219.1 kB / 23.8 MB, free: 4.652 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.492/1.492, allocations: 230.6 MB / 257.6 MB, free: 8.023 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.09406/0.09406, allocations: 12.22 MB / 326.2 MB, free: 7.273 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.002106/0.002106, allocations: 63.91 kB / 454.6 MB, free: 8.512 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.117/0.1191, allocations: 56.4 MB / 0.4991 GB, free: 16 kB / 366.1 MB Notification: Performance of NFInst.instantiate(Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager): time 0.00541/0.1245, allocations: 2.963 MB / 0.502 GB, free: 13.04 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002116/0.1266, allocations: 1.125 MB / 0.503 GB, free: 11.91 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000223/0.1269, allocations: 15.88 kB / 0.5031 GB, free: 11.89 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003241/0.1272, allocations: 75.2 kB / 0.5031 GB, free: 11.82 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002483/0.1274, allocations: 59.45 kB / 0.5032 GB, free: 11.76 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.0008407/0.1283, allocations: 279.3 kB / 0.5035 GB, free: 11.48 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006286/0.1289, allocations: 466.9 kB / 0.5039 GB, free: 11.03 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002977/0.1292, allocations: 144.9 kB / 0.504 GB, free: 10.88 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003246/0.1295, allocations: 239.2 kB / 0.5043 GB, free: 10.64 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000411/0.1299, allocations: 282.8 kB / 0.5045 GB, free: 10.37 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001043/0.13, allocations: 56 kB / 0.5046 GB, free: 10.31 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000268/0.1303, allocations: 139.9 kB / 0.5047 GB, free: 10.18 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002191/0.1305, allocations: 183.5 kB / 0.5049 GB, free: 9.996 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002557/0.1308, allocations: 226.8 kB / 0.5051 GB, free: 9.773 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008199/0.1316, allocations: 0.6925 MB / 0.5058 GB, free: 9.078 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.1316, allocations: 0 / 0.5058 GB, free: 9.078 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.1316, allocations: 0 / 0.5058 GB, free: 9.078 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.702e-05/0.1316, allocations: 0 / 0.5058 GB, free: 9.078 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.002162/0.1338, allocations: 1.216 MB / 0.507 GB, free: 7.777 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.791e-05/0.1338, allocations: 12.03 kB / 0.507 GB, free: 7.766 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001145/0.1339, allocations: 56.59 kB / 0.507 GB, free: 7.711 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004418/0.1344, allocations: 270.5 kB / 0.5073 GB, free: 7.418 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.614e-05/0.1344, allocations: 41.36 kB / 0.5073 GB, free: 7.379 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.02e-05/0.1345, allocations: 48.36 kB / 0.5074 GB, free: 7.332 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008732/0.1354, allocations: 0.4986 MB / 0.5079 GB, free: 6.816 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.543e-05/0.1354, allocations: 0 / 0.5079 GB, free: 6.816 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.434e-05/0.1354, allocations: 19.98 kB / 0.5079 GB, free: 6.797 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.682e-05/0.1354, allocations: 12 kB / 0.5079 GB, free: 6.785 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005747/0.136, allocations: 290.4 kB / 0.5082 GB, free: 6.504 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001854/0.1379, allocations: 1.177 MB / 0.5093 GB, free: 5.277 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007692/0.1386, allocations: 331.8 kB / 0.5097 GB, free: 4.926 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002296/0.1389, allocations: 138.8 kB / 0.5098 GB, free: 4.781 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.419e-05/0.1389, allocations: 7.938 kB / 0.5098 GB, free: 4.773 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000402/0.1393, allocations: 246.7 kB / 0.51 GB, free: 4.508 MB / 382.1 MB Notification: Performance of pre-optimization done (n=39): time 2.444e-06/0.1393, allocations: 0 / 0.51 GB, free: 4.508 MB / 382.1 MB Notification: Performance of matching and sorting (n=39): time 0.001114/0.1404, allocations: 0.5751 MB / 0.5106 GB, free: 3.926 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001054/0.1405, allocations: 127.1 kB / 0.5107 GB, free: 3.777 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002403/0.1408, allocations: 227 kB / 0.5109 GB, free: 3.543 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.696e-05/0.1408, allocations: 45.69 kB / 0.511 GB, free: 3.492 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001747/0.141, allocations: 221.2 kB / 0.5112 GB, free: 3.273 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.669e-05/0.1411, allocations: 87.38 kB / 0.5113 GB, free: 3.188 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001753/0.1413, allocations: 134.1 kB / 0.5114 GB, free: 3.047 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001668/0.1414, allocations: 338.8 kB / 0.5117 GB, free: 2.707 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002142/0.1416, allocations: 108.9 kB / 0.5118 GB, free: 2.602 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003625/0.142, allocations: 308.9 kB / 0.5121 GB, free: 2.215 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006473/0.1426, allocations: 459.8 kB / 0.5126 GB, free: 1.68 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.304e-06/0.1427, allocations: 3.938 kB / 0.5126 GB, free: 1.676 MB / 382.1 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.000763/0.1434, allocations: 461.6 kB / 0.513 GB, free: 1.219 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.869e-05/0.1434, allocations: 11.94 kB / 0.513 GB, free: 1.207 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.165e-05/0.1434, allocations: 8 kB / 0.513 GB, free: 1.199 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.273e-05/0.1435, allocations: 12 kB / 0.513 GB, free: 1.188 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002457/0.1437, allocations: 71.84 kB / 0.5131 GB, free: 1.117 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.838e-05/0.1437, allocations: 16 kB / 0.5131 GB, free: 1.102 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002105/0.1439, allocations: 43.72 kB / 0.5132 GB, free: 1.059 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.659e-05/0.144, allocations: 27.97 kB / 0.5132 GB, free: 1.031 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.0002881/0.1443, allocations: 253.9 kB / 0.5134 GB, free: 0.7734 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.299e-05/0.1443, allocations: 27.81 kB / 0.5134 GB, free: 0.7461 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.858e-05/0.1444, allocations: 26.64 kB / 0.5135 GB, free: 0.7148 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.561e-06/0.1444, allocations: 4 kB / 0.5135 GB, free: 0.7109 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.003e-06/0.1444, allocations: 0 / 0.5135 GB, free: 0.7109 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.046e-06/0.1444, allocations: 8 kB / 0.5135 GB, free: 0.7031 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2237/0.3681, allocations: 0.9079 MB / 0.5144 GB, free: 21.28 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.335e-06/0.3681, allocations: 0 / 0.5144 GB, free: 21.28 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.337e-05/0.3682, allocations: 11.98 kB / 0.5144 GB, free: 21.28 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.903e-06/0.3682, allocations: 2 kB / 0.5144 GB, free: 21.28 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.077e-05/0.3683, allocations: 13.3 kB / 0.5144 GB, free: 21.28 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.21e-06/0.3683, allocations: 2.719 kB / 0.5144 GB, free: 21.28 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.024e-06/0.3683, allocations: 3.234 kB / 0.5144 GB, free: 21.28 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007507/0.369, allocations: 0.5661 MB / 0.515 GB, free: 21.12 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.485e-05/0.3691, allocations: 28.64 kB / 0.515 GB, free: 21.12 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.81e-05/0.3691, allocations: 10.67 kB / 0.515 GB, free: 21.12 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000152/0.3693, allocations: 9.078 kB / 0.515 GB, free: 21.12 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.033e-05/0.3693, allocations: 31.11 kB / 0.515 GB, free: 21.12 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.948e-05/0.3694, allocations: 17.06 kB / 0.515 GB, free: 21.12 MB / 382.1 MB Notification: Performance of sorting global known variables: time 9.132e-05/0.3695, allocations: 136.3 kB / 0.5152 GB, free: 21.05 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3695, allocations: 0 / 0.5152 GB, free: 21.05 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0005724/0.37, allocations: 141.1 kB / 0.5153 GB, free: 21.05 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.000379/0.3704, allocations: 203.3 kB / 0.5155 GB, free: 20.96 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0005377/0.3709, allocations: 338.5 kB / 0.5158 GB, free: 20.95 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.796e-06/0.3709, allocations: 0 / 0.5158 GB, free: 20.95 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002279/0.3712, allocations: 140.1 kB / 0.516 GB, free: 20.95 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005445/0.3717, allocations: 81.33 kB / 0.516 GB, free: 20.95 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00122/0.3729, allocations: 0.6981 MB / 0.5167 GB, free: 20.6 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002274/0.3732, allocations: 0.8112 MB / 0.5175 GB, free: 19.9 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.77e-05/0.3732, allocations: 28.91 kB / 0.5175 GB, free: 19.89 MB / 382.1 MB Notification: Performance of SimCode: time 3.41e-07/0.3732, allocations: 2.531 kB / 0.5175 GB, free: 19.89 MB / 382.1 MB Notification: Performance of Templates: time 0.009658/0.3829, allocations: 5.481 MB / 0.5229 GB, free: 19.43 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 -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 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.52991658099927] Failed to read output from testmodel.py, exit status != 0: 0.3917484260164201 0.40400436799999995 0.26958415399999996 Calling exit ...