Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.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.001387/0.001387, allocations: 100.4 kB / 20.49 MB, free: 1.344 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.001685/0.001685, allocations: 202.8 kB / 23.78 MB, free: 4.5 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.508/1.508, allocations: 230.6 MB / 257.6 MB, free: 7.738 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.06292/0.06292, allocations: 12.23 MB / 326.2 MB, free: 7.098 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.ClockedBlocks.Examples.TestSerialPackager,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager") translateModel(Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002041/0.002041, allocations: 67.91 kB / 454.6 MB, free: 8.301 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1251/0.1271, allocations: 56.38 MB / 0.499 GB, free: 15.82 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager): time 0.005539/0.1327, allocations: 2.947 MB / 0.5018 GB, free: 12.86 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002368/0.135, allocations: 1.063 MB / 0.5029 GB, free: 11.79 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00021/0.1353, allocations: 15.88 kB / 0.5029 GB, free: 11.77 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002865/0.1355, allocations: 67.28 kB / 0.503 GB, free: 11.71 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000218/0.1358, allocations: 47.53 kB / 0.503 GB, free: 11.66 MB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers master/ClockedBlocks/Packaging.mo:132:9-139:18:writable] Warning: Pure function 'Modelica_DeviceDrivers.ClockedBlocks.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/ClockedBlocks/Packaging.mo:141:7-156:25:writable] Warning: Pure function 'Modelica_DeviceDrivers.ClockedBlocks.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/ClockedBlocks/Packaging.mo:65:9-74:23:writable] Warning: Pure function 'Modelica_DeviceDrivers.ClockedBlocks.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/ClockedBlocks/Packaging.mo:100:9-107:25:writable] Warning: Pure function 'Modelica_DeviceDrivers.ClockedBlocks.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/ClockedBlocks/Packaging.mo:158:7-173:27:writable] Warning: Pure function 'Modelica_DeviceDrivers.ClockedBlocks.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/ClockedBlocks/Packaging.mo:109:9-119:23:writable] Warning: Pure function 'Modelica_DeviceDrivers.ClockedBlocks.Packaging.SerialPackager.Internal.DummyFunctions.getInteger' contains a call to impure function 'Modelica_DeviceDrivers.Packaging.SerialPackager_.getInteger'. Notification: Performance of NFTyping.typeClassSections: time 0.001082/0.1368, allocations: 297.7 kB / 0.5033 GB, free: 11.37 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005298/0.1374, allocations: 399.7 kB / 0.5037 GB, free: 10.98 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003013/0.1377, allocations: 127.1 kB / 0.5038 GB, free: 10.84 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002438/0.1379, allocations: 195.3 kB / 0.504 GB, free: 10.65 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003088/0.1382, allocations: 207 kB / 0.5042 GB, free: 10.45 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 7.258e-05/0.1383, allocations: 44 kB / 0.5042 GB, free: 10.41 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002631/0.1386, allocations: 131.9 kB / 0.5043 GB, free: 10.28 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000185/0.1387, allocations: 147.5 kB / 0.5045 GB, free: 10.13 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001837/0.1389, allocations: 151.2 kB / 0.5046 GB, free: 9.984 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007595/0.1397, allocations: 0.5719 MB / 0.5052 GB, free: 9.41 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.1397, allocations: 0 / 0.5052 GB, free: 9.41 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.854e-06/0.1397, allocations: 0 / 0.5052 GB, free: 9.41 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.764e-06/0.1397, allocations: 4 kB / 0.5052 GB, free: 9.406 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: 99 * Number of variables: 99 Notification: Performance of Generate backend data structure: time 0.002083/0.1418, allocations: 1.139 MB / 0.5063 GB, free: 8.18 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.478e-05/0.1418, allocations: 8.031 kB / 0.5063 GB, free: 8.172 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001218/0.142, allocations: 44.69 kB / 0.5064 GB, free: 8.129 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004609/0.1424, allocations: 259.6 kB / 0.5066 GB, free: 7.848 MB / 382.1 MB Error: Internal error - BackendDAEOptimize.makeEquationToResidualExp failed to transform equation: packager.initialized = previous(packager.initialized) to residual form! Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001167/0.1425, allocations: 63.25 kB / 0.5067 GB, free: 7.777 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.847e-05/0.1426, allocations: 36.38 kB / 0.5067 GB, free: 7.742 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002031/0.1446, allocations: 1.289 MB / 0.508 GB, free: 6.41 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.576e-05/0.1446, allocations: 0 / 0.508 GB, free: 6.41 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.279e-05/0.1447, allocations: 16 kB / 0.508 GB, free: 6.395 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.494e-05/0.1447, allocations: 8 kB / 0.508 GB, free: 6.387 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005016/0.1452, allocations: 250.4 kB / 0.5082 GB, free: 6.141 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009709/0.1462, allocations: 0.6529 MB / 0.5089 GB, free: 5.441 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001193/0.1474, allocations: 0.7163 MB / 0.5096 GB, free: 4.688 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006223/0.148, allocations: 388.2 kB / 0.5099 GB, free: 4.297 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001105/0.1481, allocations: 32.64 kB / 0.51 GB, free: 4.266 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001509/0.1482, allocations: 103.4 kB / 0.5101 GB, free: 4.141 MB / 382.1 MB Notification: Performance of pre-optimization done (n=84): time 3.016e-06/0.1482, allocations: 0 / 0.5101 GB, free: 4.141 MB / 382.1 MB Notification: Performance of matching and sorting (n=84): time 0.001525/0.1498, allocations: 0.7903 MB / 0.5108 GB, free: 3.344 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001993/0.15, allocations: 204.8 kB / 0.511 GB, free: 3.105 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002276/0.1502, allocations: 211 kB / 0.5112 GB, free: 2.887 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.94e-05/0.1502, allocations: 41.7 kB / 0.5113 GB, free: 2.84 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001164/0.1504, allocations: 142.2 kB / 0.5114 GB, free: 2.695 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.138e-05/0.1504, allocations: 63.75 kB / 0.5115 GB, free: 2.633 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001661/0.1506, allocations: 134.7 kB / 0.5116 GB, free: 2.496 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001957/0.1508, allocations: 350.8 kB / 0.5119 GB, free: 2.145 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001785/0.151, allocations: 101.9 kB / 0.512 GB, free: 2.043 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006526/0.1516, allocations: 0.6143 MB / 0.5126 GB, free: 1.176 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009539/0.1526, allocations: 0.7755 MB / 0.5134 GB, free: 148 kB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.195e-05/0.1526, allocations: 12 kB / 0.5134 GB, free: 136 kB / 382.1 MB Notification: Performance of matching and sorting (n=89) (initialization): time 0.2414/0.394, allocations: 0.6596 MB / 0.514 GB, free: 21.25 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.465e-05/0.3941, allocations: 12.81 kB / 0.514 GB, free: 21.25 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.944e-05/0.3941, allocations: 19.03 kB / 0.5141 GB, free: 21.25 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.123e-05/0.3941, allocations: 25 kB / 0.5141 GB, free: 21.25 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004185/0.3946, allocations: 155.9 kB / 0.5142 GB, free: 21.24 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.107e-05/0.3946, allocations: 39.97 kB / 0.5143 GB, free: 21.23 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003846/0.395, allocations: 66.59 kB / 0.5143 GB, free: 21.23 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.811e-05/0.395, allocations: 47.53 kB / 0.5144 GB, free: 21.23 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 83 * Number of states: 0 () * Number of discrete variables: 63 ($whenCondition1,booleanPulse.pulseStart,$PRE.booleanPulse.pulseStart,sample4.u,integerExpression1.y,integerExpression2.y,integerExpression.y,getBoolean.y_int[1],getBoolean.y[1],getBoolean.pkgIn.autoPkgBitSize,getBoolean.pkgIn.userPkgBitSize,sample4.y,addBoolean.u_int[1],addBoolean.u[1],addBoolean.pkgOut[1].autoPkgBitSize,addBoolean.pkgOut[1].userPkgBitSize,addBoolean.pkgIn.autoPkgBitSize,addBoolean.pkgIn.userPkgBitSize,sample3.y,sample2.y,sample1.y,unpackInt1.y,unpackInt1.pkgOut[1].autoPkgBitSize,unpackInt1.pkgOut[1].userPkgBitSize,unpackInt1.pkgIn.autoPkgBitSize,unpackInt1.pkgIn.userPkgBitSize,getInteger.y[1],getInteger.pkgOut[1].autoPkgBitSize,getInteger.pkgOut[1].userPkgBitSize,getInteger.pkgIn.autoPkgBitSize,getInteger.pkgIn.userPkgBitSize,unpackInt.y,unpackInt.pkgOut[1].autoPkgBitSize,unpackInt.pkgOut[1].userPkgBitSize,unpackInt.pkgIn.autoPkgBitSize,unpackInt.pkgIn.userPkgBitSize,resetPointer.pkgOut[1].autoPkgBitSize,resetPointer.pkgOut[1].userPkgBitSize,resetPointer.pkgIn.autoPkgBitSize,resetPointer.pkgIn.userPkgBitSize,packInt1.u,packInt1.pkgOut[1].autoPkgBitSize,packInt1.pkgOut[1].userPkgBitSize,packInt1.pkgIn.autoPkgBitSize,packInt1.pkgIn.userPkgBitSize,addInteger.u[1],addInteger.pkgOut[1].autoPkgBitSize,addInteger.pkgOut[1].userPkgBitSize,addInteger.pkgIn.autoPkgBitSize,addInteger.pkgIn.userPkgBitSize,packInt.u,packInt.pkgOut[1].autoPkgBitSize,packInt.pkgOut[1].userPkgBitSize,packInt.pkgIn.autoPkgBitSize,packInt.pkgIn.userPkgBitSize,$CLKPRE.packager.bufferSize,packager.bufferSize,$CLKPRE.packager.backwardPropagatedBufferSize,packager.backwardPropagatedBufferSize,$CLKPRE.packager.initialized,packager.initialized,packager.pkgOut.autoPkgBitSize,packager.pkgOut.userPkgBitSize) * Number of discrete states: 0 () * Number of clocked states: 4 (packager.bufferSize,packager.backwardPropagatedBufferSize,packager.dummy,packager.initialized) * Top-level inputs: 0 Notification: Strong component statistics for initialization (89): * Single equations (assignments): 89 * 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.0003489/0.3954, allocations: 264.8 kB / 0.5146 GB, free: 21.09 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008928/0.3963, allocations: 0.5417 MB / 0.5152 GB, free: 21.04 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009743/0.3972, allocations: 0.5978 MB / 0.5157 GB, free: 20.98 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.377e-05/0.3972, allocations: 13.12 kB / 0.5158 GB, free: 20.98 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.855e-06/0.3973, allocations: 0 / 0.5158 GB, free: 20.98 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.021e-05/0.3973, allocations: 5.625 kB / 0.5158 GB, free: 20.98 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002416/0.3975, allocations: 233.5 kB / 0.516 GB, free: 20.84 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.707e-05/0.3975, allocations: 5.797 kB / 0.516 GB, free: 20.84 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003658/0.3979, allocations: 117.8 kB / 0.5161 GB, free: 20.84 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.005e-05/0.3979, allocations: 9.891 kB / 0.5161 GB, free: 20.84 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.44e-05/0.3979, allocations: 24.78 kB / 0.5161 GB, free: 20.84 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.402e-06/0.398, allocations: 8.25 kB / 0.5161 GB, free: 20.83 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/0.398, allocations: 2.062 kB / 0.5161 GB, free: 20.83 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009163/0.3989, allocations: 0.6713 MB / 0.5168 GB, free: 20.7 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.582e-05/0.3989, allocations: 47.66 kB / 0.5168 GB, free: 20.68 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.817e-05/0.399, allocations: 17.27 kB / 0.5169 GB, free: 20.68 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001559/0.3991, allocations: 22.69 kB / 0.5169 GB, free: 20.68 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.4e-05/0.3992, allocations: 17.5 kB / 0.5169 GB, free: 20.67 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.537e-05/0.3992, allocations: 30.66 kB / 0.5169 GB, free: 20.67 MB / 382.1 MB Notification: Performance of sorting global known variables: time 8.536e-05/0.3993, allocations: 127.8 kB / 0.5171 GB, free: 20.59 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.3993, allocations: 0 / 0.5171 GB, free: 20.59 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0006213/0.3999, allocations: 124.8 kB / 0.5172 GB, free: 20.59 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 62 ($whenCondition1,sample4.u,booleanPulse.pulseStart,integerExpression1.y,integerExpression2.y,integerExpression.y,$cse1,$cse2,$cse3,packager.pkgOut.userPkgBitSize,packager.pkgOut.autoPkgBitSize,packager.initialized,packager.backwardPropagatedBufferSize,packager.bufferSize,packInt.pkgIn.userPkgBitSize,packInt.pkgIn.autoPkgBitSize,packInt.pkgOut[1].userPkgBitSize,packInt.pkgOut[1].autoPkgBitSize,packInt.u,addInteger.pkgIn.userPkgBitSize,addInteger.pkgIn.autoPkgBitSize,addInteger.pkgOut[1].userPkgBitSize,addInteger.pkgOut[1].autoPkgBitSize,addInteger.u[1],packInt1.pkgIn.userPkgBitSize,packInt1.pkgIn.autoPkgBitSize,packInt1.pkgOut[1].userPkgBitSize,packInt1.pkgOut[1].autoPkgBitSize,packInt1.u,resetPointer.pkgIn.userPkgBitSize,resetPointer.pkgIn.autoPkgBitSize,resetPointer.pkgOut[1].userPkgBitSize,resetPointer.pkgOut[1].autoPkgBitSize,unpackInt.pkgIn.userPkgBitSize,unpackInt.pkgIn.autoPkgBitSize,unpackInt.pkgOut[1].userPkgBitSize,unpackInt.pkgOut[1].autoPkgBitSize,unpackInt.y,getInteger.pkgIn.userPkgBitSize,getInteger.pkgIn.autoPkgBitSize,getInteger.pkgOut[1].userPkgBitSize,getInteger.pkgOut[1].autoPkgBitSize,getInteger.y[1],unpackInt1.pkgIn.userPkgBitSize,unpackInt1.pkgIn.autoPkgBitSize,unpackInt1.pkgOut[1].userPkgBitSize,unpackInt1.pkgOut[1].autoPkgBitSize,unpackInt1.y,sample1.y,sample2.y,sample3.y,addBoolean.pkgIn.userPkgBitSize,addBoolean.pkgIn.autoPkgBitSize,addBoolean.pkgOut[1].userPkgBitSize,addBoolean.pkgOut[1].autoPkgBitSize,addBoolean.u[1],addBoolean.u_int[1],sample4.y,getBoolean.pkgIn.userPkgBitSize,getBoolean.pkgIn.autoPkgBitSize,getBoolean.y[1],getBoolean.y_int[1]) * Number of discrete states: 0 () * Number of clocked states: 4 (packager.initialized,packager.dummy,packager.backwardPropagatedBufferSize,packager.bufferSize) * Top-level inputs: 0 Notification: Strong component statistics for simulation (81): * Single equations (assignments): 75 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 1 * If-equations: 1 * 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.0005186/0.4005, allocations: 260.3 kB / 0.5174 GB, free: 20.48 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.000783/0.4012, allocations: 0.5052 MB / 0.5179 GB, free: 20.43 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.4013, allocations: 3.688 kB / 0.5179 GB, free: 20.43 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 5.624e-05/0.4013, allocations: 21.25 kB / 0.5179 GB, free: 20.42 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001355/0.4027, allocations: 1.245 MB / 0.5192 GB, free: 19.57 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001298/0.404, allocations: 0.8607 MB / 0.52 GB, free: 19.22 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001876/0.4041, allocations: 250.5 kB / 0.5202 GB, free: 19.14 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.537e-05/0.4042, allocations: 37.72 kB / 0.5203 GB, free: 19.13 MB / 382.1 MB Notification: Performance of SimCode: time 4.91e-07/0.4042, allocations: 4 kB / 0.5203 GB, free: 19.13 MB / 382.1 MB Notification: Performance of Templates: time 0.01081/0.415, allocations: 5.916 MB / 0.526 GB, free: 18.53 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager.makefile [Timeout 660] make -j1 -f Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.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/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/Resources/C-Sources" -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" "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/Resources/C-Sources" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppModelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackagerCalcHelperMain.o OMCppModelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackagerCalcHelperMain.cpp In file included from OMCppModelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackagerCalcHelperMain.cpp:28: In file included from ./OMCppModelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.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.ClockedBlocks.Examples.TestSerialPackagerCalcHelperMain.o] Error 1 [Calling os._exit(0), Time elapsed: 4.357851579319686] Failed to read output from testmodel.py, exit status != 0: 0.42401878675445914 0.437658585 0.29517799899999997 Calling exit ...