Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_ExternalTrigger.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.Blocks.Examples.TestSerialPackager_ExternalTrigger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_ExternalTrigger") translateModel(Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_ExternalTrigger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_ExternalTrigger") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.002176/0.002176, allocations: 100.6 kB / 16.98 MB, free: 6.18 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.001878/0.001878, allocations: 187.6 kB / 17.91 MB, free: 5.281 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.504/1.504, allocations: 222.9 MB / 241.6 MB, free: 15.27 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.05864/0.05864, allocations: 12.05 MB / 303.8 MB, free: 3.227 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00184/0.00184, allocations: 64.11 kB / 367.1 MB, free: 3.844 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2583/0.2601, allocations: 52.32 MB / 419.5 MB, free: 21.14 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_ExternalTrigger): time 0.003475/0.2636, allocations: 2.643 MB / 422.1 MB, free: 18.5 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009506/0.2646, allocations: 0.6927 MB / 422.8 MB, free: 17.8 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.098e-05/0.2647, allocations: 7.938 kB / 422.8 MB, free: 17.8 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002146/0.2649, allocations: 59.42 kB / 422.9 MB, free: 17.74 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001347/0.2651, allocations: 47.52 kB / 422.9 MB, free: 17.69 MB / 302.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/Blocks/Packaging/SerialPackager.mo:130:7-137:16:writable] Warning: Pure function 'Modelica_DeviceDrivers.Blocks.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 2.1.1-master/Blocks/Packaging/SerialPackager.mo:139:5-153:23:writable] Warning: Pure function 'Modelica_DeviceDrivers.Blocks.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 2.1.1-master/Blocks/Packaging/SerialPackager.mo:63:7-72:21:writable] Warning: Pure function 'Modelica_DeviceDrivers.Blocks.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 2.1.1-master/Blocks/Packaging/SerialPackager.mo:98:7-105:23:writable] Warning: Pure function 'Modelica_DeviceDrivers.Blocks.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 2.1.1-master/Blocks/Packaging/SerialPackager.mo:155:5-169:25:writable] Warning: Pure function 'Modelica_DeviceDrivers.Blocks.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 2.1.1-master/Blocks/Packaging/SerialPackager.mo:107:7-117:21:writable] Warning: Pure function 'Modelica_DeviceDrivers.Blocks.Packaging.SerialPackager.Internal.DummyFunctions.getInteger' contains a call to impure function 'Modelica_DeviceDrivers.Packaging.SerialPackager_.getInteger'. Notification: Performance of NFTyping.typeClassSections: time 0.0004586/0.2656, allocations: 243.4 kB / 423.1 MB, free: 17.46 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002546/0.2658, allocations: 339.2 kB / 423.5 MB, free: 17.12 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002584/0.2661, allocations: 202.8 kB / 423.7 MB, free: 16.93 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001113/0.2662, allocations: 163.5 kB / 423.8 MB, free: 16.77 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001851/0.2664, allocations: 199.2 kB / 424 MB, free: 16.57 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 4.822e-05/0.2665, allocations: 40 kB / 424.1 MB, free: 16.53 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001513/0.2666, allocations: 131.9 kB / 424.2 MB, free: 16.4 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001096/0.2667, allocations: 127.6 kB / 424.3 MB, free: 16.28 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001127/0.2669, allocations: 187 kB / 424.5 MB, free: 16.09 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003595/0.2672, allocations: 0.5122 MB / 425 MB, free: 15.58 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.2672, allocations: 0 / 425 MB, free: 15.58 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.833e-06/0.2672, allocations: 4 kB / 425 MB, free: 15.58 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.234e-06/0.2673, allocations: 0 / 425 MB, free: 15.58 MB / 302.1 MB Warning: Alias equations of external objects are not Modelica compliant as in: unpackInt1.pkgOut[1].pkg = unpackInt1.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 unpackInt1.pkgOut[1].pkg = getInteger.pkgIn.pkg unpackInt.pkgOut[1].pkg = unpackInt1.pkgIn.pkg resetPointer.pkgOut[1].pkg = unpackInt.pkgIn.pkg addInteger.pkgOut[1].pkg = resetPointer.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: 89 * Number of variables: 89 Notification: Performance of Generate backend data structure: time 0.001167/0.2684, allocations: 1.024 MB / 426 MB, free: 14.46 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.183e-05/0.2685, allocations: 15.97 kB / 426.1 MB, free: 14.45 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.321e-05/0.2685, allocations: 36.56 kB / 426.1 MB, free: 14.41 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002173/0.2688, allocations: 288.3 kB / 426.4 MB, free: 14.09 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.84e-05/0.2688, allocations: 33.36 kB / 426.4 MB, free: 14.06 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.075e-05/0.2688, allocations: 36.31 kB / 426.4 MB, free: 14.02 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005225/0.2694, allocations: 414 kB / 426.9 MB, free: 13.6 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.328e-05/0.2694, allocations: 192 / 426.9 MB, free: 13.6 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.38e-05/0.2694, allocations: 19.94 kB / 426.9 MB, free: 13.58 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.347e-06/0.2695, allocations: 15.94 kB / 426.9 MB, free: 13.57 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000328/0.2698, allocations: 219.6 kB / 427.1 MB, free: 13.35 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009888/0.2708, allocations: 1.097 MB / 428.2 MB, free: 12.19 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003655/0.2712, allocations: 266.3 kB / 428.5 MB, free: 11.89 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001365/0.2713, allocations: 115.5 kB / 428.6 MB, free: 11.77 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.986e-05/0.2713, allocations: 7.938 kB / 428.6 MB, free: 11.76 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002179/0.2716, allocations: 203.2 kB / 428.8 MB, free: 11.54 MB / 302.1 MB Notification: Performance of pre-optimization done (n=29): time 1.573e-06/0.2716, allocations: 0 / 428.8 MB, free: 11.54 MB / 302.1 MB Notification: Performance of matching and sorting (n=29): time 0.0006701/0.2723, allocations: 445.2 kB / 429.2 MB, free: 11.1 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.45e-05/0.2723, allocations: 148.5 kB / 429.4 MB, free: 10.92 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001236/0.2725, allocations: 192.9 kB / 429.5 MB, free: 10.72 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.441e-05/0.2725, allocations: 37.69 kB / 429.6 MB, free: 10.68 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.749e-05/0.2726, allocations: 188.5 kB / 429.8 MB, free: 10.49 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.256e-05/0.2726, allocations: 67.38 kB / 429.8 MB, free: 10.42 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.156e-05/0.2727, allocations: 94.11 kB / 429.9 MB, free: 10.32 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 5.704e-05/0.2728, allocations: 334.8 kB / 430.3 MB, free: 9.988 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001223/0.2729, allocations: 80.83 kB / 430.3 MB, free: 9.91 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001621/0.2731, allocations: 235.1 kB / 430.6 MB, free: 9.609 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003082/0.2734, allocations: 354.6 kB / 430.9 MB, free: 9.195 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.426e-06/0.2734, allocations: 4 kB / 430.9 MB, free: 9.191 MB / 302.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0004288/0.2738, allocations: 361.2 kB / 431.3 MB, free: 8.832 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.507e-05/0.2739, allocations: 8 kB / 431.3 MB, free: 8.824 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.935e-06/0.2739, allocations: 7.938 kB / 431.3 MB, free: 8.816 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.735e-05/0.2739, allocations: 8 kB / 431.3 MB, free: 8.809 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001822/0.2741, allocations: 59.84 kB / 431.3 MB, free: 8.75 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.097e-05/0.2741, allocations: 7.984 kB / 431.4 MB, free: 8.742 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000122/0.2742, allocations: 35.69 kB / 431.4 MB, free: 8.707 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.973e-05/0.2743, allocations: 15.94 kB / 431.4 MB, free: 8.691 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * Number of states: 0 () * Number of discrete variables: 46 (unpackInt1.dummy,$PRE.unpackInt1.dummy,unpackInt1.y,$PRE.unpackInt1.y,unpackInt1.pkgOut[1].dummy,$PRE.unpackInt1.pkgOut[1].dummy,getInteger.dummy,$PRE.getInteger.dummy,getInteger.y[1],$PRE.getInteger.y[1],unpackInt.dummy,$PRE.unpackInt.dummy,unpackInt.y,$PRE.unpackInt.y,unpackInt.pkgOut[1].dummy,$PRE.unpackInt.pkgOut[1].dummy,resetPointer.dummy,$PRE.resetPointer.dummy,resetPointer.pkgOut[1].dummy,$PRE.resetPointer.pkgOut[1].dummy,packInt1.pkgOut[1].dummy,$PRE.packInt1.pkgOut[1].dummy,addInteger.pkgOut[1].dummy,$PRE.addInteger.pkgOut[1].dummy,packInt.pkgOut[1].dummy,$PRE.packInt.pkgOut[1].dummy,packager.pkgOut.dummy,$PRE.packager.pkgOut.dummy,addInteger.u[1],iExp2.y,unpackInt1.pkgOut[1].trigger,iExp.y,$PRE.iExp.y,$whenCondition1,unpackInt1.pkgIn.autoPkgBitSize,getInteger.pkgIn.autoPkgBitSize,unpackInt.pkgIn.autoPkgBitSize,packager.internalTrigger,getInteger.pkgIn.userPkgBitSize,getInteger.pkgIn.backwardTrigger,resetPointer.pkgIn.autoPkgBitSize,packInt1.pkgIn.autoPkgBitSize,addInteger.pkgIn.autoPkgBitSize,packInt.pkgIn.autoPkgBitSize,packager.bufferSize,packager.backwardPropagatedBufferSize) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (47): * Single equations (assignments): 47 * 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.0001656/0.2744, allocations: 215.1 kB / 431.6 MB, free: 8.469 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.59e-05/0.2745, allocations: 19.81 kB / 431.6 MB, free: 8.449 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.704e-05/0.2745, allocations: 17.17 kB / 431.6 MB, free: 8.43 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.066e-06/0.2745, allocations: 4 kB / 431.7 MB, free: 8.426 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.732e-06/0.2745, allocations: 4 kB / 431.7 MB, free: 8.422 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.799e-06/0.2745, allocations: 0 / 431.7 MB, free: 8.422 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006935/0.2752, allocations: 0.7693 MB / 432.4 MB, free: 7.598 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.205e-06/0.2753, allocations: 0 / 432.4 MB, free: 7.598 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.552e-05/0.2753, allocations: 7.984 kB / 432.4 MB, free: 7.59 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.557e-06/0.2753, allocations: 4 kB / 432.4 MB, free: 7.586 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.052e-05/0.2753, allocations: 15.92 kB / 432.5 MB, free: 7.57 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.946e-06/0.2753, allocations: 4 kB / 432.5 MB, free: 7.566 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.803e-06/0.2754, allocations: 3.938 kB / 432.5 MB, free: 7.562 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004603/0.2758, allocations: 469.8 kB / 432.9 MB, free: 7.078 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.684e-05/0.2759, allocations: 96.8 kB / 433 MB, free: 6.965 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.383e-05/0.2759, allocations: 8.234 kB / 433 MB, free: 6.957 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001015/0.276, allocations: 12 kB / 433 MB, free: 6.945 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.688e-05/0.2761, allocations: 23.91 kB / 433.1 MB, free: 6.922 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.863e-05/0.2761, allocations: 11.98 kB / 433.1 MB, free: 6.91 MB / 302.1 MB Notification: Performance of sorting global known variables: time 5.29e-05/0.2761, allocations: 128.2 kB / 433.2 MB, free: 6.785 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2761, allocations: 0 / 433.2 MB, free: 6.785 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004269/0.2766, allocations: 107.6 kB / 433.3 MB, free: 6.68 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 29 (packager.internalTrigger,unpackInt.pkgIn.autoPkgBitSize,getInteger.pkgIn.autoPkgBitSize,unpackInt1.pkgIn.autoPkgBitSize,unpackInt1.pkgOut[1].trigger,$whenCondition1,iExp.y,packager.pkgOut.dummy,packInt.pkgOut[1].dummy,addInteger.pkgOut[1].dummy,addInteger.u[1],iExp2.y,packInt1.pkgOut[1].dummy,resetPointer.pkgOut[1].dummy,resetPointer.dummy,unpackInt.pkgOut[1].dummy,unpackInt.y,unpackInt.dummy,getInteger.y[1],getInteger.dummy,unpackInt1.pkgOut[1].dummy,unpackInt1.y,unpackInt1.dummy,packager.backwardPropagatedBufferSize,packager.bufferSize,packInt.pkgIn.autoPkgBitSize,addInteger.pkgIn.autoPkgBitSize,packInt1.pkgIn.autoPkgBitSize,resetPointer.pkgIn.autoPkgBitSize) * Number of discrete states: 1 (iExp.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (26): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 20 * If-equations: 0 * 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.0003094/0.2769, allocations: 186.8 kB / 433.5 MB, free: 6.5 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0003813/0.2773, allocations: 280.4 kB / 433.8 MB, free: 6.227 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.2773, allocations: 0 / 433.8 MB, free: 6.227 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001551/0.2775, allocations: 111.9 kB / 433.9 MB, free: 6.117 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004234/0.2779, allocations: 55.7 kB / 433.9 MB, free: 6.066 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006998/0.2786, allocations: 0.5248 MB / 434.4 MB, free: 5.5 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001671/0.2788, allocations: 0.7753 MB / 435.2 MB, free: 4.699 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.624e-05/0.2788, allocations: 27.44 kB / 435.2 MB, free: 4.676 MB / 302.1 MB Notification: Performance of SimCode: time 8.81e-07/0.2788, allocations: 0 / 435.2 MB, free: 4.676 MB / 302.1 MB Notification: Performance of Templates: time 0.005079/0.2839, allocations: 4.266 MB / 439.5 MB, free: 452 kB / 302.1 MB make -j1 -f Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_ExternalTrigger.makefile make -j1 -f Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_ExternalTrigger.makefile clang++ -std=c++17 -fopenmp=libomp -Winvalid-pch -O2 -g -DNDEBUG -fPIC -std=c++11 -DBOOST_ALL_DYN_LINK -DUSE_DGESV -DUSE_LOGGER -DOMC_BUILD -DUSE_THREAD -DSUNDIALS_MAJOR_VERSION=5 -DSUNDIALS_MINOR_VERSION=4 -DPMC_USE_SUNDIALS -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/" -I. "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/Resources/Include" -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" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppModelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_ExternalTriggerCalcHelperMain.o OMCppModelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_ExternalTriggerCalcHelperMain.cpp In file included from OMCppModelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_ExternalTriggerCalcHelperMain.cpp:28: In file included from ./OMCppModelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_ExternalTriggerFunctions.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.Blocks.Examples.TestSerialPackager_ExternalTriggerCalcHelperMain.cpp:28: ./OMCppModelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_ExternalTriggerFunctions.cpp:273: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.Blocks.Examples.TestSerialPackager_ExternalTriggerCalcHelperMain.o] Error 1