Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaByExample_ModelicaByExample.Functions.Interpolation.IntegrateInterpolatedVector.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaByExample 0.6.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package ModelicaByExample with version 0.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaByExample 0.6.0/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(ModelicaByExample.Functions.Interpolation.IntegrateInterpolatedVector,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaByExample_ModelicaByExample.Functions.Interpolation.IntegrateInterpolatedVector") translateModel(ModelicaByExample.Functions.Interpolation.IntegrateInterpolatedVector,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaByExample_ModelicaByExample.Functions.Interpolation.IntegrateInterpolatedVector") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001797/0.001797, allocations: 184.1 kB / 7.457 MB, free: 2.504 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 0.9466/0.9466, allocations: 194.2 MB / 202.1 MB, free: 8.746 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaByExample 0.6.0/package.mo): time 0.03212/0.03212, allocations: 7.916 MB / 254.9 MB, free: 1.719 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001537/0.001537, allocations: 113.1 kB / 301.5 MB, free: 3.391 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 5.19e-06/5.21e-06, allocations: 0 / 353.7 MB, free: 15.06 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1473/0.1474, allocations: 46.2 MB / 399.9 MB, free: 70.12 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.059/0.2064, allocations: 70.19 MB / 470.1 MB, free: 1.148 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001094/0.2066, allocations: 47.92 kB / 470.2 MB, free: 1.102 MB / 314.7 MB Notification: Performance of FrontEnd: time 0.001328/0.2079, allocations: 349.7 kB / 470.5 MB, free: 0.7617 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.488e-06/0.2079, allocations: 4 kB / 470.5 MB, free: 0.7578 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0001346/0.2081, allocations: 314.5 kB / 470.8 MB, free: 416 kB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.983e-05/0.2081, allocations: 9.031 kB / 470.8 MB, free: 408 kB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.332e-05/0.2081, allocations: 4 kB / 470.8 MB, free: 404 kB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 4.308e-05/0.2082, allocations: 166.9 kB / 471 MB, free: 196 kB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.688e-06/0.2082, allocations: 0 / 471 MB, free: 196 kB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.518e-05/0.2082, allocations: 4 kB / 471 MB, free: 192 kB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 4.595e-05/0.2083, allocations: 4 kB / 471 MB, free: 188 kB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 4.314e-05/0.2083, allocations: 37.69 kB / 471.1 MB, free: 144 kB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.975e-06/0.2083, allocations: 4 kB / 471.1 MB, free: 140 kB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.554e-06/0.2083, allocations: 0 / 471.1 MB, free: 140 kB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.577e-06/0.2083, allocations: 0 / 471.1 MB, free: 140 kB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.563e-05/0.2084, allocations: 130.2 kB / 471.2 MB, free: 15.97 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001285/0.2086, allocations: 34.61 kB / 471.2 MB, free: 15.93 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.5e-05/0.2086, allocations: 12.86 kB / 471.2 MB, free: 15.91 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.739e-05/0.2086, allocations: 4 kB / 471.2 MB, free: 15.91 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.769e-05/0.2087, allocations: 34.5 kB / 471.3 MB, free: 15.86 MB / 330.7 MB Notification: Performance of pre-optimization done (n=3): time 8.82e-07/0.2087, allocations: 4 kB / 471.3 MB, free: 15.86 MB / 330.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001421/0.2088, allocations: 45.77 kB / 471.3 MB, free: 15.81 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.607e-05/0.2089, allocations: 51.41 kB / 471.4 MB, free: 15.75 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.976e-05/0.2089, allocations: 85 kB / 471.4 MB, free: 15.66 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.148e-05/0.2089, allocations: 29.7 kB / 471.5 MB, free: 15.62 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.286e-05/0.209, allocations: 84.14 kB / 471.6 MB, free: 15.54 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.505e-05/0.209, allocations: 15.73 kB / 471.6 MB, free: 15.52 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.855e-06/0.209, allocations: 0 / 471.6 MB, free: 15.52 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001125/0.2091, allocations: 314.8 kB / 471.9 MB, free: 15.2 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.843e-05/0.2091, allocations: 8.859 kB / 471.9 MB, free: 15.19 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.173e-05/0.2092, allocations: 25.59 kB / 471.9 MB, free: 15.16 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.88e-05/0.2092, allocations: 7.984 kB / 471.9 MB, free: 15.15 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.825e-06/0.2092, allocations: 4 kB / 471.9 MB, free: 15.15 MB / 330.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 8.283e-05/0.2093, allocations: 49.69 kB / 472 MB, free: 15.09 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.658e-06/0.2093, allocations: 8 kB / 472 MB, free: 15.09 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.607e-06/0.2093, allocations: 0 / 472 MB, free: 15.09 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.06e-05/0.2094, allocations: 0 / 472 MB, free: 15.09 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.092e-05/0.2094, allocations: 8 kB / 472 MB, free: 15.08 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.432e-06/0.2094, allocations: 7.844 kB / 472 MB, free: 15.07 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.368e-05/0.2094, allocations: 0 / 472 MB, free: 15.07 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.037e-05/0.2094, allocations: 4 kB / 472 MB, free: 15.07 MB / 330.7 MB Warning: Assuming fixed start value for the following 1 variables: z:VARIABLE() type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.254e-05/0.2095, allocations: 108.8 kB / 472.1 MB, free: 14.95 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.693e-06/0.2095, allocations: 0 / 472.1 MB, free: 14.95 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001355/0.2097, allocations: 69.11 kB / 472.2 MB, free: 14.88 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.342e-06/0.2097, allocations: 0 / 472.2 MB, free: 14.88 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.946e-06/0.2097, allocations: 0 / 472.2 MB, free: 14.88 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.594e-06/0.2097, allocations: 0 / 472.2 MB, free: 14.88 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.784e-05/0.2098, allocations: 134.2 kB / 472.3 MB, free: 14.71 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.82e-07/0.2098, allocations: 0 / 472.3 MB, free: 14.71 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.731e-05/0.2098, allocations: 7.984 kB / 472.3 MB, free: 14.7 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.503e-06/0.2098, allocations: 0 / 472.3 MB, free: 14.7 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.392e-06/0.2098, allocations: 4 kB / 472.3 MB, free: 14.7 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.274e-06/0.2099, allocations: 3.938 kB / 472.3 MB, free: 14.7 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.815e-06/0.2099, allocations: 3.906 kB / 472.3 MB, free: 14.69 MB / 330.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001077/0.21, allocations: 73.12 kB / 472.4 MB, free: 14.6 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.37e-05/0.21, allocations: 77.11 kB / 472.5 MB, free: 14.51 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.319e-05/0.21, allocations: 11.91 kB / 472.5 MB, free: 14.5 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.088e-05/0.2101, allocations: 0 / 472.5 MB, free: 14.5 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.3e-05/0.2101, allocations: 4.031 kB / 472.5 MB, free: 14.49 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.64e-06/0.2101, allocations: 4 kB / 472.5 MB, free: 14.49 MB / 330.7 MB Notification: Performance of sort global known variables: time 2.224e-05/0.2101, allocations: 79.28 kB / 472.6 MB, free: 14.41 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0001725/0.2103, allocations: 12 kB / 472.6 MB, free: 14.4 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (z) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001279/0.2104, allocations: 119.2 kB / 472.7 MB, free: 14.27 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 6.366e-05/0.2105, allocations: 11.94 kB / 472.7 MB, free: 14.26 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.784e-06/0.2105, allocations: 0 / 472.7 MB, free: 14.26 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 1.327e-05/0.2105, allocations: 12 kB / 472.7 MB, free: 14.25 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.326e-05/0.2106, allocations: 1.125 kB / 472.7 MB, free: 14.25 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001788/0.2108, allocations: 68.67 kB / 472.8 MB, free: 14.16 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002566/0.2111, allocations: 0.6994 MB / 473.5 MB, free: 13.44 MB / 330.7 MB Notification: Performance of SimCode: time 2.1e-07/0.2111, allocations: 0 / 473.5 MB, free: 13.44 MB / 330.7 MB Notification: Performance of Templates: time 0.001902/0.213, allocations: 475.4 kB / 474 MB, free: 12.98 MB / 330.7 MB make -j1 -f ModelicaByExample_ModelicaByExample.Functions.Interpolation.IntegrateInterpolatedVector.makefile (rm -f ModelicaByExample_ModelicaByExample.Functions.Interpolation.IntegrateInterpolatedVector.pipe ; mkfifo ModelicaByExample_ModelicaByExample.Functions.Interpolation.IntegrateInterpolatedVector.pipe ; head -c 1048576 < ModelicaByExample_ModelicaByExample.Functions.Interpolation.IntegrateInterpolatedVector.pipe >> ../files/ModelicaByExample_ModelicaByExample.Functions.Interpolation.IntegrateInterpolatedVector.sim & ./ModelicaByExample_ModelicaByExample.Functions.Interpolation.IntegrateInterpolatedVector -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaByExample_ModelicaByExample.Functions.Interpolation.IntegrateInterpolatedVector.pipe 2>&1)