Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration") translateModel(Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.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/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.467/1.467, allocations: 289.8 MB / 297.1 MB, free: 6.703 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001182/0.001182, allocations: 173.3 kB / 366.3 MB, free: 2.027 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.214/1.214, allocations: 205.1 MB / 0.6256 GB, free: 5.938 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008339/0.0008337, allocations: 85.83 kB / 0.7395 GB, free: 39.75 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 8.145e-06/8.175e-06, allocations: 4 kB / 0.859 GB, free: 13.41 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5492/0.5492, allocations: 116.3 MB / 0.9726 GB, free: 68.04 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1691/0.7183, allocations: 137.4 MB / 1.107 GB, free: 11.15 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002275/0.7186, allocations: 76.48 kB / 1.107 GB, free: 11.08 MB / 0.7136 GB Notification: Performance of FrontEnd: time 0.00127/0.7199, allocations: 251 kB / 1.107 GB, free: 10.84 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 6.623e-06/0.72, allocations: 0.75 kB / 1.107 GB, free: 10.84 MB / 0.7136 GB 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.0002688/0.7202, allocations: 345.8 kB / 1.107 GB, free: 10.46 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.911e-05/0.7203, allocations: 8.594 kB / 1.107 GB, free: 10.45 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.836e-05/0.7203, allocations: 4.594 kB / 1.107 GB, free: 10.45 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.557e-05/0.7204, allocations: 167 kB / 1.108 GB, free: 10.24 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.247e-05/0.7205, allocations: 1.125 kB / 1.108 GB, free: 10.24 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.155e-05/0.7205, allocations: 0 / 1.108 GB, free: 10.24 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.396e-05/0.7206, allocations: 23.98 kB / 1.108 GB, free: 10.22 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.721e-05/0.7207, allocations: 55.78 kB / 1.108 GB, free: 10.16 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.478e-06/0.7207, allocations: 0 / 1.108 GB, free: 10.16 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.022e-05/0.7207, allocations: 4.469 kB / 1.108 GB, free: 10.16 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.597e-05/0.7207, allocations: 15.89 kB / 1.108 GB, free: 10.14 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003102/0.7211, allocations: 234.5 kB / 1.108 GB, free: 9.875 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 4e-05/0.7211, allocations: 18.58 kB / 1.108 GB, free: 9.848 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.908e-05/0.7211, allocations: 8.922 kB / 1.108 GB, free: 9.836 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 7.304e-06/0.7211, allocations: 0 / 1.108 GB, free: 9.836 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.457e-05/0.7212, allocations: 34.55 kB / 1.108 GB, free: 9.793 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=1): time 1.072e-06/0.7212, allocations: 0 / 1.108 GB, free: 9.793 MB / 0.7136 GB Notification: Performance of matching and sorting (n=1): time 0.0001769/0.7214, allocations: 41.55 kB / 1.108 GB, free: 9.746 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.001e-05/0.7214, allocations: 81.14 kB / 1.108 GB, free: 9.648 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.24e-05/0.7215, allocations: 110.1 kB / 1.108 GB, free: 9.535 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.195e-05/0.7215, allocations: 25.7 kB / 1.108 GB, free: 9.504 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 5.422e-05/0.7216, allocations: 103.8 kB / 1.108 GB, free: 9.398 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 7.555e-06/0.7216, allocations: 7.891 kB / 1.108 GB, free: 9.391 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.447e-06/0.7216, allocations: 0 / 1.108 GB, free: 9.391 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 9.341e-05/0.7217, allocations: 310.8 kB / 1.109 GB, free: 9.078 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.882e-05/0.7217, allocations: 12 kB / 1.109 GB, free: 9.066 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.462e-05/0.7218, allocations: 58.86 kB / 1.109 GB, free: 8.984 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.592e-05/0.7219, allocations: 23.86 kB / 1.109 GB, free: 8.961 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.627e-06/0.7219, allocations: 8 kB / 1.109 GB, free: 8.953 MB / 0.7136 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001395/0.7221, allocations: 77.45 kB / 1.109 GB, free: 8.871 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.484e-05/0.7221, allocations: 8 kB / 1.109 GB, free: 8.863 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.384e-06/0.7221, allocations: 0.6562 kB / 1.109 GB, free: 8.863 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.612e-05/0.7221, allocations: 4 kB / 1.109 GB, free: 8.859 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.702e-05/0.7222, allocations: 16 kB / 1.109 GB, free: 8.844 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.19e-06/0.7222, allocations: 256 / 1.109 GB, free: 8.844 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.985e-05/0.7223, allocations: 15.84 kB / 1.109 GB, free: 8.828 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.794e-05/0.7223, allocations: 7.984 kB / 1.109 GB, free: 8.82 MB / 0.7136 GB 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 0.0001015/0.7224, allocations: 138.6 kB / 1.109 GB, free: 8.672 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.99e-05/0.7224, allocations: 5.031 kB / 1.109 GB, free: 8.668 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.946e-05/0.7225, allocations: 3.469 kB / 1.109 GB, free: 8.656 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.106e-06/0.7225, allocations: 3.906 kB / 1.109 GB, free: 8.652 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.541e-06/0.7225, allocations: 0 / 1.109 GB, free: 8.652 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.875e-06/0.7225, allocations: 0 / 1.109 GB, free: 8.652 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001306/0.7226, allocations: 134.2 kB / 1.109 GB, free: 8.484 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.7226, allocations: 4 kB / 1.109 GB, free: 8.48 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.31e-07/0.7226, allocations: 4 kB / 1.109 GB, free: 8.477 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.254e-06/0.7226, allocations: 0 / 1.109 GB, free: 8.477 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.805e-06/0.7227, allocations: 0 / 1.109 GB, free: 8.477 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.7227, allocations: 0 / 1.109 GB, free: 8.477 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.816e-06/0.7227, allocations: 2.906 kB / 1.109 GB, free: 8.477 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000124/0.7228, allocations: 139.4 kB / 1.109 GB, free: 8.324 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 3.739e-05/0.7229, allocations: 81.02 kB / 1.109 GB, free: 8.227 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.521e-05/0.7229, allocations: 4.031 kB / 1.109 GB, free: 8.223 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.246e-05/0.7229, allocations: 4 kB / 1.109 GB, free: 8.219 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.861e-05/0.723, allocations: 4 kB / 1.109 GB, free: 8.215 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.906e-06/0.723, allocations: 7.969 kB / 1.109 GB, free: 8.207 MB / 0.7136 GB Notification: Performance of sort global known variables: time 4.062e-05/0.723, allocations: 83.28 kB / 1.109 GB, free: 8.125 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002458/0.7233, allocations: 8 kB / 1.109 GB, free: 8.117 MB / 0.7136 GB 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.0001977/0.7235, allocations: 113.7 kB / 1.11 GB, free: 8 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001094/0.7236, allocations: 57.64 kB / 1.11 GB, free: 7.938 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.416e-06/0.7236, allocations: 1.688 kB / 1.11 GB, free: 7.938 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 2.043e-05/0.7236, allocations: 33.64 kB / 1.11 GB, free: 7.898 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001393/0.7238, allocations: 4 kB / 1.11 GB, free: 7.895 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002189/0.724, allocations: 59.92 kB / 1.11 GB, free: 7.812 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002468/0.7243, allocations: 0.6957 MB / 1.11 GB, free: 7.09 MB / 0.7136 GB Notification: Performance of SimCode: time 3.3e-07/0.7243, allocations: 0 / 1.11 GB, free: 7.09 MB / 0.7136 GB Notification: Performance of Templates: time 0.002403/0.7267, allocations: 0.4969 MB / 1.111 GB, free: 6.621 MB / 0.7136 GB make -j1 -f Buildings_8_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.makefile (rm -f Buildings_8_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe ; mkfifo Buildings_8_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe >> ../files/Buildings_8_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.sim & ./Buildings_8_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe 2>&1)