Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.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.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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_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.1.4-maint.8.1.x/package.mo): time 1.344/1.344, allocations: 289.8 MB / 297.1 MB, free: 6.645 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.0009331/0.0009331, allocations: 173.3 kB / 366.3 MB, free: 1.949 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.043/1.043, allocations: 205.1 MB / 0.6256 GB, free: 5.824 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.0007577/0.0007576, allocations: 88.94 kB / 0.7396 GB, free: 39.64 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 7.764e-06/7.805e-06, allocations: 4 kB / 0.859 GB, free: 13.32 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3849/0.3849, allocations: 116.3 MB / 0.9726 GB, free: 68.28 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1421/0.5271, allocations: 154.2 MB / 1.123 GB, free: 10.23 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002341/0.5274, allocations: 92.41 kB / 1.123 GB, free: 10.14 MB / 0.7292 GB Notification: Performance of FrontEnd: time 0.02821/0.5556, allocations: 12.95 MB / 1.136 GB, free: 13.08 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 1.035e-05/0.5556, allocations: 4 kB / 1.136 GB, free: 13.08 MB / 0.7448 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.0005456/0.5562, allocations: 474.9 kB / 1.136 GB, free: 12.57 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 2.744e-05/0.5562, allocations: 12.03 kB / 1.136 GB, free: 12.56 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005762/0.5568, allocations: 75.66 kB / 1.136 GB, free: 12.48 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002488/0.5571, allocations: 242.6 kB / 1.137 GB, free: 12.21 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.927e-06/0.5571, allocations: 8 kB / 1.137 GB, free: 12.2 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.631e-05/0.5571, allocations: 8 kB / 1.137 GB, free: 12.19 MB / 0.7448 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000285/0.5574, allocations: 187.9 kB / 1.137 GB, free: 12.01 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003304/0.5577, allocations: 271.3 kB / 1.137 GB, free: 11.71 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.668e-06/0.5578, allocations: 3.938 kB / 1.137 GB, free: 11.71 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.13e-05/0.5578, allocations: 7.906 kB / 1.137 GB, free: 11.7 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.752e-05/0.5578, allocations: 19.98 kB / 1.137 GB, free: 11.68 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001372/0.5592, allocations: 1.455 MB / 1.139 GB, free: 10.09 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003017/0.5595, allocations: 233.2 kB / 1.139 GB, free: 9.848 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001569/0.5597, allocations: 121.6 kB / 1.139 GB, free: 9.723 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.881e-05/0.5597, allocations: 3.938 kB / 1.139 GB, free: 9.719 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.901e-05/0.5597, allocations: 34.56 kB / 1.139 GB, free: 9.676 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=15): time 1.222e-06/0.5597, allocations: 3.938 kB / 1.139 GB, free: 9.672 MB / 0.7448 GB Notification: Performance of matching and sorting (n=15): time 0.0003881/0.5601, allocations: 232.5 kB / 1.139 GB, free: 9.441 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.814e-05/0.5602, allocations: 81.14 kB / 1.139 GB, free: 9.344 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001167/0.5603, allocations: 148.1 kB / 1.139 GB, free: 9.195 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.005e-05/0.5603, allocations: 29.64 kB / 1.139 GB, free: 9.16 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 6.152e-05/0.5604, allocations: 128 kB / 1.14 GB, free: 9.031 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 3.703e-05/0.5604, allocations: 59.19 kB / 1.14 GB, free: 8.973 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.126e-05/0.5604, allocations: 0 / 1.14 GB, free: 8.973 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 9.064e-05/0.5605, allocations: 322.8 kB / 1.14 GB, free: 8.648 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001221/0.5607, allocations: 87.97 kB / 1.14 GB, free: 8.562 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001426/0.5608, allocations: 148.7 kB / 1.14 GB, free: 8.391 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001522/0.561, allocations: 115.8 kB / 1.14 GB, free: 8.277 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.561, allocations: 3.938 kB / 1.14 GB, free: 8.273 MB / 0.7448 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0003625/0.5613, allocations: 276.2 kB / 1.141 GB, free: 8 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 0.000213/0.5616, allocations: 0.7032 MB / 1.141 GB, free: 7.242 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.57e-06/0.5616, allocations: 4 kB / 1.141 GB, free: 7.238 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.055e-05/0.5616, allocations: 4 kB / 1.141 GB, free: 7.234 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002885/0.5619, allocations: 55.89 kB / 1.141 GB, free: 7.18 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.121e-06/0.5619, allocations: 5.562 kB / 1.141 GB, free: 7.176 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001994/0.5621, allocations: 27.83 kB / 1.141 GB, free: 7.148 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.158e-05/0.5621, allocations: 15.98 kB / 1.141 GB, free: 7.133 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 5.4e-06/0.5621, allocations: 4 kB / 1.141 GB, free: 7.129 MB / 0.7448 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002594/0.5624, allocations: 195.7 kB / 1.142 GB, free: 6.938 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.814e-06/0.5624, allocations: 224 / 1.142 GB, free: 6.938 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.717e-06/0.5624, allocations: 8 kB / 1.142 GB, free: 6.93 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000227/0.5627, allocations: 51.91 kB / 1.142 GB, free: 6.879 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.224e-06/0.5627, allocations: 0 / 1.142 GB, free: 6.879 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000149/0.5628, allocations: 23.83 kB / 1.142 GB, free: 6.855 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.309e-05/0.5628, allocations: 8 kB / 1.142 GB, free: 6.848 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.687e-05/0.5629, allocations: 120.8 kB / 1.142 GB, free: 6.723 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.056e-05/0.563, allocations: 15.81 kB / 1.142 GB, free: 6.707 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003579/0.5634, allocations: 246.9 kB / 1.142 GB, free: 6.457 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.234e-06/0.5634, allocations: 0 / 1.142 GB, free: 6.457 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/0.5634, allocations: 4 kB / 1.142 GB, free: 6.453 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.5634, allocations: 0 / 1.142 GB, free: 6.453 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007453/0.5641, allocations: 0.6113 MB / 1.143 GB, free: 5.785 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.135e-06/0.5641, allocations: 4 kB / 1.143 GB, free: 5.781 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002393/0.5644, allocations: 43.91 kB / 1.143 GB, free: 5.738 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.725e-06/0.5644, allocations: 0 / 1.143 GB, free: 5.738 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.255e-05/0.5644, allocations: 4 kB / 1.143 GB, free: 5.734 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.764e-06/0.5644, allocations: 4.125 kB / 1.143 GB, free: 5.73 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.998e-06/0.5644, allocations: 4 kB / 1.143 GB, free: 5.727 MB / 0.7448 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003763/0.5648, allocations: 491.4 kB / 1.143 GB, free: 5.188 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 9.909e-05/0.5649, allocations: 112.9 kB / 1.143 GB, free: 5.059 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.33e-05/0.565, allocations: 4 kB / 1.143 GB, free: 5.055 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002157/0.5652, allocations: 19.98 kB / 1.143 GB, free: 5.035 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.172e-05/0.5652, allocations: 7.984 kB / 1.143 GB, free: 5.027 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.312e-05/0.5653, allocations: 4 kB / 1.143 GB, free: 5.023 MB / 0.7448 GB Notification: Performance of sort global known variables: time 7.509e-05/0.5653, allocations: 123.5 kB / 1.143 GB, free: 4.902 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0004227/0.5658, allocations: 91.67 kB / 1.143 GB, free: 4.812 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.000104/0.5659, allocations: 111.1 kB / 1.144 GB, free: 4.695 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0004389/0.5663, allocations: 335.3 kB / 1.144 GB, free: 4.367 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.502e-06/0.5663, allocations: 0 / 1.144 GB, free: 4.367 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.000138/0.5665, allocations: 103.8 kB / 1.144 GB, free: 4.266 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000277/0.5668, allocations: 33.84 kB / 1.144 GB, free: 4.23 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005761/0.5673, allocations: 329.4 kB / 1.144 GB, free: 3.867 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003659/0.5677, allocations: 0.7744 MB / 1.145 GB, free: 3.07 MB / 0.7448 GB Notification: Performance of SimCode: time 2.41e-07/0.5677, allocations: 0 / 1.145 GB, free: 3.07 MB / 0.7448 GB Notification: Performance of Templates: time 0.005051/0.5728, allocations: 3.038 MB / 1.148 GB, free: 68 kB / 0.7448 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.makefile (rm -f Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.sim & ./Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.pipe 2>&1)