Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager_String.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001518/0.001518, allocations: 118.7 kB / 17.85 MB, free: 5.207 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001575/0.001575, allocations: 191.8 kB / 20.79 MB, free: 2.273 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.485/1.485, allocations: 225.6 MB / 249.2 MB, free: 3.609 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/package.mo): time 0.0627/0.0627, allocations: 12.17 MB / 316.2 MB, free: 240 kB / 238.1 MB " [Timeout remaining time 180] 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_String,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager_String") translateModel(Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager_String,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager_String") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002036/0.002036, allocations: 67.89 kB / 440.7 MB, free: 6.148 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2579/0.2599, allocations: 55.16 MB / 495.9 MB, free: 24.06 MB / 366.1 MB Notification: Performance of NFInst.instantiate(Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager_String): time 0.003744/0.2637, allocations: 2.645 MB / 498.5 MB, free: 22.01 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001369/0.265, allocations: 0.9422 MB / 499.4 MB, free: 21.27 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001418/0.2652, allocations: 8.844 kB / 499.5 MB, free: 21.27 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000188/0.2654, allocations: 51.22 kB / 499.5 MB, free: 21.22 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002663/0.2656, allocations: 73.06 kB / 499.6 MB, free: 21.17 MB / 366.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/ClockedBlocks/Packaging.mo:132:9-139:18:writable] Warning: Pure function 'Modelica_DeviceDrivers.ClockedBlocks.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/ClockedBlocks/Packaging.mo:141:7-156:25:writable] Warning: Pure function 'Modelica_DeviceDrivers.ClockedBlocks.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/ClockedBlocks/Packaging.mo:65:9-74:23:writable] Warning: Pure function 'Modelica_DeviceDrivers.ClockedBlocks.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/ClockedBlocks/Packaging.mo:100:9-107:25:writable] Warning: Pure function 'Modelica_DeviceDrivers.ClockedBlocks.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/ClockedBlocks/Packaging.mo:158:7-173:27:writable] Warning: Pure function 'Modelica_DeviceDrivers.ClockedBlocks.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/ClockedBlocks/Packaging.mo:109:9-119:23:writable] Warning: Pure function 'Modelica_DeviceDrivers.ClockedBlocks.Packaging.SerialPackager.Internal.DummyFunctions.getInteger' contains a call to impure function 'Modelica_DeviceDrivers.Packaging.SerialPackager_.getInteger'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/ClockedBlocks/Packaging.mo:54:9-63:22:writable] Warning: Pure function 'Modelica_DeviceDrivers.ClockedBlocks.Packaging.SerialPackager.Internal.DummyFunctions.addString' contains a call to impure function 'Modelica_DeviceDrivers.Packaging.SerialPackager_.addString'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/ClockedBlocks/Packaging.mo:121:9-130:22:writable] Warning: Pure function 'Modelica_DeviceDrivers.ClockedBlocks.Packaging.SerialPackager.Internal.DummyFunctions.getString' contains a call to impure function 'Modelica_DeviceDrivers.Packaging.SerialPackager_.getString'. Notification: Performance of NFTyping.typeClassSections: time 0.000597/0.2662, allocations: 260.3 kB / 499.8 MB, free: 20.98 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002841/0.2665, allocations: 280.3 kB / 0.4884 GB, free: 20.81 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002086/0.2667, allocations: 123.4 kB / 0.4885 GB, free: 20.74 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001092/0.2668, allocations: 132.5 kB / 0.4886 GB, free: 20.66 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001806/0.267, allocations: 158.6 kB / 0.4888 GB, free: 20.54 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 5.376e-05/0.2671, allocations: 34.78 kB / 0.4888 GB, free: 20.54 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002706/0.2673, allocations: 199.7 kB / 0.489 GB, free: 20.45 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001071/0.2675, allocations: 100.9 kB / 0.4891 GB, free: 20.37 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000113/0.2676, allocations: 141.7 kB / 0.4892 GB, free: 20.26 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004861/0.2681, allocations: 0.4986 MB / 0.4897 GB, free: 19.9 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.989e-06/0.2681, allocations: 0 / 0.4897 GB, free: 19.9 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.864e-06/0.2681, allocations: 0 / 0.4897 GB, free: 19.9 MB / 366.1 MB Notification: Performance of Transformations before backend: time 8.977e-06/0.2681, allocations: 0 / 0.4897 GB, free: 19.9 MB / 366.1 MB Warning: Alias equations of external objects are not Modelica compliant as in: getString.pkgOut[1].pkg = getString.pkgIn.pkg addString.pkgOut[1].pkg = addString.pkgIn.pkg unpackInt.pkgOut[1].pkg = unpackInt.pkgIn.pkg resetPointer.pkgOut[1].pkg = resetPointer.pkgIn.pkg addInteger.pkgOut[1].pkg = addInteger.pkgIn.pkg packInt.pkgOut[1].pkg = packInt.pkgIn.pkg getString.pkgOut[1].pkg = getInteger.pkgIn.pkg unpackInt.pkgOut[1].pkg = getString.pkgIn.pkg addString.pkgOut[1].pkg = addInteger.pkgIn.pkg packInt.pkgOut[1].pkg = addString.pkgIn.pkg resetPointer.pkgOut[1].pkg = unpackInt.pkgIn.pkg addInteger.pkgOut[1].pkg = resetPointer.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: 73 * Number of variables: 73 Notification: Performance of Generate backend data structure: time 0.001143/0.2692, allocations: 1.008 MB / 0.4907 GB, free: 18.97 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.112e-05/0.2692, allocations: 12.94 kB / 0.4907 GB, free: 18.97 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.649e-05/0.2693, allocations: 37.27 kB / 0.4908 GB, free: 18.95 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002452/0.2696, allocations: 273.4 kB / 0.491 GB, free: 18.68 MB / 366.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 7.056e-05/0.2696, allocations: 56.67 kB / 0.4911 GB, free: 18.63 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.111e-05/0.2697, allocations: 26.41 kB / 0.4911 GB, free: 18.62 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00127/0.2709, allocations: 0.8961 MB / 0.492 GB, free: 18.08 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.402e-05/0.271, allocations: 0 / 0.492 GB, free: 18.08 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.016e-05/0.271, allocations: 11.41 kB / 0.492 GB, free: 18.07 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.116e-05/0.271, allocations: 9.578 kB / 0.492 GB, free: 18.07 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000321/0.2713, allocations: 184.2 kB / 0.4922 GB, free: 17.98 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000484/0.2718, allocations: 0.5617 MB / 0.4927 GB, free: 17.43 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000743/0.2725, allocations: 0.6615 MB / 0.4934 GB, free: 16.95 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003914/0.2729, allocations: 283.4 kB / 0.4936 GB, free: 16.8 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001938/0.2731, allocations: 122.4 kB / 0.4937 GB, free: 16.69 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.2e-05/0.2732, allocations: 42.41 kB / 0.4938 GB, free: 16.64 MB / 366.1 MB Notification: Performance of pre-optimization done (n=63): time 1.803e-06/0.2732, allocations: 3.938 kB / 0.4938 GB, free: 16.64 MB / 366.1 MB Notification: Performance of matching and sorting (n=63): time 0.001034/0.2742, allocations: 0.5838 MB / 0.4944 GB, free: 16.36 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001022/0.2743, allocations: 155.4 kB / 0.4945 GB, free: 16.2 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001224/0.2744, allocations: 161.5 kB / 0.4947 GB, free: 16.05 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.678e-05/0.2744, allocations: 40.98 kB / 0.4947 GB, free: 16.01 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.08e-05/0.2745, allocations: 114.8 kB / 0.4948 GB, free: 15.9 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.521e-05/0.2745, allocations: 39.45 kB / 0.4948 GB, free: 15.88 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.913e-05/0.2746, allocations: 99.08 kB / 0.4949 GB, free: 15.81 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 5.828e-05/0.2747, allocations: 337.8 kB / 0.4953 GB, free: 15.48 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001102/0.2748, allocations: 84.69 kB / 0.4953 GB, free: 15.44 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002285/0.275, allocations: 469.4 kB / 0.4958 GB, free: 14.86 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004155/0.2754, allocations: 0.5884 MB / 0.4964 GB, free: 14.19 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.802e-06/0.2754, allocations: 3.312 kB / 0.4964 GB, free: 14.19 MB / 366.1 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.0006601/0.2761, allocations: 0.5112 MB / 0.4969 GB, free: 13.91 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.519e-05/0.2761, allocations: 9.781 kB / 0.4969 GB, free: 13.91 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.685e-05/0.2761, allocations: 14.66 kB / 0.4969 GB, free: 13.91 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.091e-05/0.2762, allocations: 21.72 kB / 0.4969 GB, free: 13.91 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000307/0.2765, allocations: 122.6 kB / 0.497 GB, free: 13.88 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.107e-05/0.2765, allocations: 25.19 kB / 0.4971 GB, free: 13.87 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001936/0.2767, allocations: 47.27 kB / 0.4971 GB, free: 13.84 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.609e-05/0.2767, allocations: 42.58 kB / 0.4971 GB, free: 13.83 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 63 * Number of states: 0 () * Number of discrete variables: 43 (integerExpression.y,integerExpression2.y,findString.y,getString.pkgOut[1].autoPkgBitSize,getString.pkgOut[1].userPkgBitSize,getString.pkgIn.autoPkgBitSize,getString.pkgIn.userPkgBitSize,addString.pkgOut[1].autoPkgBitSize,addString.pkgOut[1].userPkgBitSize,addString.pkgIn.autoPkgBitSize,addString.pkgIn.userPkgBitSize,sample3.y,sample1.y,getInteger.y[1],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,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 (67): * Single equations (assignments): 67 * 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.0001729/0.2769, allocations: 217.5 kB / 0.4973 GB, free: 13.64 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007398/0.2776, allocations: 432.1 kB / 0.4978 GB, free: 13.43 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008012/0.2784, allocations: 492.1 kB / 0.4982 GB, free: 13.16 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.502e-05/0.2785, allocations: 6.875 kB / 0.4982 GB, free: 13.16 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.742e-06/0.2785, allocations: 5.312 kB / 0.4982 GB, free: 13.16 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.606e-06/0.2785, allocations: 9.359 kB / 0.4982 GB, free: 13.15 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003072/0.2788, allocations: 342.8 kB / 0.4986 GB, free: 12.82 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.127e-05/0.2788, allocations: 5.25 kB / 0.4986 GB, free: 12.81 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003224/0.2791, allocations: 93.27 kB / 0.4987 GB, free: 12.79 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.849e-06/0.2791, allocations: 2.625 kB / 0.4987 GB, free: 12.79 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.01e-05/0.2791, allocations: 16.47 kB / 0.4987 GB, free: 12.78 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.627e-06/0.2792, allocations: 3.812 kB / 0.4987 GB, free: 12.78 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.2792, allocations: 0 / 0.4987 GB, free: 12.78 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008301/0.28, allocations: 0.6463 MB / 0.4993 GB, free: 12.35 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.443e-05/0.28, allocations: 107.9 kB / 0.4994 GB, free: 12.24 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.487e-05/0.2801, allocations: 16.22 kB / 0.4994 GB, free: 12.23 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001478/0.2802, allocations: 14.97 kB / 0.4995 GB, free: 12.21 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.299e-05/0.2803, allocations: 7.047 kB / 0.4995 GB, free: 12.21 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.467e-05/0.2803, allocations: 17.69 kB / 0.4995 GB, free: 12.21 MB / 366.1 MB Notification: Performance of sorting global known variables: time 5.594e-05/0.2803, allocations: 114.8 kB / 0.4996 GB, free: 12.11 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2803, allocations: 4 kB / 0.4996 GB, free: 12.11 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006353/0.281, allocations: 124.7 kB / 0.4997 GB, free: 12.06 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 43 (integerExpression.y,integerExpression2.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],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.y[1],sample1.y,sample3.y,addString.pkgIn.userPkgBitSize,addString.pkgIn.autoPkgBitSize,addString.pkgOut[1].userPkgBitSize,addString.pkgOut[1].autoPkgBitSize,getString.pkgIn.userPkgBitSize,getString.pkgIn.autoPkgBitSize,getString.pkgOut[1].userPkgBitSize,getString.pkgOut[1].autoPkgBitSize,findString.y) * 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 (61): * Single equations (assignments): 57 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 0 * 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.0007816/0.2818, allocations: 335.7 kB / 0.5 GB, free: 11.86 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0006319/0.2824, allocations: 390.9 kB / 0.5004 GB, free: 11.69 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.2824, allocations: 0 / 0.5004 GB, free: 11.69 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 1.429e-05/0.2824, allocations: 7.844 kB / 0.5004 GB, free: 11.69 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001329/0.2837, allocations: 1.103 MB / 0.5015 GB, free: 10.74 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001079/0.2848, allocations: 0.6514 MB / 0.5021 GB, free: 10.3 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002788/0.2851, allocations: 0.8084 MB / 0.5029 GB, free: 9.547 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.316e-05/0.2852, allocations: 32.05 kB / 0.5029 GB, free: 9.535 MB / 366.1 MB Notification: Performance of SimCode: time 3.11e-07/0.2852, allocations: 1.219 kB / 0.5029 GB, free: 9.535 MB / 366.1 MB Notification: Performance of Templates: time 0.008133/0.2933, allocations: 5.157 MB / 0.508 GB, free: 5.977 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager_String.makefile [Timeout 660] make -j1 -f Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager_String.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_2/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_2/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.TestSerialPackager_StringCalcHelperMain.o OMCppModelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager_StringCalcHelperMain.cpp In file included from OMCppModelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager_StringCalcHelperMain.cpp:28: In file included from ./OMCppModelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager_StringFunctions.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.TestSerialPackager_StringCalcHelperMain.cpp:28: ./OMCppModelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager_StringFunctions.cpp:498: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.TestSerialPackager_StringCalcHelperMain.o] Error 1 [Calling os._exit(0), Time elapsed: 4.071542605990544] Failed to read output from testmodel.py, exit status != 0: 0.3013354141730815 0.31204681900000003 0.041163353 Calling exit ...