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.VariableImpedance.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.VariableImpedance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance") translateModel(Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance") [: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.234/2.234, allocations: 284.9 MB / 292.2 MB, free: 9.812 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.002215/0.002214, allocations: 186.8 kB / 360.4 MB, free: 0.8867 MB / 282.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.637/1.637, allocations: 205.1 MB / 0.6188 GB, free: 3.23 MB / 442.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001255/0.001255, allocations: 80.77 kB / 0.7318 GB, free: 1.664 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 1.201e-05/1.209e-05, allocations: 2.469 kB / 0.8503 GB, free: 150.2 MB / 0.6355 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1905/0.1905, allocations: 115.3 MB / 0.9628 GB, free: 56.96 MB / 0.6355 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6007/0.7913, allocations: 153.3 MB / 1.112 GB, free: 32.94 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003058/0.7917, allocations: 98.47 kB / 1.113 GB, free: 32.94 MB / 0.7136 GB Notification: Performance of FrontEnd: time 0.07101/0.8627, allocations: 19.98 MB / 1.132 GB, free: 31.24 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 3.397e-05/0.8628, allocations: 11.62 kB / 1.132 GB, free: 31.24 MB / 0.7136 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 85 * Number of variables: 85 Notification: Performance of Generate backend data structure: time 0.001231/0.864, allocations: 0.6475 MB / 1.133 GB, free: 30.76 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.211e-05/0.8641, allocations: 7.75 kB / 1.133 GB, free: 30.76 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001388/0.8655, allocations: 133.9 kB / 1.133 GB, free: 30.73 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007758/0.8663, allocations: 388.5 kB / 1.133 GB, free: 30.48 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.03e-05/0.8663, allocations: 7.719 kB / 1.133 GB, free: 30.48 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.778e-05/0.8664, allocations: 19.41 kB / 1.133 GB, free: 30.48 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007343/0.8671, allocations: 289.9 kB / 1.134 GB, free: 30.47 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008706/0.868, allocations: 0.5433 MB / 1.134 GB, free: 30.17 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.435e-05/0.868, allocations: 3.938 kB / 1.134 GB, free: 30.17 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.404e-05/0.8681, allocations: 3.969 kB / 1.134 GB, free: 30.17 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.74e-05/0.8682, allocations: 42.98 kB / 1.134 GB, free: 30.16 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003515/0.8717, allocations: 3.291 MB / 1.137 GB, free: 43.51 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007402/0.8725, allocations: 289.2 kB / 1.138 GB, free: 43.48 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003246/0.8728, allocations: 166.3 kB / 1.138 GB, free: 43.47 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 2.86e-05/0.8729, allocations: 3.844 kB / 1.138 GB, free: 43.47 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.878e-05/0.8729, allocations: 38.44 kB / 1.138 GB, free: 43.43 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=26): time 3.046e-06/0.8729, allocations: 3.938 kB / 1.138 GB, free: 43.42 MB / 0.7292 GB Notification: Performance of matching and sorting (n=27): time 0.001637/0.8745, allocations: 0.5839 MB / 1.138 GB, free: 43.28 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.53e-05/0.8746, allocations: 58.77 kB / 1.138 GB, free: 43.21 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003302/0.8749, allocations: 252.1 kB / 1.139 GB, free: 43.11 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 3.448e-05/0.875, allocations: 25.7 kB / 1.139 GB, free: 43.07 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001059/0.8751, allocations: 211.4 kB / 1.139 GB, free: 42.92 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 7.287e-05/0.8752, allocations: 98.92 kB / 1.139 GB, free: 42.86 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.287e-05/0.8752, allocations: 0 / 1.139 GB, free: 42.86 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001603/0.8754, allocations: 342.5 kB / 1.139 GB, free: 42.54 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002842/0.8757, allocations: 123.7 kB / 1.139 GB, free: 42.54 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000336/0.876, allocations: 255.3 kB / 1.14 GB, free: 42.39 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003538/0.8764, allocations: 167.3 kB / 1.14 GB, free: 42.38 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.8764, allocations: 0 / 1.14 GB, free: 42.38 MB / 0.7292 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001154/0.8776, allocations: 490.6 kB / 1.14 GB, free: 42.27 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.65e-05/0.8776, allocations: 12.53 kB / 1.14 GB, free: 42.27 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.034e-05/0.8776, allocations: 8.438 kB / 1.14 GB, free: 42.27 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004613/0.8781, allocations: 85.86 kB / 1.14 GB, free: 42.24 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006224/0.8787, allocations: 83.39 kB / 1.14 GB, free: 42.24 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.209e-05/0.8788, allocations: 11.47 kB / 1.141 GB, free: 42.23 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004438/0.8792, allocations: 21.42 kB / 1.141 GB, free: 42.23 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.813e-05/0.8793, allocations: 18.97 kB / 1.141 GB, free: 42.23 MB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (42): * Single equations (assignments): 39 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 3 {(2,100.0%),(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001412/0.8794, allocations: 113.1 kB / 1.141 GB, free: 42.12 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.993e-05/0.8795, allocations: 30.84 kB / 1.141 GB, free: 42.1 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001114/0.8806, allocations: 430.4 kB / 1.141 GB, free: 42.02 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.181e-06/0.8807, allocations: 0 / 1.141 GB, free: 42.02 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.357e-06/0.8807, allocations: 3.938 kB / 1.141 GB, free: 42.02 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.102e-06/0.8807, allocations: 1.453 kB / 1.141 GB, free: 42.02 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001857/0.8826, allocations: 0.878 MB / 1.142 GB, free: 41.69 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.779e-06/0.8826, allocations: 0 / 1.142 GB, free: 41.69 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004594/0.8831, allocations: 54.69 kB / 1.142 GB, free: 41.68 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004191/0.8835, allocations: 81.69 kB / 1.142 GB, free: 41.66 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.739e-05/0.8835, allocations: 3.875 kB / 1.142 GB, free: 41.66 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.017e-06/0.8835, allocations: 0 / 1.142 GB, free: 41.66 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.106e-06/0.8836, allocations: 0 / 1.142 GB, free: 41.66 MB / 0.7292 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001016/0.8846, allocations: 0.5541 MB / 1.143 GB, free: 41.4 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002111/0.8848, allocations: 131.6 kB / 1.143 GB, free: 41.29 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.905e-05/0.8849, allocations: 11.72 kB / 1.143 GB, free: 41.28 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000399/0.8853, allocations: 21.75 kB / 1.143 GB, free: 41.27 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.35e-05/0.8854, allocations: 21.91 kB / 1.143 GB, free: 41.27 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.553e-05/0.8854, allocations: 7.031 kB / 1.143 GB, free: 41.27 MB / 0.7292 GB Notification: Performance of sort global known variables: time 0.0002463/0.8857, allocations: 196.2 kB / 1.143 GB, free: 41.19 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0005927/0.8863, allocations: 81.91 kB / 1.143 GB, free: 41.18 MB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (25): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 3 {(2,100.0%),(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001619/0.8865, allocations: 106.3 kB / 1.143 GB, free: 41.09 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0009556/0.8874, allocations: 0.5845 MB / 1.144 GB, free: 40.77 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 3.006e-06/0.8875, allocations: 4.25 kB / 1.144 GB, free: 40.77 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.000506/0.888, allocations: 419.7 kB / 1.144 GB, free: 40.45 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009341/0.8889, allocations: 95 kB / 1.144 GB, free: 40.44 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001342/0.8903, allocations: 0.5117 MB / 1.145 GB, free: 40.25 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005797/0.8909, allocations: 0.8709 MB / 1.146 GB, free: 39.52 MB / 0.7292 GB Notification: Performance of SimCode: time 1.102e-06/0.8909, allocations: 0 / 1.146 GB, free: 39.52 MB / 0.7292 GB Notification: Performance of Templates: time 0.01285/0.9038, allocations: 4.537 MB / 1.15 GB, free: 39.21 MB / 0.7292 GB make -j1 -f Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.makefile (rm -f Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe ; mkfifo Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe >> ../files/Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.sim & ./Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe 2>&1)