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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/package.mo", uses=false) Using package Modelica_DeviceDrivers with version 2.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager") translateModel(Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001393/0.001393, allocations: 106.9 kB / 16.69 MB, free: 6.363 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001592/0.001592, allocations: 186 kB / 17.61 MB, free: 5.746 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.36/1.36, allocations: 222.9 MB / 241.3 MB, free: 15.42 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/package.mo): time 0.05697/0.05697, allocations: 12.04 MB / 303.5 MB, free: 3.348 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00118/0.00118, allocations: 60.12 kB / 366.6 MB, free: 4.156 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1893/0.1905, allocations: 52.33 MB / 418.9 MB, free: 21.24 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager): time 0.00355/0.1941, allocations: 2.902 MB / 421.8 MB, free: 18.34 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001308/0.1954, allocations: 1.059 MB / 422.9 MB, free: 17.27 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001197/0.1956, allocations: 9.344 kB / 422.9 MB, free: 17.26 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002253/0.1958, allocations: 47.59 kB / 423 MB, free: 17.21 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001404/0.196, allocations: 31.78 kB / 423 MB, free: 17.18 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006178/0.1966, allocations: 255.6 kB / 423.2 MB, free: 16.93 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002795/0.1969, allocations: 411.6 kB / 423.6 MB, free: 16.53 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002605/0.1972, allocations: 214.7 kB / 423.8 MB, free: 16.31 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001244/0.1973, allocations: 191.3 kB / 424 MB, free: 16.12 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001691/0.1975, allocations: 219 kB / 424.2 MB, free: 15.91 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 4.737e-05/0.1975, allocations: 44 kB / 424.3 MB, free: 15.87 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001506/0.1977, allocations: 135.9 kB / 424.4 MB, free: 15.73 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001009/0.1978, allocations: 131.6 kB / 424.6 MB, free: 15.61 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001197/0.1979, allocations: 198.9 kB / 424.7 MB, free: 15.41 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003069/0.1982, allocations: 429.2 kB / 425.2 MB, free: 14.99 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.1982, allocations: 4 kB / 425.2 MB, free: 14.99 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.283e-06/0.1982, allocations: 0 / 425.2 MB, free: 14.99 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.142e-06/0.1983, allocations: 0 / 425.2 MB, free: 14.99 MB / 302.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.001255/0.1995, allocations: 1.196 MB / 426.4 MB, free: 13.69 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.2e-05/0.1996, allocations: 12.03 kB / 426.4 MB, free: 13.68 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.135e-05/0.1996, allocations: 40.47 kB / 426.4 MB, free: 13.64 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002506/0.1999, allocations: 325.3 kB / 426.7 MB, free: 13.28 MB / 302.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 6.32e-05/0.2, allocations: 63.25 kB / 426.8 MB, free: 13.21 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.6e-05/0.2, allocations: 40.38 kB / 426.8 MB, free: 13.18 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001412/0.2014, allocations: 1.231 MB / 428.1 MB, free: 11.91 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.438e-05/0.2015, allocations: 0 / 428.1 MB, free: 11.91 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.583e-05/0.2015, allocations: 16 kB / 428.1 MB, free: 11.89 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.658e-06/0.2015, allocations: 8 kB / 428.1 MB, free: 11.89 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003586/0.2019, allocations: 250.4 kB / 428.3 MB, free: 11.64 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006556/0.2025, allocations: 0.8364 MB / 429.2 MB, free: 10.74 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008657/0.2034, allocations: 0.984 MB / 430.2 MB, free: 9.664 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004528/0.2039, allocations: 435.7 kB / 430.6 MB, free: 9.223 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.443e-05/0.204, allocations: 32.7 kB / 430.6 MB, free: 9.191 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.215e-05/0.2041, allocations: 103.4 kB / 430.7 MB, free: 9.062 MB / 302.1 MB Notification: Performance of pre-optimization done (n=84): time 2.785e-06/0.2041, allocations: 0 / 430.7 MB, free: 9.062 MB / 302.1 MB Notification: Performance of matching and sorting (n=84): time 0.001138/0.2052, allocations: 0.7825 MB / 431.5 MB, free: 8.277 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.879e-05/0.2054, allocations: 212.7 kB / 431.7 MB, free: 8.031 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001236/0.2055, allocations: 207.5 kB / 431.9 MB, free: 7.82 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.282e-05/0.2055, allocations: 42.08 kB / 431.9 MB, free: 7.773 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.059e-05/0.2056, allocations: 133.9 kB / 432.1 MB, free: 7.641 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.205e-05/0.2056, allocations: 59.61 kB / 432.1 MB, free: 7.582 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000104/0.2057, allocations: 138.7 kB / 432.3 MB, free: 7.438 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 5.926e-05/0.2058, allocations: 350.8 kB / 432.6 MB, free: 7.086 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001302/0.2059, allocations: 109.9 kB / 432.7 MB, free: 6.98 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002657/0.2062, allocations: 0.6065 MB / 433.3 MB, free: 6.121 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004584/0.2067, allocations: 0.7794 MB / 434.1 MB, free: 5.086 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.204e-06/0.2067, allocations: 8 kB / 434.1 MB, free: 5.078 MB / 302.1 MB Notification: Performance of matching and sorting (n=89) (initialization): time 0.0007125/0.2074, allocations: 0.6692 MB / 434.8 MB, free: 4.402 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.06e-05/0.2074, allocations: 12 kB / 434.8 MB, free: 4.391 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.408e-05/0.2075, allocations: 19.94 kB / 434.8 MB, free: 4.371 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.791e-05/0.2075, allocations: 24 kB / 434.8 MB, free: 4.348 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003734/0.2079, allocations: 159.7 kB / 435 MB, free: 4.191 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.311e-05/0.2079, allocations: 39.8 kB / 435 MB, free: 4.152 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002913/0.2082, allocations: 64.02 kB / 435.1 MB, free: 4.09 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.298e-05/0.2082, allocations: 48 kB / 435.1 MB, free: 4.043 MB / 302.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.0002324/0.2085, allocations: 261.6 kB / 435.4 MB, free: 3.777 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007179/0.2092, allocations: 0.5398 MB / 435.9 MB, free: 3.23 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008964/0.2101, allocations: 0.6295 MB / 436.6 MB, free: 2.598 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.428e-06/0.2101, allocations: 12 kB / 436.6 MB, free: 2.586 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.095e-06/0.2101, allocations: 3.938 kB / 436.6 MB, free: 2.582 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.796e-06/0.2102, allocations: 3.984 kB / 436.6 MB, free: 2.578 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002751/0.2104, allocations: 420.8 kB / 437 MB, free: 2.117 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.366e-05/0.2105, allocations: 8 kB / 437 MB, free: 2.109 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003669/0.2108, allocations: 119.8 kB / 437.1 MB, free: 1.992 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.252e-06/0.2109, allocations: 4 kB / 437.1 MB, free: 1.988 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.612e-05/0.2109, allocations: 23.98 kB / 437.1 MB, free: 1.965 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.28e-06/0.2109, allocations: 8 kB / 437.2 MB, free: 1.957 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.595e-06/0.2109, allocations: 3.938 kB / 437.2 MB, free: 1.953 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007947/0.2117, allocations: 0.6657 MB / 437.8 MB, free: 1.262 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.165e-05/0.2118, allocations: 124.5 kB / 437.9 MB, free: 1.121 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.308e-05/0.2118, allocations: 20 kB / 438 MB, free: 1.102 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001503/0.212, allocations: 23.98 kB / 438 MB, free: 1.078 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.918e-05/0.212, allocations: 7.938 kB / 438 MB, free: 1.07 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.949e-05/0.2121, allocations: 31.98 kB / 438 MB, free: 1.039 MB / 302.1 MB Notification: Performance of sorting global known variables: time 6.501e-05/0.2121, allocations: 124.3 kB / 438.2 MB, free: 0.918 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2122, allocations: 0 / 438.2 MB, free: 0.918 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0005526/0.2127, allocations: 123.9 kB / 438.3 MB, free: 0.7969 MB / 302.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.0003952/0.2131, allocations: 263.1 kB / 438.5 MB, free: 0.5469 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001165/0.2143, allocations: 0.6899 MB / 439.2 MB, free: 15.86 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.2143, allocations: 4.375 kB / 439.2 MB, free: 15.85 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 6.525e-05/0.2144, allocations: 31.94 kB / 439.3 MB, free: 15.82 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001507/0.2159, allocations: 1.264 MB / 440.5 MB, free: 14.51 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001385/0.2173, allocations: 1.001 MB / 441.5 MB, free: 13.47 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003907/0.2177, allocations: 0.8596 MB / 442.4 MB, free: 12.58 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.667e-05/0.2178, allocations: 39.44 kB / 442.4 MB, free: 12.54 MB / 318.1 MB Notification: Performance of SimCode: time 3.71e-07/0.2178, allocations: 0 / 442.4 MB, free: 12.54 MB / 318.1 MB Notification: Performance of Templates: time 0.008134/0.2259, allocations: 5.804 MB / 448.2 MB, free: 6.746 MB / 318.1 MB make -j1 -f Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager.makefile make -j1 -f Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager.makefile clang++ -std=c++14 -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 2.1.1-master/Resources/Include""-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.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 2.1.1-master/Resources/Include" "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.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 2.1.1-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, ^ In file included from OMCppModelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackagerCalcHelperMain.cpp:28: ./OMCppModelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackagerFunctions.cpp:297:3: error: no matching function for call to 'MDD_SerialPackagerAddInteger' MDD_SerialPackagerAddInteger(pkg__ext, ConstArray(u_).getData(), u_.getDim(1), byteOrder__ext); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/Resources/Include/MDDSerialPackager.h:243:16: note: candidate function not viable: 2nd argument ('const int *') would lose const qualifier DllExport void MDD_SerialPackagerAddInteger(void* p_package, int * u, size_t n, int endian) { ^ 2 errors generated. make: *** [: OMCppModelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackagerCalcHelperMain.o] Error 1