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.00171/0.00171, allocations: 104 kB / 16.56 MB, free: 6.719 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.001708/0.001708, allocations: 193.9 kB / 17.48 MB, free: 6.027 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.32/1.32, allocations: 222.9 MB / 241.2 MB, free: 15.47 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.05523/0.05523, allocations: 12.03 MB / 303.3 MB, free: 3.43 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00122/0.001221, allocations: 67.91 kB / 366.4 MB, free: 4.289 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1787/0.18, allocations: 52.32 MB / 418.8 MB, free: 21.33 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager): time 0.003515/0.1835, allocations: 2.895 MB / 421.6 MB, free: 18.43 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001261/0.1848, allocations: 1.071 MB / 422.7 MB, free: 17.35 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001141/0.1849, allocations: 15.88 kB / 422.7 MB, free: 17.34 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002071/0.1852, allocations: 47.58 kB / 422.8 MB, free: 17.29 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001268/0.1853, allocations: 39.78 kB / 422.8 MB, free: 17.25 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000574/0.1859, allocations: 247.6 kB / 423.1 MB, free: 17.01 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002587/0.1862, allocations: 383.6 kB / 423.4 MB, free: 16.63 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002271/0.1864, allocations: 202.7 kB / 423.6 MB, free: 16.43 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001122/0.1865, allocations: 171.3 kB / 423.8 MB, free: 16.26 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001628/0.1867, allocations: 211 kB / 424 MB, free: 16.05 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 4.79e-05/0.1867, allocations: 32 kB / 424 MB, free: 16.02 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000152/0.1869, allocations: 123.9 kB / 424.2 MB, free: 15.9 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001007/0.187, allocations: 127.6 kB / 424.3 MB, free: 15.77 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001105/0.1871, allocations: 186.9 kB / 424.5 MB, free: 15.59 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002756/0.1874, allocations: 417.1 kB / 424.9 MB, free: 15.18 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.367e-06/0.1874, allocations: 0 / 424.9 MB, free: 15.18 MB / 302.1 MB Notification: Performance of FrontEnd: time 7.71e-07/0.1874, allocations: 0 / 424.9 MB, free: 15.18 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.961e-06/0.1874, allocations: 0 / 424.9 MB, free: 15.18 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.001276/0.1887, allocations: 1.207 MB / 426.1 MB, free: 13.88 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.939e-05/0.1887, allocations: 16.03 kB / 426.1 MB, free: 13.86 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.121e-05/0.1888, allocations: 40.47 kB / 426.1 MB, free: 13.82 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002526/0.1891, allocations: 309.5 kB / 426.4 MB, free: 13.48 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.46e-05/0.1892, allocations: 71.17 kB / 426.5 MB, free: 13.4 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.498e-05/0.1892, allocations: 40.38 kB / 426.5 MB, free: 13.36 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001386/0.1906, allocations: 1.219 MB / 427.8 MB, free: 12.11 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.371e-05/0.1906, allocations: 3.938 kB / 427.8 MB, free: 12.11 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.33e-05/0.1907, allocations: 16 kB / 427.8 MB, free: 12.09 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.746e-06/0.1907, allocations: 8 kB / 427.8 MB, free: 12.08 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003702/0.1911, allocations: 250.4 kB / 428 MB, free: 11.84 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006321/0.1917, allocations: 0.8403 MB / 428.9 MB, free: 10.93 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008776/0.1926, allocations: 0.9879 MB / 429.9 MB, free: 9.852 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004544/0.1931, allocations: 435.6 kB / 430.3 MB, free: 9.41 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.117e-05/0.1932, allocations: 32.7 kB / 430.3 MB, free: 9.379 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.846e-05/0.1932, allocations: 107.4 kB / 430.4 MB, free: 9.246 MB / 302.1 MB Notification: Performance of pre-optimization done (n=84): time 2.395e-06/0.1933, allocations: 0 / 430.4 MB, free: 9.246 MB / 302.1 MB Notification: Performance of matching and sorting (n=84): time 0.001092/0.1944, allocations: 0.7786 MB / 431.2 MB, free: 8.465 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.32e-05/0.1945, allocations: 204.8 kB / 431.4 MB, free: 8.227 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001147/0.1946, allocations: 215 kB / 431.6 MB, free: 8.008 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.018e-05/0.1946, allocations: 37.7 kB / 431.7 MB, free: 7.965 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.75e-05/0.1947, allocations: 133.9 kB / 431.8 MB, free: 7.832 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.115e-05/0.1947, allocations: 59.61 kB / 431.8 MB, free: 7.773 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.96e-05/0.1948, allocations: 138.7 kB / 432 MB, free: 7.629 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 5.256e-05/0.1949, allocations: 346.8 kB / 432.3 MB, free: 7.281 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000131/0.195, allocations: 117.8 kB / 432.4 MB, free: 7.168 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002533/0.1953, allocations: 0.6026 MB / 433 MB, free: 6.312 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004361/0.1957, allocations: 0.7795 MB / 433.8 MB, free: 5.277 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.152e-06/0.1957, allocations: 4 kB / 433.8 MB, free: 5.273 MB / 302.1 MB Notification: Performance of matching and sorting (n=89) (initialization): time 0.000711/0.1964, allocations: 0.669 MB / 434.5 MB, free: 4.598 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.833e-05/0.1965, allocations: 12 kB / 434.5 MB, free: 4.586 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.253e-05/0.1965, allocations: 19.94 kB / 434.5 MB, free: 4.566 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.515e-05/0.1965, allocations: 28.75 kB / 434.5 MB, free: 4.539 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000356/0.1969, allocations: 163.7 kB / 434.7 MB, free: 4.379 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.099e-05/0.1969, allocations: 43.8 kB / 434.8 MB, free: 4.336 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002849/0.1972, allocations: 55.53 kB / 434.8 MB, free: 4.281 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.199e-05/0.1972, allocations: 52 kB / 434.9 MB, free: 4.23 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.0002031/0.1975, allocations: 265.6 kB / 435.1 MB, free: 3.961 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006868/0.1981, allocations: 0.5359 MB / 435.7 MB, free: 3.418 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008811/0.199, allocations: 0.6296 MB / 436.3 MB, free: 2.785 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.395e-06/0.1991, allocations: 12 kB / 436.3 MB, free: 2.773 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.761e-06/0.1991, allocations: 3.938 kB / 436.3 MB, free: 2.77 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.524e-06/0.1991, allocations: 3.984 kB / 436.3 MB, free: 2.766 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002416/0.1993, allocations: 416.8 kB / 436.7 MB, free: 2.309 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-05/0.1993, allocations: 4 kB / 436.7 MB, free: 2.305 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003553/0.1997, allocations: 119.8 kB / 436.8 MB, free: 2.188 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.929e-06/0.1997, allocations: 8 kB / 436.8 MB, free: 2.18 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.211e-05/0.1998, allocations: 20 kB / 436.9 MB, free: 2.16 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.22e-06/0.1998, allocations: 7.938 kB / 436.9 MB, free: 2.152 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.245e-06/0.1998, allocations: 3.938 kB / 436.9 MB, free: 2.148 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007773/0.2006, allocations: 0.6697 MB / 437.5 MB, free: 1.453 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.922e-05/0.2006, allocations: 124.5 kB / 437.7 MB, free: 1.312 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.211e-05/0.2007, allocations: 16 kB / 437.7 MB, free: 1.297 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000146/0.2008, allocations: 27.98 kB / 437.7 MB, free: 1.27 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.996e-05/0.2009, allocations: 15.86 kB / 437.7 MB, free: 1.254 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.945e-05/0.2009, allocations: 31.92 kB / 437.7 MB, free: 1.223 MB / 302.1 MB Notification: Performance of sorting global known variables: time 6.231e-05/0.201, allocations: 124.1 kB / 437.9 MB, free: 1.102 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.201, allocations: 4 kB / 437.9 MB, free: 1.098 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0005454/0.2015, allocations: 127.9 kB / 438 MB, free: 0.9727 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.0003609/0.2019, allocations: 244 kB / 438.2 MB, free: 0.7383 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0006053/0.2025, allocations: 0.5222 MB / 438.8 MB, free: 224 kB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.2025, allocations: 0 / 438.8 MB, free: 224 kB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 4.783e-05/0.2026, allocations: 27.92 kB / 438.8 MB, free: 196 kB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001463/0.2041, allocations: 1.259 MB / 440 MB, free: 14.89 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001365/0.2054, allocations: 1.014 MB / 441.1 MB, free: 13.84 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003727/0.2058, allocations: 0.8442 MB / 441.9 MB, free: 12.96 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.734e-05/0.2059, allocations: 43.42 kB / 441.9 MB, free: 12.92 MB / 318.1 MB Notification: Performance of SimCode: time 3.41e-07/0.2059, allocations: 0 / 441.9 MB, free: 12.92 MB / 318.1 MB Notification: Performance of Templates: time 0.008073/0.214, allocations: 5.798 MB / 447.7 MB, free: 7.133 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