Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.TrapezoidalIntegration.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo", uses=false) 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/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 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) Using package Annex60 with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo) Running command: translateModel(Annex60.Utilities.Math.Functions.Examples.TrapezoidalIntegration,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.TrapezoidalIntegration") translateModel(Annex60.Utilities.Math.Functions.Examples.TrapezoidalIntegration,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.TrapezoidalIntegration") [: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/Annex60 1.0.0/package.mo): time 0.2891/0.2891, allocations: 54.4 MB / 61.68 MB, free: 11.17 MB / 58.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001333/0.001332, allocations: 176.5 kB / 75.37 MB, free: 1.523 MB / 58.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.563/1.563, allocations: 194.2 MB / 283.2 MB, free: 3.512 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001658/0.001658, allocations: 120 kB / 341.3 MB, free: 9.379 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 7.093e-06/7.123e-06, allocations: 0 / 405 MB, free: 27.7 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1245/0.1245, allocations: 57.65 MB / 462.6 MB, free: 1.973 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3344/0.459, allocations: 83.94 MB / 0.5337 GB, free: 13.07 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002574/0.4593, allocations: 70.02 kB / 0.5338 GB, free: 13.03 MB / 378.7 MB Notification: Performance of FrontEnd: time 0.001231/0.4606, allocations: 245 kB / 0.534 GB, free: 12.82 MB / 378.7 MB Notification: Performance of Transformations before backend: time 8.275e-06/0.4606, allocations: 4 kB / 0.534 GB, free: 12.82 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0002968/0.4609, allocations: 333 kB / 0.5344 GB, free: 12.45 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.262e-05/0.4609, allocations: 12.91 kB / 0.5344 GB, free: 12.43 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.504e-05/0.461, allocations: 7.984 kB / 0.5344 GB, free: 12.43 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001048/0.4611, allocations: 163 kB / 0.5345 GB, free: 12.23 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.389e-05/0.4611, allocations: 0 / 0.5345 GB, free: 12.23 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.377e-05/0.4611, allocations: 3.906 kB / 0.5345 GB, free: 12.22 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.489e-05/0.4612, allocations: 22.75 kB / 0.5346 GB, free: 12.21 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.466e-05/0.4613, allocations: 68.09 kB / 0.5346 GB, free: 12.14 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.083e-06/0.4613, allocations: 0 / 0.5346 GB, free: 12.14 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.017e-05/0.4613, allocations: 0 / 0.5346 GB, free: 12.14 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.389e-05/0.4614, allocations: 8 kB / 0.5346 GB, free: 12.13 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003234/0.4617, allocations: 244.9 kB / 0.5349 GB, free: 11.86 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.59e-05/0.4618, allocations: 19.23 kB / 0.5349 GB, free: 11.84 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.062e-05/0.4618, allocations: 16.72 kB / 0.5349 GB, free: 11.82 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.468e-06/0.4618, allocations: 0 / 0.5349 GB, free: 11.82 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.254e-05/0.4618, allocations: 30.56 kB / 0.5349 GB, free: 11.78 MB / 378.7 MB Notification: Performance of pre-optimization done (n=1): time 1.213e-06/0.4618, allocations: 0 / 0.5349 GB, free: 11.78 MB / 378.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001828/0.462, allocations: 41.69 kB / 0.535 GB, free: 11.73 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.882e-05/0.4621, allocations: 79.3 kB / 0.535 GB, free: 11.64 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.026e-05/0.4622, allocations: 108.4 kB / 0.5351 GB, free: 11.54 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.344e-05/0.4622, allocations: 25.7 kB / 0.5352 GB, free: 11.5 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.536e-05/0.4622, allocations: 107.8 kB / 0.5353 GB, free: 11.39 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.793e-06/0.4623, allocations: 3.438 kB / 0.5353 GB, free: 11.39 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.258e-06/0.4623, allocations: 0 / 0.5353 GB, free: 11.39 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001102/0.4624, allocations: 314.8 kB / 0.5356 GB, free: 11.08 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.88e-05/0.4624, allocations: 11.61 kB / 0.5356 GB, free: 11.07 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.204e-05/0.4625, allocations: 62.67 kB / 0.5356 GB, free: 10.99 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.622e-05/0.4625, allocations: 15.92 kB / 0.5357 GB, free: 10.97 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.4625, allocations: 4 kB / 0.5357 GB, free: 10.97 MB / 378.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001566/0.4627, allocations: 87.2 kB / 0.5357 GB, free: 10.88 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.164e-05/0.4627, allocations: 4 kB / 0.5358 GB, free: 10.88 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.929e-06/0.4627, allocations: 0 / 0.5358 GB, free: 10.88 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.433e-05/0.4627, allocations: 4 kB / 0.5358 GB, free: 10.88 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.244e-05/0.4628, allocations: 15.98 kB / 0.5358 GB, free: 10.86 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.095e-06/0.4628, allocations: 3.938 kB / 0.5358 GB, free: 10.86 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.672e-05/0.4629, allocations: 15.84 kB / 0.5358 GB, free: 10.84 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.639e-05/0.4629, allocations: 8 kB / 0.5358 GB, free: 10.83 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 1 * 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 7.966e-05/0.463, allocations: 130.9 kB / 0.5359 GB, free: 10.69 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.924e-05/0.463, allocations: 15.03 kB / 0.5359 GB, free: 10.68 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.009e-05/0.4631, allocations: 11.41 kB / 0.5359 GB, free: 10.67 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.222e-06/0.4631, allocations: 0 / 0.5359 GB, free: 10.67 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.867e-06/0.4631, allocations: 0 / 0.5359 GB, free: 10.67 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/0.4631, allocations: 0 / 0.5359 GB, free: 10.67 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001312/0.4632, allocations: 134.2 kB / 0.5361 GB, free: 10.5 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.92e-07/0.4632, allocations: 0 / 0.5361 GB, free: 10.5 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.8e-07/0.4632, allocations: 0 / 0.5361 GB, free: 10.5 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.785e-06/0.4632, allocations: 3.906 kB / 0.5361 GB, free: 10.5 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.454e-06/0.4633, allocations: 7.625 kB / 0.5361 GB, free: 10.5 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.42e-07/0.4633, allocations: 0 / 0.5361 GB, free: 10.5 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.953e-06/0.4633, allocations: 0 / 0.5361 GB, free: 10.5 MB / 378.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00012/0.4634, allocations: 139.4 kB / 0.5362 GB, free: 10.34 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.36e-05/0.4635, allocations: 80.67 kB / 0.5363 GB, free: 10.25 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.38e-05/0.4635, allocations: 0 / 0.5363 GB, free: 10.25 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.549e-05/0.4636, allocations: 7.938 kB / 0.5363 GB, free: 10.24 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.242e-05/0.4636, allocations: 4.031 kB / 0.5363 GB, free: 10.24 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.628e-06/0.4636, allocations: 0 / 0.5363 GB, free: 10.24 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.243e-05/0.4636, allocations: 87.27 kB / 0.5364 GB, free: 10.15 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002304/0.4639, allocations: 12 kB / 0.5364 GB, free: 10.14 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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.000154/0.464, allocations: 106.4 kB / 0.5365 GB, free: 10.03 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001053/0.4641, allocations: 52.75 kB / 0.5366 GB, free: 9.973 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/0.4642, allocations: 2.938 kB / 0.5366 GB, free: 9.973 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 2.185e-05/0.4642, allocations: 33.7 kB / 0.5366 GB, free: 9.934 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001294/0.4643, allocations: 7.906 kB / 0.5366 GB, free: 9.926 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001927/0.4645, allocations: 68.41 kB / 0.5367 GB, free: 9.84 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002779/0.4648, allocations: 0.6919 MB / 0.5373 GB, free: 9.121 MB / 378.7 MB Notification: Performance of SimCode: time 2.5e-07/0.4648, allocations: 4 kB / 0.5373 GB, free: 9.117 MB / 378.7 MB Notification: Performance of Templates: time 0.002347/0.4672, allocations: 0.4966 MB / 0.5378 GB, free: 8.637 MB / 378.7 MB make -j1 -f Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.TrapezoidalIntegration.makefile (rm -f Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe ; mkfifo Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe >> ../files/Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.TrapezoidalIntegration.sim & ./Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.TrapezoidalIntegration -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe 2>&1)