Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_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_8.0.0_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(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.013/2.013, allocations: 284.9 MB / 292.2 MB, free: 10.8 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001495/0.001495, allocations: 177.3 kB / 360.4 MB, free: 7.547 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.614/1.614, allocations: 205.1 MB / 0.6188 GB, free: 13.17 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001224/0.001223, allocations: 84.09 kB / 0.7318 GB, free: 45.1 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 8.285e-06/8.306e-06, allocations: 0 / 0.8503 GB, free: 3.965 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5472/0.5472, allocations: 115.2 MB / 0.9628 GB, free: 78.46 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2447/0.792, allocations: 153.1 MB / 1.112 GB, free: 3.703 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003357/0.7923, allocations: 90.33 kB / 1.112 GB, free: 3.617 MB / 0.7136 GB Notification: Performance of FrontEnd: time 0.05095/0.8433, allocations: 12.96 MB / 1.125 GB, free: 6.648 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 1.68e-05/0.8434, allocations: 4 kB / 1.125 GB, free: 6.645 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.0009352/0.8443, allocations: 471 kB / 1.125 GB, free: 6.141 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.261e-05/0.8444, allocations: 8.531 kB / 1.125 GB, free: 6.133 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009867/0.8454, allocations: 85.33 kB / 1.126 GB, free: 6.051 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004413/0.8458, allocations: 249.3 kB / 1.126 GB, free: 5.77 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.563e-05/0.8459, allocations: 4 kB / 1.126 GB, free: 5.766 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.687e-05/0.8459, allocations: 8 kB / 1.126 GB, free: 5.758 MB / 0.7292 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005385/0.8465, allocations: 179.9 kB / 1.126 GB, free: 5.582 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006177/0.8471, allocations: 276.3 kB / 1.126 GB, free: 5.285 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.41e-05/0.8471, allocations: 3.984 kB / 1.126 GB, free: 5.281 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.624e-05/0.8472, allocations: 7.906 kB / 1.126 GB, free: 5.273 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.932e-05/0.8472, allocations: 23.98 kB / 1.126 GB, free: 5.25 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002497/0.8497, allocations: 1.459 MB / 1.128 GB, free: 3.656 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005853/0.8503, allocations: 225.1 kB / 1.128 GB, free: 3.418 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002853/0.8506, allocations: 117.7 kB / 1.128 GB, free: 3.297 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 2.361e-05/0.8507, allocations: 4 kB / 1.128 GB, free: 3.293 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.771e-05/0.8507, allocations: 31.31 kB / 1.128 GB, free: 3.254 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=15): time 4.308e-06/0.8507, allocations: 7.922 kB / 1.128 GB, free: 3.246 MB / 0.7292 GB Notification: Performance of matching and sorting (n=15): time 0.0007126/0.8515, allocations: 225.3 kB / 1.128 GB, free: 3.02 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.452e-05/0.8515, allocations: 81.11 kB / 1.128 GB, free: 2.922 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002025/0.8517, allocations: 153.8 kB / 1.129 GB, free: 2.766 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 3.352e-05/0.8518, allocations: 29.73 kB / 1.129 GB, free: 2.73 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001004/0.8519, allocations: 132 kB / 1.129 GB, free: 2.598 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 6.925e-05/0.852, allocations: 51.2 kB / 1.129 GB, free: 2.547 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.876e-05/0.852, allocations: 0 / 1.129 GB, free: 2.547 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001529/0.8522, allocations: 326.8 kB / 1.129 GB, free: 2.219 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000238/0.8524, allocations: 87.95 kB / 1.129 GB, free: 2.133 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003105/0.8527, allocations: 152.5 kB / 1.129 GB, free: 1.957 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002972/0.8531, allocations: 115 kB / 1.129 GB, free: 1.848 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.248e-06/0.8531, allocations: 0 / 1.129 GB, free: 1.848 MB / 0.7292 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0007016/0.8538, allocations: 273.3 kB / 1.13 GB, free: 1.574 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003282/0.8541, allocations: 0.7031 MB / 1.13 GB, free: 0.8164 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.185e-06/0.8542, allocations: 4 kB / 1.13 GB, free: 0.8125 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.975e-05/0.8542, allocations: 4 kB / 1.13 GB, free: 0.8086 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006006/0.8548, allocations: 55.89 kB / 1.13 GB, free: 0.7539 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.609e-06/0.8548, allocations: 4 kB / 1.13 GB, free: 0.75 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003885/0.8552, allocations: 32.95 kB / 1.13 GB, free: 0.7188 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.352e-05/0.8553, allocations: 8 kB / 1.13 GB, free: 0.7109 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 9.357e-06/0.8553, allocations: 4 kB / 1.13 GB, free: 0.707 MB / 0.7292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005109/0.8558, allocations: 195.7 kB / 1.131 GB, free: 0.5156 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.386e-06/0.8558, allocations: 0 / 1.131 GB, free: 0.5156 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.618e-06/0.8559, allocations: 4 kB / 1.131 GB, free: 0.5117 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004482/0.8563, allocations: 56.17 kB / 1.131 GB, free: 468 kB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.756e-06/0.8563, allocations: 7.938 kB / 1.131 GB, free: 460 kB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002818/0.8566, allocations: 23.83 kB / 1.131 GB, free: 436 kB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.111e-05/0.8567, allocations: 5.312 kB / 1.131 GB, free: 432 kB / 0.7292 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 0.0001212/0.8568, allocations: 112.9 kB / 1.131 GB, free: 312 kB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.125e-05/0.8569, allocations: 17.38 kB / 1.131 GB, free: 296 kB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006782/0.8576, allocations: 249.3 kB / 1.131 GB, free: 44 kB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.023e-06/0.8576, allocations: 4 kB / 1.131 GB, free: 40 kB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.721e-06/0.8576, allocations: 0 / 1.131 GB, free: 40 kB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.545e-06/0.8576, allocations: 3.984 kB / 1.131 GB, free: 36 kB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001426/0.8591, allocations: 0.6075 MB / 1.132 GB, free: 15.37 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.386e-06/0.8591, allocations: 4.031 kB / 1.132 GB, free: 15.37 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004685/0.8596, allocations: 47.89 kB / 1.132 GB, free: 15.32 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.015e-06/0.8596, allocations: 4 kB / 1.132 GB, free: 15.32 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.06e-05/0.8596, allocations: 0 / 1.132 GB, free: 15.32 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.621e-06/0.8596, allocations: 4 kB / 1.132 GB, free: 15.31 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.416e-06/0.8596, allocations: 0 / 1.132 GB, free: 15.31 MB / 0.7448 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0007069/0.8604, allocations: 0.4886 MB / 1.132 GB, free: 14.77 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001606/0.8605, allocations: 112.9 kB / 1.132 GB, free: 14.64 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.77e-05/0.8606, allocations: 0 / 1.132 GB, free: 14.64 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000379/0.861, allocations: 19.97 kB / 1.132 GB, free: 14.62 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.019e-05/0.8611, allocations: 7.984 kB / 1.132 GB, free: 14.61 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.167e-05/0.8611, allocations: 8 kB / 1.132 GB, free: 14.61 MB / 0.7448 GB Notification: Performance of sort global known variables: time 0.0001484/0.8613, allocations: 128.8 kB / 1.132 GB, free: 14.48 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0007235/0.862, allocations: 87.94 kB / 1.133 GB, free: 14.39 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.0001741/0.8622, allocations: 115.1 kB / 1.133 GB, free: 14.27 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0008666/0.8631, allocations: 328.9 kB / 1.133 GB, free: 13.95 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/0.8631, allocations: 0 / 1.133 GB, free: 13.95 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0002826/0.8634, allocations: 108 kB / 1.133 GB, free: 13.85 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004992/0.8639, allocations: 30.73 kB / 1.133 GB, free: 13.82 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001059/0.8649, allocations: 330 kB / 1.133 GB, free: 13.45 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006371/0.8656, allocations: 0.7791 MB / 1.134 GB, free: 12.65 MB / 0.7448 GB Notification: Performance of SimCode: time 8.82e-07/0.8656, allocations: 0 / 1.134 GB, free: 12.65 MB / 0.7448 GB Notification: Performance of Templates: time 0.009265/0.8749, allocations: 3.033 MB / 1.137 GB, free: 9.684 MB / 0.7448 GB make -j1 -f Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.makefile (rm -f Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.pipe ; mkfifo Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.pipe >> ../files/Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.sim & ./Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.pipe 2>&1)