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.DynamicLoads.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.DynamicLoads,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads") translateModel(Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads") [: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.156/2.156, allocations: 284.9 MB / 292.2 MB, free: 10.79 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.001525/0.001525, allocations: 193.2 kB / 360.4 MB, free: 7.531 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.594/1.594, 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.00123/0.001229, allocations: 92.38 kB / 0.7318 GB, free: 45.1 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.095e-05/1.116e-05, allocations: 3.938 kB / 0.8503 GB, free: 3.965 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5426/0.5427, allocations: 115.2 MB / 0.9628 GB, free: 78.45 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2466/0.7894, allocations: 167.3 MB / 1.126 GB, free: 5.484 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003542/0.7898, allocations: 92.88 kB / 1.126 GB, free: 5.395 MB / 0.7292 GB Notification: Performance of FrontEnd: time 0.07632/0.8661, allocations: 18.8 MB / 1.145 GB, free: 2.543 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 2.54e-05/0.8662, allocations: 11.94 kB / 1.145 GB, free: 2.531 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: 68 * Number of variables: 68 Notification: Performance of Generate backend data structure: time 0.001318/0.8675, allocations: 0.5488 MB / 1.145 GB, free: 1.938 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.128e-05/0.8676, allocations: 8.031 kB / 1.145 GB, free: 1.93 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001471/0.8691, allocations: 104.3 kB / 1.145 GB, free: 1.828 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000705/0.8698, allocations: 287.7 kB / 1.146 GB, free: 1.508 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.109e-05/0.8698, allocations: 4 kB / 1.146 GB, free: 1.504 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.887e-05/0.8699, allocations: 21.62 kB / 1.146 GB, free: 1.484 MB / 0.7448 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007504/0.8707, allocations: 265 kB / 1.146 GB, free: 1.227 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009027/0.8716, allocations: 392.7 kB / 1.146 GB, free: 0.8047 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.155e-05/0.8716, allocations: 4 kB / 1.146 GB, free: 0.8008 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.826e-05/0.8717, allocations: 4 kB / 1.146 GB, free: 0.7969 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7e-05/0.8718, allocations: 33.59 kB / 1.146 GB, free: 0.7656 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003688/0.8755, allocations: 2.159 MB / 1.148 GB, free: 14.42 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005617/0.8761, allocations: 246.7 kB / 1.149 GB, free: 14.17 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003555/0.8764, allocations: 157.2 kB / 1.149 GB, free: 14.01 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 3.39e-05/0.8765, allocations: 8.172 kB / 1.149 GB, free: 14 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.329e-05/0.8765, allocations: 30.75 kB / 1.149 GB, free: 13.96 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=22): time 2.856e-06/0.8765, allocations: 0 / 1.149 GB, free: 13.96 MB / 0.7605 GB Notification: Performance of matching and sorting (n=23): time 0.001992/0.8785, allocations: 0.8029 MB / 1.15 GB, free: 13.12 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.819e-05/0.8786, allocations: 55.41 kB / 1.15 GB, free: 13.05 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003059/0.8789, allocations: 198 kB / 1.15 GB, free: 12.85 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 3.241e-05/0.879, allocations: 25.7 kB / 1.15 GB, free: 12.82 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.000122/0.8791, allocations: 180.8 kB / 1.15 GB, free: 12.64 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 8.909e-05/0.8792, allocations: 82.75 kB / 1.15 GB, free: 12.55 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.615e-05/0.8792, allocations: 0 / 1.15 GB, free: 12.55 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0001284/0.8794, allocations: 338.8 kB / 1.15 GB, free: 12.21 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003857/0.8798, allocations: 140 kB / 1.151 GB, free: 12.08 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004466/0.8802, allocations: 225.3 kB / 1.151 GB, free: 11.82 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006141/0.8808, allocations: 194.6 kB / 1.151 GB, free: 11.64 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.404e-06/0.8809, allocations: 0 / 1.151 GB, free: 11.64 MB / 0.7605 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001914/0.8828, allocations: 0.5524 MB / 1.151 GB, free: 11.07 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 1.693e-05/0.8828, allocations: 7.938 kB / 1.151 GB, free: 11.07 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.022e-05/0.8828, allocations: 3.531 kB / 1.151 GB, free: 11.07 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001107/0.884, allocations: 184.9 kB / 1.152 GB, free: 10.88 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000546/0.8845, allocations: 55.91 kB / 1.152 GB, free: 10.83 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004206/0.8887, allocations: 2.152 MB / 1.154 GB, free: 8.566 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005516/0.8893, allocations: 15.89 kB / 1.154 GB, free: 8.551 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.476e-05/0.8894, allocations: 8 kB / 1.154 GB, free: 8.543 MB / 0.7605 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (32): * Single equations (assignments): 31 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 10} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001448/0.8896, allocations: 123.8 kB / 1.154 GB, free: 8.418 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.988e-05/0.8896, allocations: 23.72 kB / 1.154 GB, free: 8.395 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008712/0.8905, allocations: 345.5 kB / 1.154 GB, free: 8.059 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.392e-06/0.8906, allocations: 4 kB / 1.154 GB, free: 8.055 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.575e-06/0.8906, allocations: 0 / 1.154 GB, free: 8.055 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.93e-06/0.8906, allocations: 1.031 kB / 1.154 GB, free: 8.055 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001682/0.8923, allocations: 0.7542 MB / 1.155 GB, free: 7.25 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.987e-06/0.8923, allocations: 0 / 1.155 GB, free: 7.25 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007782/0.8931, allocations: 67.95 kB / 1.155 GB, free: 7.184 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.185e-06/0.8931, allocations: 0 / 1.155 GB, free: 7.184 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.932e-05/0.8932, allocations: 11.98 kB / 1.155 GB, free: 7.172 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.032e-06/0.8932, allocations: 3.938 kB / 1.155 GB, free: 7.168 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.276e-06/0.8932, allocations: 7.906 kB / 1.155 GB, free: 7.16 MB / 0.7605 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001237/0.8944, allocations: 0.6198 MB / 1.156 GB, free: 6.508 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002153/0.8947, allocations: 128.8 kB / 1.156 GB, free: 6.363 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.306e-05/0.8947, allocations: 4 kB / 1.156 GB, free: 6.359 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003511/0.8951, allocations: 8.828 kB / 1.156 GB, free: 6.352 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.925e-05/0.8952, allocations: 15.83 kB / 1.156 GB, free: 6.336 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.902e-05/0.8952, allocations: 8 kB / 1.156 GB, free: 6.328 MB / 0.7605 GB Notification: Performance of sort global known variables: time 0.0002204/0.8955, allocations: 160.1 kB / 1.156 GB, free: 6.172 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.000639/0.8961, allocations: 87.98 kB / 1.156 GB, free: 6.086 MB / 0.7605 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 4 (dynRC.q[1],dynRC.q[2],dynRL.psi[1],dynRL.psi[2]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 24 * 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.0002329/0.8964, allocations: 116.9 kB / 1.156 GB, free: 5.965 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.001322/0.8977, allocations: 490.2 kB / 1.157 GB, free: 5.477 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 3.576e-06/0.8977, allocations: 3.938 kB / 1.157 GB, free: 5.473 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.0003441/0.8981, allocations: 147.8 kB / 1.157 GB, free: 5.328 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005304/0.8986, allocations: 40.39 kB / 1.157 GB, free: 5.293 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002246/0.9009, allocations: 0.6985 MB / 1.158 GB, free: 4.574 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000609/0.9015, allocations: 0.8273 MB / 1.158 GB, free: 3.723 MB / 0.7605 GB Notification: Performance of SimCode: time 9.22e-07/0.9015, allocations: 0 / 1.158 GB, free: 3.723 MB / 0.7605 GB Notification: Performance of Templates: time 0.01228/0.9138, allocations: 3.98 MB / 1.162 GB, free: 15.83 MB / 0.7761 GB make -j1 -f Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.makefile (rm -f Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe ; mkfifo Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe >> ../files/Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.sim & ./Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe 2>&1)