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.00117/0.00117, allocations: 125.7 kB / 17.14 MB, free: 5.902 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.001066/0.001066, allocations: 189.1 kB / 18.06 MB, free: 4.988 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.351/1.351, allocations: 222.9 MB / 241.8 MB, free: 15.07 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 / 304 MB, free: 3.07 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001159/0.001159, allocations: 60.09 kB / 420.7 MB, free: 17.17 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09005/0.09122, allocations: 52.31 MB / 473.1 MB, free: 12.82 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_ExternalTrigger): time 0.004445/0.09571, allocations: 2.632 MB / 475.7 MB, free: 10.17 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001331/0.09707, allocations: 0.7006 MB / 476.4 MB, free: 9.465 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001732/0.09726, allocations: 7.938 kB / 476.4 MB, free: 9.457 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002947/0.09756, allocations: 59.41 kB / 476.5 MB, free: 9.398 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000205/0.09778, allocations: 51.58 kB / 476.5 MB, free: 9.348 MB / 350.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.0007324/0.09855, allocations: 235.3 kB / 476.7 MB, free: 9.117 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004579/0.09902, allocations: 339.2 kB / 477.1 MB, free: 8.785 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003257/0.09936, allocations: 202.8 kB / 477.3 MB, free: 8.586 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002348/0.0996, allocations: 175.4 kB / 477.4 MB, free: 8.414 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002962/0.0999, allocations: 191.2 kB / 477.6 MB, free: 8.227 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 7.568e-05/0.09999, allocations: 40 kB / 477.7 MB, free: 8.188 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002306/0.1002, allocations: 124 kB / 477.8 MB, free: 8.066 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001653/0.1004, allocations: 139.6 kB / 477.9 MB, free: 7.93 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001829/0.1006, allocations: 179 kB / 478.1 MB, free: 7.754 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00065/0.1012, allocations: 0.5489 MB / 478.6 MB, free: 7.203 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/0.1013, allocations: 0 / 478.6 MB, free: 7.203 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.874e-06/0.1013, allocations: 0 / 478.6 MB, free: 7.203 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.685e-05/0.1013, allocations: 0 / 478.6 MB, free: 7.203 MB / 350.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.001706/0.103, allocations: 1.039 MB / 479.7 MB, free: 6.074 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.536e-05/0.103, allocations: 8.031 kB / 479.7 MB, free: 6.066 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.544e-05/0.1031, allocations: 40.55 kB / 479.7 MB, free: 6.027 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003464/0.1035, allocations: 295.6 kB / 480 MB, free: 5.699 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.765e-05/0.1035, allocations: 25.38 kB / 480 MB, free: 5.676 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.003e-05/0.1036, allocations: 40.36 kB / 480.1 MB, free: 5.637 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006575/0.1043, allocations: 410.2 kB / 480.5 MB, free: 5.219 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.496e-05/0.1043, allocations: 4.125 kB / 480.5 MB, free: 5.215 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.577e-05/0.1043, allocations: 19.92 kB / 480.5 MB, free: 5.195 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.929e-06/0.1044, allocations: 8 kB / 480.5 MB, free: 5.188 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003945/0.1048, allocations: 215.7 kB / 480.7 MB, free: 4.977 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001343/0.1061, allocations: 1.089 MB / 481.8 MB, free: 3.824 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004515/0.1066, allocations: 262.3 kB / 482.1 MB, free: 3.531 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001792/0.1068, allocations: 123.5 kB / 482.2 MB, free: 3.398 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.015e-05/0.1068, allocations: 8 kB / 482.2 MB, free: 3.391 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002844/0.1071, allocations: 214.4 kB / 482.4 MB, free: 3.156 MB / 350.1 MB Notification: Performance of pre-optimization done (n=29): time 1.793e-06/0.1071, allocations: 4 kB / 482.4 MB, free: 3.152 MB / 350.1 MB Notification: Performance of matching and sorting (n=29): time 0.0007799/0.1079, allocations: 441.2 kB / 482.8 MB, free: 2.715 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.145e-05/0.108, allocations: 148.5 kB / 483 MB, free: 2.539 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001755/0.1082, allocations: 192.9 kB / 483.2 MB, free: 2.336 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.107e-05/0.1082, allocations: 45.83 kB / 483.2 MB, free: 2.285 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001259/0.1083, allocations: 184.3 kB / 483.4 MB, free: 2.102 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.406e-05/0.1084, allocations: 67.19 kB / 483.5 MB, free: 2.035 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001253/0.1086, allocations: 98.11 kB / 483.6 MB, free: 1.934 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001375/0.1087, allocations: 334.8 kB / 483.9 MB, free: 1.598 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001881/0.1089, allocations: 85.02 kB / 484 MB, free: 1.512 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002359/0.1091, allocations: 234.4 kB / 484.2 MB, free: 1.219 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000427/0.1096, allocations: 358.5 kB / 484.6 MB, free: 0.8008 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.358e-06/0.1096, allocations: 0 / 484.6 MB, free: 0.8008 MB / 350.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0005326/0.1101, allocations: 360.9 kB / 484.9 MB, free: 452 kB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.702e-05/0.1102, allocations: 10.03 kB / 484.9 MB, free: 444 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.368e-06/0.1102, allocations: 4 kB / 484.9 MB, free: 440 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.812e-05/0.1102, allocations: 8 kB / 484.9 MB, free: 432 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001914/0.1104, allocations: 59.84 kB / 485 MB, free: 372 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.31e-05/0.1104, allocations: 11.94 kB / 485 MB, free: 360 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000131/0.1106, allocations: 28.22 kB / 485 MB, free: 332 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.662e-05/0.1106, allocations: 27.98 kB / 485.1 MB, free: 304 kB / 350.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.0002055/0.1108, allocations: 207.1 kB / 485.3 MB, free: 88 kB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.842e-05/0.1109, allocations: 23.8 kB / 485.3 MB, free: 64 kB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.711e-05/0.1109, allocations: 13.19 kB / 485.3 MB, free: 52 kB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.699e-06/0.1109, allocations: 4 kB / 485.3 MB, free: 48 kB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.021e-06/0.1109, allocations: 4 kB / 485.3 MB, free: 44 kB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.905e-06/0.1109, allocations: 7.984 kB / 485.3 MB, free: 36 kB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009313/0.1119, allocations: 0.7584 MB / 486.1 MB, free: 15.22 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.715e-06/0.1119, allocations: 0 / 486.1 MB, free: 15.22 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.957e-05/0.1119, allocations: 11.98 kB / 486.1 MB, free: 15.21 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.156e-06/0.112, allocations: 0 / 486.1 MB, free: 15.21 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.876e-05/0.112, allocations: 4 kB / 486.1 MB, free: 15.21 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.159e-06/0.112, allocations: 11.92 kB / 486.1 MB, free: 15.2 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.293e-06/0.112, allocations: 0 / 486.1 MB, free: 15.2 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005962/0.1126, allocations: 469.8 kB / 486.6 MB, free: 14.71 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.211e-05/0.1127, allocations: 100.8 kB / 486.6 MB, free: 14.59 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.266e-05/0.1127, allocations: 7.984 kB / 486.7 MB, free: 14.59 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001028/0.1128, allocations: 4 kB / 486.7 MB, free: 14.58 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.606e-05/0.1129, allocations: 23.92 kB / 486.7 MB, free: 14.56 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.285e-05/0.1129, allocations: 15.92 kB / 486.7 MB, free: 14.54 MB / 366.1 MB Notification: Performance of sorting global known variables: time 7.66e-05/0.113, allocations: 115.2 kB / 486.8 MB, free: 14.43 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.113, allocations: 3.938 kB / 486.8 MB, free: 14.43 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004645/0.1135, allocations: 115.5 kB / 486.9 MB, free: 14.31 MB / 366.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.0003717/0.1139, allocations: 201.7 kB / 487.1 MB, free: 14.12 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0004495/0.1143, allocations: 260.1 kB / 487.4 MB, free: 13.86 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.1143, allocations: 0 / 487.4 MB, free: 13.86 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001786/0.1145, allocations: 111.9 kB / 487.5 MB, free: 13.75 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004244/0.1149, allocations: 58.89 kB / 487.5 MB, free: 13.7 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008934/0.1158, allocations: 0.5228 MB / 488.1 MB, free: 13.13 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003735/0.1162, allocations: 0.7714 MB / 488.8 MB, free: 12.33 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.008e-05/0.1163, allocations: 23.42 kB / 488.9 MB, free: 12.31 MB / 366.1 MB Notification: Performance of SimCode: time 3.2e-07/0.1163, allocations: 3.938 kB / 488.9 MB, free: 12.3 MB / 366.1 MB Notification: Performance of Templates: time 0.007182/0.1235, allocations: 4.289 MB / 493.2 MB, free: 8.043 MB / 366.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