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.001293/0.001293, 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.001429/0.001429, allocations: 218.2 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.441/1.441, allocations: 230.6 MB / 257.6 MB, free: 8.012 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.06345/0.06345, allocations: 12.21 MB / 326.2 MB, free: 7.258 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.001951/0.001951, allocations: 63.91 kB / 454.6 MB, free: 8.5 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.11/0.1119, allocations: 56.39 MB / 0.499 GB, free: 8 kB / 366.1 MB Notification: Performance of NFInst.instantiate(Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager): time 0.005079/0.117, allocations: 3.022 MB / 0.502 GB, free: 12.97 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002209/0.1192, allocations: 1.137 MB / 0.5031 GB, free: 11.83 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002018/0.1194, allocations: 11.88 kB / 0.5031 GB, free: 11.82 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002773/0.1197, allocations: 67.34 kB / 0.5032 GB, free: 11.75 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001981/0.1199, allocations: 47.53 kB / 0.5032 GB, free: 11.7 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.0009947/0.1209, allocations: 295.2 kB / 0.5035 GB, free: 11.41 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004976/0.1214, allocations: 407.6 kB / 0.5039 GB, free: 11.02 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002861/0.1216, allocations: 123.2 kB / 0.504 GB, free: 10.88 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002263/0.1219, allocations: 195.4 kB / 0.5042 GB, free: 10.69 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002972/0.1222, allocations: 227 kB / 0.5044 GB, free: 10.47 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.392e-05/0.1222, allocations: 44 kB / 0.5045 GB, free: 10.43 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002319/0.1225, allocations: 139.9 kB / 0.5046 GB, free: 10.29 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001589/0.1226, allocations: 147.5 kB / 0.5047 GB, free: 10.14 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001885/0.1228, allocations: 191 kB / 0.5049 GB, free: 9.957 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006905/0.1235, allocations: 0.5796 MB / 0.5055 GB, free: 9.375 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.1235, allocations: 0 / 0.5055 GB, free: 9.375 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.382e-06/0.1235, allocations: 0 / 0.5055 GB, free: 9.375 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.306e-05/0.1235, allocations: 8 kB / 0.5055 GB, free: 9.367 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.001908/0.1254, allocations: 1.135 MB / 0.5066 GB, free: 8.145 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.985e-05/0.1255, allocations: 12.02 kB / 0.5066 GB, free: 8.133 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001039/0.1256, allocations: 40.7 kB / 0.5067 GB, free: 8.094 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004198/0.126, allocations: 259.7 kB / 0.5069 GB, free: 7.812 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.0001072/0.1261, allocations: 64.66 kB / 0.507 GB, free: 7.742 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.864e-05/0.1262, allocations: 40.38 kB / 0.507 GB, free: 7.703 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001885/0.128, allocations: 1.219 MB / 0.5082 GB, free: 6.461 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.731e-05/0.1281, allocations: 3.984 kB / 0.5082 GB, free: 6.457 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.554e-05/0.1281, allocations: 20 kB / 0.5082 GB, free: 6.438 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.345e-05/0.1281, allocations: 12 kB / 0.5082 GB, free: 6.426 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000468/0.1286, allocations: 254.4 kB / 0.5085 GB, free: 6.176 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001019/0.1296, allocations: 0.8122 MB / 0.5093 GB, free: 5.305 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001157/0.1308, allocations: 0.713 MB / 0.51 GB, free: 4.555 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000615/0.1314, allocations: 392.2 kB / 0.5103 GB, free: 4.156 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001046/0.1315, allocations: 36.7 kB / 0.5104 GB, free: 4.121 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001533/0.1316, allocations: 107.4 kB / 0.5105 GB, free: 3.992 MB / 382.1 MB Notification: Performance of pre-optimization done (n=84): time 2.485e-06/0.1316, allocations: 0 / 0.5105 GB, free: 3.992 MB / 382.1 MB Notification: Performance of matching and sorting (n=84): time 0.001428/0.1331, allocations: 0.7827 MB / 0.5112 GB, free: 3.203 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000177/0.1332, allocations: 208.7 kB / 0.5114 GB, free: 2.961 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002041/0.1334, allocations: 199.1 kB / 0.5116 GB, free: 2.754 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 5.086e-05/0.1335, allocations: 41.7 kB / 0.5117 GB, free: 2.707 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.792e-05/0.1336, allocations: 137.9 kB / 0.5118 GB, free: 2.566 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.265e-05/0.1337, allocations: 63.69 kB / 0.5119 GB, free: 2.504 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001544/0.1338, allocations: 138.9 kB / 0.512 GB, free: 2.363 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001713/0.134, allocations: 350.8 kB / 0.5123 GB, free: 2.012 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001776/0.1342, allocations: 109.9 kB / 0.5124 GB, free: 1.906 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005776/0.1347, allocations: 0.6026 MB / 0.513 GB, free: 1.047 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008506/0.1356, allocations: 0.7833 MB / 0.5138 GB, free: 8 kB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.414e-06/0.1356, allocations: 4 kB / 0.5138 GB, free: 4 kB / 382.1 MB Notification: Performance of matching and sorting (n=89) (initialization): time 0.1986/0.3342, allocations: 0.6598 MB / 0.5144 GB, free: 21.3 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.938e-05/0.3342, allocations: 13.72 kB / 0.5144 GB, free: 21.3 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.018e-05/0.3342, allocations: 17.58 kB / 0.5145 GB, free: 21.3 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.508e-05/0.3343, allocations: 23.22 kB / 0.5145 GB, free: 21.3 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003839/0.3347, allocations: 161.5 kB / 0.5146 GB, free: 21.3 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.941e-05/0.3347, allocations: 37.47 kB / 0.5147 GB, free: 21.3 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003406/0.335, allocations: 63.88 kB / 0.5147 GB, free: 21.3 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.37e-05/0.3351, allocations: 51.16 kB / 0.5148 GB, free: 21.3 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.0003083/0.3354, allocations: 272.7 kB / 0.515 GB, free: 21.16 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007695/0.3361, allocations: 0.5362 MB / 0.5156 GB, free: 21.11 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008852/0.337, allocations: 0.598 MB / 0.5161 GB, free: 21.05 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.053e-05/0.337, allocations: 9.219 kB / 0.5162 GB, free: 21.05 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.772e-06/0.3371, allocations: 2.656 kB / 0.5162 GB, free: 21.05 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.118e-05/0.3371, allocations: 9.781 kB / 0.5162 GB, free: 21.05 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003006/0.3374, allocations: 388 kB / 0.5165 GB, free: 20.88 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.42e-05/0.3374, allocations: 5.781 kB / 0.5165 GB, free: 20.88 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003603/0.3377, allocations: 123.2 kB / 0.5167 GB, free: 20.88 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.54e-06/0.3377, allocations: 2.969 kB / 0.5167 GB, free: 20.88 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.431e-05/0.3378, allocations: 20.52 kB / 0.5167 GB, free: 20.88 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.829e-06/0.3378, allocations: 3.406 kB / 0.5167 GB, free: 20.88 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.845e-06/0.3378, allocations: 7.812 kB / 0.5167 GB, free: 20.87 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008564/0.3386, allocations: 0.6673 MB / 0.5173 GB, free: 20.74 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.381e-05/0.3387, allocations: 53.81 kB / 0.5174 GB, free: 20.72 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.647e-05/0.3387, allocations: 18.41 kB / 0.5174 GB, free: 20.72 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001432/0.3389, allocations: 22.83 kB / 0.5174 GB, free: 20.72 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.476e-05/0.3389, allocations: 24.02 kB / 0.5175 GB, free: 20.71 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.108e-05/0.339, allocations: 28.05 kB / 0.5175 GB, free: 20.71 MB / 382.1 MB Notification: Performance of sorting global known variables: time 8.479e-05/0.3391, allocations: 122.5 kB / 0.5176 GB, free: 20.63 MB / 382.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.3391, allocations: 0 / 0.5176 GB, free: 20.63 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.00059/0.3397, allocations: 125.5 kB / 0.5177 GB, free: 20.63 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.0004858/0.3402, allocations: 260.7 kB / 0.518 GB, free: 20.52 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0007454/0.3409, allocations: 0.5038 MB / 0.5185 GB, free: 20.46 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.3409, allocations: 0 / 0.5185 GB, free: 20.46 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 5.082e-05/0.3409, allocations: 22.88 kB / 0.5185 GB, free: 20.46 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0013/0.3422, allocations: 1.246 MB / 0.5197 GB, free: 19.61 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001197/0.3434, allocations: 0.8571 MB / 0.5205 GB, free: 19.27 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002492/0.3437, allocations: 0.8516 MB / 0.5214 GB, free: 18.57 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.993e-05/0.3438, allocations: 41.59 kB / 0.5214 GB, free: 18.56 MB / 382.1 MB Notification: Performance of SimCode: time 5.61e-07/0.3438, allocations: 0 / 0.5214 GB, free: 18.56 MB / 382.1 MB Notification: Performance of Templates: time 0.009969/0.3537, allocations: 5.867 MB / 0.5271 GB, free: 17.96 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 -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/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.119209802011028] Failed to read output from testmodel.py, exit status != 0: 0.36226775380782783 0.374553469 0.248457327 Calling exit ...