Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|varRL.i.1.|varRL.i.2.|RL.i.1.|RL.i.2.|varRC.i.1.|varRC.i.2.|RC.i.1.|RC.i.2.|R.i.1.|R.i.2.|RL.S.1.|RL.S.2.|RC.S.1.|RC.S.2.",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads") translateModel(Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|varRL.i.1.|varRL.i.2.|RL.i.1.|RL.i.2.|varRC.i.1.|varRC.i.2.|RC.i.1.|RC.i.2.|R.i.1.|R.i.2.|RL.S.1.|RL.S.2.|RC.S.1.|RC.S.2.",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads") [: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 7.0.3-maint.7.0.x/package.mo): time 1.419/1.419, allocations: 249.4 MB / 256.7 MB, free: 7.066 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001205/0.001205, allocations: 185.2 kB / 316 MB, free: 3.508 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.557/1.557, allocations: 205.1 MB / 0.5667 GB, free: 15.63 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009795/0.0009795, allocations: 98.52 kB / 0.671 GB, free: 4.758 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 9.328e-06/9.718e-06, allocations: 4 kB / 0.7807 GB, free: 103 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2288/0.2288, allocations: 106.3 MB / 0.8846 GB, free: 12.61 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6287/0.8576, allocations: 159.3 MB / 1.04 GB, free: 13.17 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002995/0.8579, allocations: 94.25 kB / 1.04 GB, free: 13.12 MB / 0.6667 GB Notification: Performance of FrontEnd: time 0.06967/0.9276, allocations: 27.71 MB / 1.067 GB, free: 6.113 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 3.026e-05/0.9277, allocations: 8 kB / 1.067 GB, free: 6.105 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 120 * Number of variables: 120 Notification: Performance of Generate backend data structure: time 0.001331/0.929, allocations: 0.7205 MB / 1.068 GB, free: 5.371 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.442e-05/0.9291, allocations: 12.02 kB / 1.068 GB, free: 5.359 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001312/0.9304, allocations: 171.1 kB / 1.068 GB, free: 5.191 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005158/0.9309, allocations: 370.2 kB / 1.069 GB, free: 4.82 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.884e-05/0.931, allocations: 12 kB / 1.069 GB, free: 4.809 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.475e-05/0.931, allocations: 24 kB / 1.069 GB, free: 4.785 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007471/0.9318, allocations: 477.8 kB / 1.069 GB, free: 4.461 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009268/0.9327, allocations: 0.7279 MB / 1.07 GB, free: 3.785 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.21e-05/0.9328, allocations: 4 kB / 1.07 GB, free: 3.781 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.871e-05/0.9328, allocations: 4 kB / 1.07 GB, free: 3.777 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.4e-05/0.9329, allocations: 55.64 kB / 1.07 GB, free: 3.727 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003786/0.9367, allocations: 4.504 MB / 1.074 GB, free: 15.19 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006342/0.9373, allocations: 439.1 kB / 1.075 GB, free: 14.85 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003094/0.9377, allocations: 254.4 kB / 1.075 GB, free: 14.67 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 3.191e-05/0.9377, allocations: 11.86 kB / 1.075 GB, free: 14.66 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.493e-05/0.9377, allocations: 30.56 kB / 1.075 GB, free: 14.62 MB / 0.698 GB Notification: Performance of pre-optimization done (n=33): time 2.214e-06/0.9377, allocations: 0 / 1.075 GB, free: 14.62 MB / 0.698 GB Notification: Performance of matching and sorting (n=34): time 0.001081/0.9388, allocations: 0.6216 MB / 1.075 GB, free: 14.1 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.769e-05/0.9389, allocations: 89.08 kB / 1.076 GB, free: 13.99 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002663/0.9392, allocations: 280 kB / 1.076 GB, free: 13.76 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 3.506e-05/0.9392, allocations: 25.7 kB / 1.076 GB, free: 13.73 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001454/0.9393, allocations: 271.1 kB / 1.076 GB, free: 13.48 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001024/0.9395, allocations: 116.7 kB / 1.076 GB, free: 13.38 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.709e-05/0.9395, allocations: 4 kB / 1.076 GB, free: 13.38 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001286/0.9396, allocations: 348.3 kB / 1.077 GB, free: 13.04 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003332/0.94, allocations: 217.3 kB / 1.077 GB, free: 12.9 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004416/0.9404, allocations: 447.9 kB / 1.077 GB, free: 12.45 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003737/0.9408, allocations: 290.6 kB / 1.077 GB, free: 12.25 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.9408, allocations: 4 kB / 1.077 GB, free: 12.24 MB / 0.698 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.0009288/0.9417, allocations: 0.6557 MB / 1.078 GB, free: 11.73 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.001028/0.9428, allocations: 2.789 MB / 1.081 GB, free: 8.77 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.278e-05/0.9428, allocations: 15.98 kB / 1.081 GB, free: 8.754 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.072e-05/0.9428, allocations: 12 kB / 1.081 GB, free: 8.742 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007388/0.9436, allocations: 157.5 kB / 1.081 GB, free: 8.594 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.276e-05/0.9436, allocations: 12 kB / 1.081 GB, free: 8.582 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004868/0.9441, allocations: 55.8 kB / 1.081 GB, free: 8.527 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.19e-05/0.9442, allocations: 27.17 kB / 1.081 GB, free: 8.504 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 9.257e-06/0.9442, allocations: 4 kB / 1.081 GB, free: 8.5 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006778/0.9449, allocations: 497.9 kB / 1.082 GB, free: 8.117 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.913e-06/0.9449, allocations: 12.03 kB / 1.082 GB, free: 8.105 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.11e-05/0.9449, allocations: 12 kB / 1.082 GB, free: 8.094 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005642/0.9455, allocations: 146.7 kB / 1.082 GB, free: 7.957 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.21e-05/0.9455, allocations: 19.84 kB / 1.082 GB, free: 7.938 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003408/0.9459, allocations: 43.81 kB / 1.082 GB, free: 7.895 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.713e-05/0.9459, allocations: 23.44 kB / 1.082 GB, free: 7.875 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 32 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001336/0.9461, allocations: 123.5 kB / 1.082 GB, free: 7.75 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.55e-05/0.9462, allocations: 39.53 kB / 1.082 GB, free: 7.711 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000792/0.947, allocations: 0.5181 MB / 1.082 GB, free: 7.32 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.292e-06/0.947, allocations: 4 kB / 1.082 GB, free: 7.316 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.95e-06/0.947, allocations: 0 / 1.082 GB, free: 7.316 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.416e-06/0.947, allocations: 7.984 kB / 1.083 GB, free: 7.309 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002114/0.9491, allocations: 1.488 MB / 1.084 GB, free: 5.992 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.308e-06/0.9491, allocations: 8.062 kB / 1.084 GB, free: 5.984 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005728/0.9497, allocations: 107.2 kB / 1.084 GB, free: 5.883 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.013e-06/0.9497, allocations: 7.938 kB / 1.084 GB, free: 5.875 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.095e-05/0.9498, allocations: 4 kB / 1.084 GB, free: 5.871 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.751e-06/0.9498, allocations: 8 kB / 1.084 GB, free: 5.863 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.723e-06/0.9498, allocations: 11.94 kB / 1.084 GB, free: 5.852 MB / 0.698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0009016/0.9507, allocations: 0.9094 MB / 1.085 GB, free: 4.914 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001986/0.9509, allocations: 166.3 kB / 1.085 GB, free: 4.75 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.244e-05/0.951, allocations: 7.984 kB / 1.085 GB, free: 4.742 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000422/0.9514, allocations: 35.97 kB / 1.085 GB, free: 4.707 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.899e-05/0.9515, allocations: 27 kB / 1.085 GB, free: 4.684 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.599e-05/0.9516, allocations: 19.42 kB / 1.085 GB, free: 4.668 MB / 0.698 GB Notification: Performance of sort global known variables: time 0.0002098/0.9518, allocations: 219.3 kB / 1.085 GB, free: 4.492 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0008835/0.9527, allocations: 183.4 kB / 1.086 GB, free: 4.316 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (35): * Single equations (assignments): 35 * 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.0001924/0.9529, allocations: 123 kB / 1.086 GB, free: 4.188 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001106/0.954, allocations: 0.7988 MB / 1.087 GB, free: 3.605 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.544e-06/0.954, allocations: 4.188 kB / 1.087 GB, free: 3.602 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0003425/0.9543, allocations: 245.7 kB / 1.087 GB, free: 3.418 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005757/0.9549, allocations: 93.36 kB / 1.087 GB, free: 3.348 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001547/0.9565, allocations: 0.819 MB / 1.088 GB, free: 2.555 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006384/0.9571, allocations: 0.9277 MB / 1.089 GB, free: 1.617 MB / 0.698 GB Notification: Performance of SimCode: time 2.51e-07/0.9571, allocations: 4 kB / 1.089 GB, free: 1.613 MB / 0.698 GB Notification: Performance of Templates: time 0.01334/0.9705, allocations: 7.679 MB / 1.096 GB, free: 9.98 MB / 0.7136 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads.makefile (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads.sim & ./Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads.pipe 2>&1)