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.0008546/0.0008547, allocations: 89.41 kB / 16.71 MB, free: 6.637 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.0009191/0.0009191, allocations: 176 kB / 17.62 MB, free: 6.16 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.202/1.202, allocations: 223.3 MB / 241.7 MB, free: 14.49 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.05437/0.05437, allocations: 12.06 MB / 304.8 MB, free: 2.914 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000258/0.0002581, allocations: 11.98 kB / 368.9 MB, free: 2.766 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1647/0.1649, allocations: 53.36 MB / 422.3 MB, free: 20.25 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager): time 0.002402/0.1674, allocations: 2.533 MB / 424.8 MB, free: 17.71 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.00128/0.1687, allocations: 1.049 MB / 425.9 MB, free: 16.65 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001227/0.1688, allocations: 11.94 kB / 425.9 MB, free: 16.64 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001794/0.169, allocations: 47.59 kB / 425.9 MB, free: 16.59 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001364/0.1692, allocations: 33 kB / 426 MB, free: 16.56 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006066/0.1698, allocations: 255.1 kB / 426.2 MB, free: 16.32 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002822/0.1701, allocations: 375.8 kB / 426.6 MB, free: 15.95 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002354/0.1703, allocations: 208 kB / 426.8 MB, free: 15.75 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001112/0.1704, allocations: 135.3 kB / 426.9 MB, free: 15.61 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001554/0.1706, allocations: 167.1 kB / 427.1 MB, free: 15.45 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.475e-05/0.1706, allocations: 20 kB / 427.1 MB, free: 15.43 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00015/0.1708, allocations: 107.9 kB / 427.2 MB, free: 15.32 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 9.121e-05/0.1709, allocations: 103.6 kB / 427.3 MB, free: 15.22 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001035/0.171, allocations: 188.6 kB / 427.5 MB, free: 15.03 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002843/0.1713, allocations: 405 kB / 427.9 MB, free: 14.64 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.995e-06/0.1713, allocations: 0 / 427.9 MB, free: 14.64 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.183e-06/0.1713, allocations: 0 / 427.9 MB, free: 14.64 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.533e-06/0.1713, allocations: 0 / 427.9 MB, free: 14.64 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.001154/0.1725, allocations: 1.122 MB / 429 MB, free: 13.41 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.017e-05/0.1725, allocations: 8.031 kB / 429 MB, free: 13.41 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.503e-05/0.1726, allocations: 48.31 kB / 429.1 MB, free: 13.36 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002447/0.1728, allocations: 317.4 kB / 429.4 MB, free: 13.01 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.567e-05/0.1729, allocations: 65.75 kB / 429.4 MB, free: 12.94 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.476e-05/0.173, allocations: 36.38 kB / 429.5 MB, free: 12.91 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00139/0.1744, allocations: 1.227 MB / 430.7 MB, free: 11.64 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.489e-05/0.1744, allocations: 7.984 kB / 430.7 MB, free: 11.64 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.259e-05/0.1744, allocations: 12 kB / 430.7 MB, free: 11.62 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.177e-06/0.1744, allocations: 12 kB / 430.7 MB, free: 11.61 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000365/0.1748, allocations: 250.3 kB / 431 MB, free: 11.37 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006367/0.1754, allocations: 0.8442 MB / 431.8 MB, free: 10.46 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008759/0.1763, allocations: 0.9846 MB / 432.8 MB, free: 9.379 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004629/0.1768, allocations: 423.7 kB / 433.2 MB, free: 8.949 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.894e-05/0.1769, allocations: 36.7 kB / 433.3 MB, free: 8.914 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.438e-05/0.177, allocations: 103.4 kB / 433.4 MB, free: 8.785 MB / 302.1 MB Notification: Performance of pre-optimization done (n=84): time 2.365e-06/0.177, allocations: 0 / 433.4 MB, free: 8.785 MB / 302.1 MB Notification: Performance of matching and sorting (n=84): time 0.001071/0.1781, allocations: 0.7903 MB / 434.1 MB, free: 7.992 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.643e-05/0.1782, allocations: 204.7 kB / 434.3 MB, free: 7.754 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001178/0.1783, allocations: 210.7 kB / 434.5 MB, free: 7.539 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.211e-05/0.1783, allocations: 41.7 kB / 434.6 MB, free: 7.492 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.663e-05/0.1784, allocations: 133.8 kB / 434.7 MB, free: 7.359 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.134e-05/0.1784, allocations: 59.69 kB / 434.8 MB, free: 7.301 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.187e-05/0.1785, allocations: 86.05 kB / 434.9 MB, free: 7.211 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 4.9e-05/0.1786, allocations: 350.8 kB / 435.2 MB, free: 6.859 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001359/0.1787, allocations: 109.9 kB / 435.3 MB, free: 6.75 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002587/0.179, allocations: 0.6065 MB / 435.9 MB, free: 5.891 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004618/0.1794, allocations: 0.7794 MB / 436.7 MB, free: 4.855 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.803e-06/0.1794, allocations: 4 kB / 436.7 MB, free: 4.852 MB / 302.1 MB Notification: Performance of matching and sorting (n=89) (initialization): time 0.0007403/0.1802, allocations: 0.6736 MB / 437.4 MB, free: 4.172 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.63e-05/0.1802, allocations: 12 kB / 437.4 MB, free: 4.16 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.406e-05/0.1802, allocations: 20 kB / 437.4 MB, free: 4.141 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.319e-05/0.1803, allocations: 20 kB / 437.4 MB, free: 4.121 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003548/0.1806, allocations: 159.7 kB / 437.6 MB, free: 3.965 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.011e-05/0.1806, allocations: 43.73 kB / 437.6 MB, free: 3.922 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002865/0.1809, allocations: 71.42 kB / 437.7 MB, free: 3.852 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.136e-05/0.181, allocations: 44 kB / 437.7 MB, free: 3.809 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.0001836/0.1812, allocations: 265.7 kB / 438 MB, free: 3.539 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006641/0.1818, allocations: 0.5398 MB / 438.5 MB, free: 2.992 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008559/0.1827, allocations: 0.6187 MB / 439.2 MB, free: 2.371 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.544e-06/0.1827, allocations: 12 kB / 439.2 MB, free: 2.359 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.781e-06/0.1827, allocations: 7.938 kB / 439.2 MB, free: 2.352 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.255e-06/0.1827, allocations: 3.984 kB / 439.2 MB, free: 2.348 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002345/0.183, allocations: 420.7 kB / 439.6 MB, free: 1.887 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.287e-05/0.183, allocations: 4 kB / 439.6 MB, free: 1.883 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003607/0.1834, allocations: 119.8 kB / 439.7 MB, free: 1.766 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.03e-06/0.1834, allocations: 4 kB / 439.7 MB, free: 1.762 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.092e-05/0.1834, allocations: 19.98 kB / 439.7 MB, free: 1.742 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.947e-06/0.1834, allocations: 8 kB / 439.7 MB, free: 1.734 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.1834, allocations: 7.938 kB / 439.8 MB, free: 1.727 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007578/0.1842, allocations: 0.6658 MB / 440.4 MB, free: 1.031 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.54e-05/0.1842, allocations: 120.5 kB / 440.5 MB, free: 0.8945 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.915e-05/0.1843, allocations: 20 kB / 440.6 MB, free: 0.875 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001521/0.1845, allocations: 27.98 kB / 440.6 MB, free: 0.8477 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.791e-05/0.1845, allocations: 11.92 kB / 440.6 MB, free: 0.8359 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.739e-05/0.1845, allocations: 28 kB / 440.6 MB, free: 0.8086 MB / 302.1 MB Notification: Performance of sorting global known variables: time 6.33e-05/0.1846, allocations: 128.1 kB / 440.7 MB, free: 0.6836 MB / 302.1 MB Notification: Performance of sort global known variables: time 6.11e-07/0.1846, allocations: 0 / 440.7 MB, free: 0.6836 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0005328/0.1852, allocations: 127.8 kB / 440.9 MB, free: 0.5586 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.0003487/0.1855, allocations: 251.7 kB / 441.1 MB, free: 328 kB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0006667/0.1862, allocations: 0.518 MB / 441.6 MB, free: 15.8 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.1862, allocations: 0 / 441.6 MB, free: 15.8 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 5.408e-05/0.1863, allocations: 28.55 kB / 441.7 MB, free: 15.77 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001413/0.1877, allocations: 1.268 MB / 442.9 MB, free: 14.46 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001307/0.189, allocations: 1.011 MB / 443.9 MB, free: 13.41 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003263/0.1893, allocations: 0.8518 MB / 444.8 MB, free: 12.53 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.669e-05/0.1894, allocations: 39.44 kB / 444.8 MB, free: 12.49 MB / 318.1 MB Notification: Performance of SimCode: time 3.31e-07/0.1894, allocations: 0 / 444.8 MB, free: 12.49 MB / 318.1 MB Notification: Performance of Templates: time 0.007771/0.1972, allocations: 5.775 MB / 450.6 MB, free: 6.73 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