Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads.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.ParallelLoads,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads") translateModel(Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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 8.1.4-maint.8.1.x/package.mo): time 1.318/1.318, allocations: 289.8 MB / 297.1 MB, free: 6.711 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.0009466/0.0009466, allocations: 185.2 kB / 366.3 MB, free: 2.004 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.9957/0.9957, allocations: 205.1 MB / 0.6256 GB, free: 5.832 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.0007435/0.0007435, allocations: 105.5 kB / 0.7396 GB, free: 39.67 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 7.835e-06/7.865e-06, allocations: 4 kB / 0.859 GB, free: 13.37 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4017/0.4017, allocations: 116.3 MB / 0.9726 GB, free: 68.79 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1616/0.5633, allocations: 165.5 MB / 1.134 GB, free: 14.94 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002363/0.5636, allocations: 94.59 kB / 1.134 GB, free: 14.85 MB / 0.7448 GB Notification: Performance of FrontEnd: time 0.06294/0.6266, allocations: 27.69 MB / 1.161 GB, free: 2.941 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 2.937e-05/0.6266, allocations: 19.94 kB / 1.161 GB, free: 2.922 MB / 0.7605 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.001266/0.6279, allocations: 0.7051 MB / 1.162 GB, free: 2.168 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 3.348e-05/0.6279, allocations: 12.03 kB / 1.162 GB, free: 2.156 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001237/0.6292, allocations: 183.1 kB / 1.162 GB, free: 1.977 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005745/0.6298, allocations: 365.5 kB / 1.163 GB, free: 1.578 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.053e-05/0.6298, allocations: 12 kB / 1.163 GB, free: 1.566 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.785e-05/0.6299, allocations: 27.91 kB / 1.163 GB, free: 1.539 MB / 0.7605 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007699/0.6307, allocations: 477.8 kB / 1.163 GB, free: 1.074 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009631/0.6316, allocations: 0.7216 MB / 1.164 GB, free: 260 kB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.213e-05/0.6317, allocations: 7.922 kB / 1.164 GB, free: 252 kB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.253e-05/0.6317, allocations: 4 kB / 1.164 GB, free: 248 kB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.135e-05/0.6318, allocations: 56.62 kB / 1.164 GB, free: 192 kB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00374/0.6355, allocations: 4.509 MB / 1.168 GB, free: 11.34 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006394/0.6362, allocations: 433.1 kB / 1.169 GB, free: 10.89 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003207/0.6365, allocations: 253.6 kB / 1.169 GB, free: 10.64 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 3.116e-05/0.6366, allocations: 8.516 kB / 1.169 GB, free: 10.63 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.311e-05/0.6366, allocations: 38.56 kB / 1.169 GB, free: 10.59 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=33): time 2.184e-06/0.6366, allocations: 0 / 1.169 GB, free: 10.59 MB / 0.7761 GB Notification: Performance of matching and sorting (n=34): time 0.001063/0.6377, allocations: 0.6156 MB / 1.17 GB, free: 9.961 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.502e-05/0.6377, allocations: 81.11 kB / 1.17 GB, free: 9.863 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002652/0.638, allocations: 281.9 kB / 1.17 GB, free: 9.582 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 3.247e-05/0.638, allocations: 29.8 kB / 1.17 GB, free: 9.547 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001518/0.6382, allocations: 270.9 kB / 1.17 GB, free: 9.273 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 8.79e-05/0.6383, allocations: 118.3 kB / 1.17 GB, free: 9.156 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.574e-05/0.6383, allocations: 0 / 1.17 GB, free: 9.156 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001276/0.6384, allocations: 346.8 kB / 1.171 GB, free: 8.809 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002974/0.6387, allocations: 217.2 kB / 1.171 GB, free: 8.598 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000419/0.6392, allocations: 438.5 kB / 1.171 GB, free: 8.074 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003929/0.6396, allocations: 295.5 kB / 1.172 GB, free: 7.785 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.238e-06/0.6396, allocations: 4 kB / 1.172 GB, free: 7.781 MB / 0.7761 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.00096/0.6406, allocations: 0.6652 MB / 1.172 GB, free: 7.109 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 0.00102/0.6416, allocations: 2.777 MB / 1.175 GB, free: 4.109 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.399e-05/0.6416, allocations: 8 kB / 1.175 GB, free: 4.102 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.27e-05/0.6416, allocations: 12 kB / 1.175 GB, free: 4.09 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007027/0.6423, allocations: 163.7 kB / 1.175 GB, free: 3.93 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.697e-05/0.6424, allocations: 15.92 kB / 1.175 GB, free: 3.914 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004731/0.6428, allocations: 59.7 kB / 1.175 GB, free: 3.855 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.084e-05/0.6429, allocations: 24 kB / 1.175 GB, free: 3.832 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 7.063e-06/0.6429, allocations: 4 kB / 1.175 GB, free: 3.828 MB / 0.7761 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006904/0.6436, allocations: 495.3 kB / 1.176 GB, free: 3.344 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.374e-06/0.6436, allocations: 8 kB / 1.176 GB, free: 3.336 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.15e-05/0.6436, allocations: 8.875 kB / 1.176 GB, free: 3.328 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005609/0.6442, allocations: 151.7 kB / 1.176 GB, free: 3.18 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.327e-05/0.6442, allocations: 15.94 kB / 1.176 GB, free: 3.164 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003352/0.6446, allocations: 43.81 kB / 1.176 GB, free: 3.121 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.171e-05/0.6446, allocations: 31.98 kB / 1.176 GB, free: 3.09 MB / 0.7761 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.0001317/0.6448, allocations: 128.6 kB / 1.176 GB, free: 2.957 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.054e-05/0.6449, allocations: 35.53 kB / 1.176 GB, free: 2.922 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007657/0.6456, allocations: 0.5216 MB / 1.177 GB, free: 2.395 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.931e-06/0.6456, allocations: 4 kB / 1.177 GB, free: 2.391 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.58e-06/0.6457, allocations: 8 kB / 1.177 GB, free: 2.383 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.859e-06/0.6457, allocations: 0 / 1.177 GB, free: 2.383 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002097/0.6478, allocations: 1.484 MB / 1.178 GB, free: 0.8125 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.02e-06/0.6478, allocations: 4 kB / 1.178 GB, free: 0.8086 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005573/0.6484, allocations: 112.2 kB / 1.178 GB, free: 0.6992 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.805e-06/0.6484, allocations: 4 kB / 1.178 GB, free: 0.6953 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.064e-05/0.6484, allocations: 8 kB / 1.178 GB, free: 0.6875 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.395e-05/0.6484, allocations: 7.984 kB / 1.178 GB, free: 0.6797 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.692e-06/0.6484, allocations: 7.938 kB / 1.178 GB, free: 0.6719 MB / 0.7761 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000867/0.6493, allocations: 0.9102 MB / 1.179 GB, free: 15.61 MB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002013/0.6495, allocations: 172.4 kB / 1.179 GB, free: 15.42 MB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.268e-05/0.6496, allocations: 4 kB / 1.179 GB, free: 15.41 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004141/0.65, allocations: 35.95 kB / 1.179 GB, free: 15.38 MB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.006e-05/0.6501, allocations: 31.88 kB / 1.179 GB, free: 15.35 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.084e-05/0.6501, allocations: 16 kB / 1.179 GB, free: 15.33 MB / 0.7917 GB Notification: Performance of sort global known variables: time 0.0002147/0.6504, allocations: 216.6 kB / 1.179 GB, free: 15.12 MB / 0.7917 GB Notification: Performance of remove unused functions: time 0.0007714/0.6511, allocations: 176.1 kB / 1.18 GB, free: 14.95 MB / 0.7917 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.0001616/0.6513, allocations: 127 kB / 1.18 GB, free: 14.82 MB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 0.001068/0.6524, allocations: 0.7969 MB / 1.181 GB, free: 14.03 MB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 4.018e-06/0.6524, allocations: 5.438 kB / 1.181 GB, free: 14.02 MB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 0.0003443/0.6527, allocations: 240.6 kB / 1.181 GB, free: 13.79 MB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005703/0.6533, allocations: 100.2 kB / 1.181 GB, free: 13.69 MB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00145/0.6548, allocations: 0.8177 MB / 1.182 GB, free: 12.8 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006231/0.6554, allocations: 0.9292 MB / 1.183 GB, free: 11.84 MB / 0.7917 GB Notification: Performance of SimCode: time 2.4e-07/0.6554, allocations: 0 / 1.183 GB, free: 11.84 MB / 0.7917 GB Notification: Performance of Templates: time 0.01261/0.6681, allocations: 7.683 MB / 1.19 GB, free: 4.23 MB / 0.7917 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads.makefile (rm -f Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads.sim & ./Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads.pipe 2>&1)