Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors") translateModel(Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors") [: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.0.1-maint.8.0.x/package.mo): time 1.294/1.294, allocations: 285.5 MB / 292.8 MB, free: 10.46 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.0009383/0.0009384, allocations: 167.3 kB / 361.1 MB, free: 7.129 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9864/0.9864, allocations: 205.1 MB / 0.6195 GB, free: 10.34 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.0007535/0.0007535, allocations: 90.33 kB / 0.7326 GB, free: 44.29 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 6.813e-06/6.822e-06, allocations: 4 kB / 0.8511 GB, free: 3 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4022/0.4022, allocations: 115.3 MB / 0.9637 GB, free: 78.31 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1409/0.5432, allocations: 153.2 MB / 1.113 GB, free: 2.828 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002222/0.5434, allocations: 92.5 kB / 1.113 GB, free: 2.738 MB / 0.7136 GB Notification: Performance of FrontEnd: time 0.02963/0.5731, allocations: 12.95 MB / 1.126 GB, free: 5.781 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 1.193e-05/0.5731, allocations: 4 kB / 1.126 GB, free: 5.777 MB / 0.7292 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 41 * Number of variables: 41 Notification: Performance of Generate backend data structure: time 0.0005631/0.5737, allocations: 471 kB / 1.127 GB, free: 5.273 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.111e-05/0.5737, allocations: 16.47 kB / 1.127 GB, free: 5.258 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006104/0.5743, allocations: 75.7 kB / 1.127 GB, free: 5.184 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002731/0.5746, allocations: 247.2 kB / 1.127 GB, free: 4.902 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.189e-05/0.5746, allocations: 4 kB / 1.127 GB, free: 4.898 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.027e-05/0.5747, allocations: 8 kB / 1.127 GB, free: 4.891 MB / 0.7292 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002983/0.575, allocations: 179.9 kB / 1.127 GB, free: 4.715 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000346/0.5753, allocations: 279 kB / 1.127 GB, free: 4.414 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.418e-06/0.5753, allocations: 0 / 1.127 GB, free: 4.414 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.327e-05/0.5754, allocations: 7.891 kB / 1.127 GB, free: 4.406 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.435e-05/0.5754, allocations: 28.72 kB / 1.127 GB, free: 4.379 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001477/0.5769, allocations: 1.46 MB / 1.129 GB, free: 2.785 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003221/0.5772, allocations: 233.1 kB / 1.129 GB, free: 2.539 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000147/0.5774, allocations: 109.7 kB / 1.129 GB, free: 2.426 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.847e-05/0.5774, allocations: 8 kB / 1.129 GB, free: 2.418 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.908e-05/0.5774, allocations: 38.5 kB / 1.129 GB, free: 2.371 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=15): time 1.272e-06/0.5775, allocations: 0 / 1.129 GB, free: 2.371 MB / 0.7292 GB Notification: Performance of matching and sorting (n=15): time 0.0004024/0.5779, allocations: 226.5 kB / 1.129 GB, free: 2.145 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.063e-05/0.5779, allocations: 77.11 kB / 1.129 GB, free: 2.051 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001281/0.578, allocations: 150.1 kB / 1.13 GB, free: 1.895 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 2.113e-05/0.5781, allocations: 25.7 kB / 1.13 GB, free: 1.863 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 6.468e-05/0.5781, allocations: 136 kB / 1.13 GB, free: 1.727 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 4.405e-05/0.5782, allocations: 51.2 kB / 1.13 GB, free: 1.676 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.535e-05/0.5782, allocations: 0 / 1.13 GB, free: 1.676 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 9.998e-05/0.5783, allocations: 326.8 kB / 1.13 GB, free: 1.348 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001222/0.5784, allocations: 87.95 kB / 1.13 GB, free: 1.262 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001598/0.5786, allocations: 155.5 kB / 1.13 GB, free: 1.086 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000156/0.5788, allocations: 111.8 kB / 1.13 GB, free: 0.9766 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.5788, allocations: 0 / 1.13 GB, free: 0.9766 MB / 0.7292 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0003701/0.5791, allocations: 271 kB / 1.131 GB, free: 0.707 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002243/0.5794, allocations: 0.707 MB / 1.131 GB, free: 15.95 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.503e-06/0.5794, allocations: 4 kB / 1.131 GB, free: 15.94 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.16e-05/0.5794, allocations: 8 kB / 1.131 GB, free: 15.93 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000309/0.5797, allocations: 55.89 kB / 1.131 GB, free: 15.88 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.368e-06/0.5797, allocations: 6.109 kB / 1.131 GB, free: 15.88 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002023/0.5799, allocations: 23.83 kB / 1.131 GB, free: 15.85 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.865e-05/0.58, allocations: 8 kB / 1.131 GB, free: 15.84 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 5.711e-06/0.58, allocations: 8 kB / 1.131 GB, free: 15.84 MB / 0.7448 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002814/0.5803, allocations: 200.1 kB / 1.132 GB, free: 15.64 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.773e-06/0.5803, allocations: 0 / 1.132 GB, free: 15.64 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.108e-06/0.5803, allocations: 4 kB / 1.132 GB, free: 15.64 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002442/0.5805, allocations: 52.19 kB / 1.132 GB, free: 15.59 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.989e-06/0.5806, allocations: 11.92 kB / 1.132 GB, free: 15.58 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001554/0.5807, allocations: 23.83 kB / 1.132 GB, free: 15.55 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.326e-05/0.5807, allocations: 8 kB / 1.132 GB, free: 15.55 MB / 0.7448 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 (23): * Single equations (assignments): 23 * 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 7.612e-05/0.5808, allocations: 108.9 kB / 1.132 GB, free: 15.43 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.811e-05/0.5809, allocations: 15.81 kB / 1.132 GB, free: 15.42 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003539/0.5812, allocations: 248.8 kB / 1.132 GB, free: 15.17 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.354e-06/0.5813, allocations: 0 / 1.132 GB, free: 15.17 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.5813, allocations: 4 kB / 1.132 GB, free: 15.17 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.662e-06/0.5813, allocations: 3.984 kB / 1.132 GB, free: 15.16 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007482/0.582, allocations: 0.6092 MB / 1.133 GB, free: 14.5 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.946e-06/0.582, allocations: 4 kB / 1.133 GB, free: 14.5 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002524/0.5823, allocations: 52.02 kB / 1.133 GB, free: 14.45 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.966e-06/0.5823, allocations: 0 / 1.133 GB, free: 14.45 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.57e-05/0.5823, allocations: 4 kB / 1.133 GB, free: 14.44 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.693e-06/0.5823, allocations: 0 / 1.133 GB, free: 14.44 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.036e-06/0.5824, allocations: 4 kB / 1.133 GB, free: 14.44 MB / 0.7448 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003903/0.5827, allocations: 494.2 kB / 1.133 GB, free: 13.89 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 8.711e-05/0.5828, allocations: 104.9 kB / 1.133 GB, free: 13.77 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.413e-05/0.5829, allocations: 4 kB / 1.133 GB, free: 13.77 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002255/0.5831, allocations: 19.97 kB / 1.133 GB, free: 13.75 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.052e-05/0.5832, allocations: 11.98 kB / 1.133 GB, free: 13.74 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.422e-05/0.5832, allocations: 5.75 kB / 1.133 GB, free: 13.73 MB / 0.7448 GB Notification: Performance of sort global known variables: time 7.742e-05/0.5833, allocations: 128.8 kB / 1.134 GB, free: 13.61 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0004453/0.5837, allocations: 91.88 kB / 1.134 GB, free: 13.52 MB / 0.7448 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 16 * 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.0001075/0.5838, allocations: 111.2 kB / 1.134 GB, free: 13.4 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.000441/0.5843, allocations: 335.6 kB / 1.134 GB, free: 13.08 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.493e-06/0.5843, allocations: 0 / 1.134 GB, free: 13.08 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0001386/0.5844, allocations: 100.8 kB / 1.134 GB, free: 12.98 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002956/0.5847, allocations: 33.41 kB / 1.134 GB, free: 12.95 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005808/0.5853, allocations: 329.2 kB / 1.134 GB, free: 12.58 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003466/0.5857, allocations: 0.7783 MB / 1.135 GB, free: 11.78 MB / 0.7448 GB Notification: Performance of SimCode: time 2.51e-07/0.5857, allocations: 0 / 1.135 GB, free: 11.78 MB / 0.7448 GB Notification: Performance of Templates: time 0.005217/0.5909, allocations: 3.033 MB / 1.138 GB, free: 8.812 MB / 0.7448 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.makefile (rm -f Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.sim & ./Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.pipe 2>&1)