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.0007636/0.0007636, allocations: 80.44 kB / 20.73 MB, free: 3.84 MB / 18.57 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.0007467/0.0007467, allocations: 165.9 kB / 24 MB, free: 0.5625 MB / 18.57 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 0.8161/0.8161, allocations: 177.1 MB / 204.3 MB, free: 5.73 MB / 186.7 MB " [Timeout remaining time 179] 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.03266/0.03266, allocations: 9.141 MB / 269.9 MB, free: 4.469 MB / 250.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers master/EmbeddedTargets/STM32F4/Functions/HAL.mo:5:3-11:14:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers master/Incubate/OperatingSystem/DynamicArray.mo:6:3-94:18:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers master/Incubate/Utilities/Functions.mo:1041:3-1062:27:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers master/Incubate/Utilities/Functions.mo:1064:3-1092:25:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [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 1.322e-06/1.322e-06, allocations: 0 / 398.3 MB, free: 15.57 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.352e-05/1.484e-05, allocations: 2.281 kB / 398.3 MB, free: 15.56 MB / 330.7 MB Notification: Performance of NFInst.instantiate(Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager): time 0.002883/0.002898, allocations: 2.954 MB / 401.3 MB, free: 12.59 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.001062/0.003959, allocations: 1.067 MB / 402.3 MB, free: 11.51 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.449e-05/0.004044, allocations: 19.81 kB / 402.3 MB, free: 11.49 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001403/0.004184, allocations: 59.34 kB / 402.4 MB, free: 11.43 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001032/0.004287, allocations: 51.47 kB / 402.5 MB, free: 11.38 MB / 330.7 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.0004364/0.004724, allocations: 303 kB / 402.8 MB, free: 11.09 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002721/0.004996, allocations: 407.5 kB / 403.2 MB, free: 10.69 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001521/0.005148, allocations: 131.3 kB / 403.3 MB, free: 10.55 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001666/0.005315, allocations: 267.4 kB / 403.5 MB, free: 10.29 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001463/0.005461, allocations: 171.5 kB / 403.7 MB, free: 10.12 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 3.7e-05/0.005498, allocations: 44 kB / 403.8 MB, free: 10.08 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000118/0.005616, allocations: 139.7 kB / 403.9 MB, free: 9.945 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 8.756e-05/0.005704, allocations: 135.6 kB / 404 MB, free: 9.812 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 7.628e-05/0.00578, allocations: 123.6 kB / 404.1 MB, free: 9.691 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003884/0.006168, allocations: 0.5957 MB / 404.7 MB, free: 9.094 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.503e-06/0.00617, allocations: 0 / 404.7 MB, free: 9.094 MB / 330.7 MB Notification: Performance of FrontEnd: time 6.91e-07/0.00617, allocations: 0 / 404.7 MB, free: 9.094 MB / 330.7 MB Notification: Performance of Transformations before backend: time 3.868e-06/0.006174, allocations: 0 / 404.7 MB, free: 9.094 MB / 330.7 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.001015/0.007189, allocations: 1.14 MB / 405.9 MB, free: 7.863 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.255e-05/0.007211, allocations: 8.031 kB / 405.9 MB, free: 7.855 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.303e-05/0.007274, allocations: 52.64 kB / 405.9 MB, free: 7.805 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002189/0.007493, allocations: 250.9 kB / 406.2 MB, free: 7.531 MB / 330.7 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 5.279e-05/0.007546, allocations: 59.27 kB / 406.2 MB, free: 7.469 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.293e-05/0.007579, allocations: 40.36 kB / 406.3 MB, free: 7.43 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001069/0.008648, allocations: 1.286 MB / 407.6 MB, free: 6.105 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.108e-05/0.008659, allocations: 4.188 kB / 407.6 MB, free: 6.102 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.436e-05/0.008683, allocations: 24.12 kB / 407.6 MB, free: 6.078 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.234e-06/0.00869, allocations: 8 kB / 407.6 MB, free: 6.07 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002808/0.008971, allocations: 246.4 kB / 407.8 MB, free: 5.828 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004405/0.009412, allocations: 0.6491 MB / 408.5 MB, free: 5.133 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006473/0.01006, allocations: 0.7162 MB / 409.2 MB, free: 4.375 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003469/0.01041, allocations: 392.6 kB / 409.6 MB, free: 3.973 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.238e-05/0.01047, allocations: 28.64 kB / 409.6 MB, free: 3.945 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.72e-05/0.01055, allocations: 99.42 kB / 409.7 MB, free: 3.824 MB / 330.7 MB Notification: Performance of pre-optimization done (n=84): time 1.983e-06/0.01055, allocations: 0 / 409.7 MB, free: 3.824 MB / 330.7 MB Notification: Performance of matching and sorting (n=84): time 0.0008558/0.0114, allocations: 0.7825 MB / 410.5 MB, free: 3.035 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.925e-05/0.01149, allocations: 208.7 kB / 410.7 MB, free: 2.797 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001089/0.0116, allocations: 203.1 kB / 410.9 MB, free: 2.586 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.642e-05/0.01163, allocations: 45.64 kB / 410.9 MB, free: 2.535 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.385e-05/0.01168, allocations: 138.3 kB / 411.1 MB, free: 2.398 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.113e-05/0.0117, allocations: 35.84 kB / 411.1 MB, free: 2.363 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.556e-05/0.01175, allocations: 57.67 kB / 411.2 MB, free: 2.301 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 8.432e-05/0.01183, allocations: 330.8 kB / 411.5 MB, free: 1.969 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.641e-05/0.01187, allocations: 15.98 kB / 411.5 MB, free: 1.953 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.508e-05/0.01191, allocations: 75.72 kB / 411.6 MB, free: 1.852 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.989e-05/0.01199, allocations: 103.6 kB / 411.7 MB, free: 1.723 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.012, allocations: 0 / 411.7 MB, free: 1.723 MB / 330.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001222/0.01212, allocations: 129.4 kB / 411.8 MB, free: 1.59 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.386e-06/0.01213, allocations: 4 kB / 411.8 MB, free: 1.586 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.517e-06/0.01213, allocations: 4 kB / 411.8 MB, free: 1.582 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.658e-06/0.01214, allocations: 7.938 kB / 411.8 MB, free: 1.574 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.052e-05/0.0122, allocations: 24.23 kB / 411.8 MB, free: 1.551 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.108e-06/0.0122, allocations: 0 / 411.8 MB, free: 1.551 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.478e-05/0.01226, allocations: 15.98 kB / 411.9 MB, free: 1.535 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.011e-06/0.01227, allocations: 4.234 kB / 411.9 MB, free: 1.531 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 13 ($whenCondition1,booleanPulse.pulseStart,$PRE.booleanPulse.pulseStart,sample4.u,integerExpression1.y,integerExpression2.y,integerExpression.y,$CLKPRE.packager.bufferSize,packager.bufferSize,$CLKPRE.packager.backwardPropagatedBufferSize,packager.backwardPropagatedBufferSize,$CLKPRE.packager.initialized,packager.initialized) * 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 (15): * Single equations (assignments): 15 * 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.0001311/0.0124, allocations: 201.4 kB / 412.1 MB, free: 1.324 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005287/0.01293, allocations: 0.5361 MB / 412.6 MB, free: 0.7812 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005853/0.01351, allocations: 0.6033 MB / 413.2 MB, free: 176 kB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.144e-06/0.01352, allocations: 12 kB / 413.2 MB, free: 164 kB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.457e-06/0.01352, allocations: 0 / 413.2 MB, free: 164 kB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.091e-06/0.01353, allocations: 7.984 kB / 413.2 MB, free: 156 kB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1117/0.1252, allocations: 229.9 kB / 413.4 MB, free: 28.04 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.305e-05/0.1252, allocations: 4.562 kB / 413.5 MB, free: 28.04 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000293/0.1255, allocations: 116.3 kB / 413.6 MB, free: 28.04 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.711e-06/0.1255, allocations: 4.172 kB / 413.6 MB, free: 28.04 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.284e-05/0.1256, allocations: 19.78 kB / 413.6 MB, free: 28.04 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.122e-06/0.1256, allocations: 10.92 kB / 413.6 MB, free: 28.04 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/0.1256, allocations: 1.062 kB / 413.6 MB, free: 28.04 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006813/0.1262, allocations: 0.6709 MB / 414.3 MB, free: 27.93 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.318e-05/0.1263, allocations: 52.62 kB / 414.3 MB, free: 27.93 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.547e-05/0.1263, allocations: 21.47 kB / 414.3 MB, free: 27.93 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.449e-05/0.1264, allocations: 17.22 kB / 414.4 MB, free: 27.92 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.491e-05/0.1264, allocations: 16.34 kB / 414.4 MB, free: 27.91 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.165e-05/0.1265, allocations: 25.91 kB / 414.4 MB, free: 27.91 MB / 330.7 MB Notification: Performance of sorting global known variables: time 5.548e-05/0.1265, allocations: 131.4 kB / 414.5 MB, free: 27.82 MB / 330.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1265, allocations: 1.062 kB / 414.5 MB, free: 27.82 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002561/0.1268, allocations: 91.02 kB / 414.6 MB, free: 27.8 MB / 330.7 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.0003248/0.1271, allocations: 272 kB / 414.9 MB, free: 27.69 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0003404/0.1275, allocations: 285.6 kB / 415.2 MB, free: 27.61 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.1275, allocations: 1.125 kB / 415.2 MB, free: 27.61 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 3.555e-05/0.1275, allocations: 22.98 kB / 415.2 MB, free: 27.6 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008096/0.1283, allocations: 1.235 MB / 416.4 MB, free: 26.65 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007828/0.1291, allocations: 0.8502 MB / 417.3 MB, free: 26.16 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001291/0.1292, allocations: 245 kB / 417.5 MB, free: 26.07 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.7e-05/0.1293, allocations: 33.89 kB / 417.5 MB, free: 26.05 MB / 330.7 MB Notification: Performance of SimCode: time 4.51e-07/0.1293, allocations: 0 / 417.5 MB, free: 26.05 MB / 330.7 MB Notification: Performance of Templates: time 0.005098/0.1344, allocations: 5.161 MB / 422.7 MB, free: 25.49 MB / 330.7 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/jenkins/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/jenkins/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' 452 | 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 144 | 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: 2.2827924909070134] Failed to read output from testmodel.py, exit status != 0: 0.13895678892731667 0.145166759 0.137834284 Calling exit ...