Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.conf.json 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 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.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 7.0.1/package.mo): time 2.354/2.354, allocations: 253.1 MB / 260.4 MB, free: 7.578 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001687/0.001687, allocations: 177.3 kB / 319.6 MB, free: 3.336 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.051/2.051, allocations: 205.4 MB / 0.5704 GB, free: 15.15 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00126/0.001259, allocations: 102 kB / 0.6746 GB, free: 4.492 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.404e-05/1.466e-05, allocations: 4 kB / 0.7843 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2155/0.2155, allocations: 106.2 MB / 0.8881 GB, free: 12.22 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7148/0.9304, allocations: 148 MB / 1.033 GB, free: 7.723 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000439/0.9309, allocations: 89.06 kB / 1.033 GB, free: 7.672 MB / 0.6511 GB Notification: Performance of FrontEnd: time 0.102/1.033, allocations: 20 MB / 1.052 GB, free: 7.008 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 4.41e-05/1.033, allocations: 11.98 kB / 1.052 GB, free: 6.996 MB / 0.6667 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.001504/1.035, allocations: 0.6449 MB / 1.053 GB, free: 6.332 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 4.674e-05/1.035, allocations: 8.031 kB / 1.053 GB, free: 6.324 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001547/1.036, allocations: 138.1 kB / 1.053 GB, free: 6.191 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009699/1.037, allocations: 379.3 kB / 1.053 GB, free: 5.812 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.799e-05/1.037, allocations: 12 kB / 1.053 GB, free: 5.801 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.807e-05/1.037, allocations: 16 kB / 1.053 GB, free: 5.785 MB / 0.6667 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008476/1.038, allocations: 294.7 kB / 1.054 GB, free: 5.59 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001089/1.039, allocations: 0.5404 MB / 1.054 GB, free: 5.047 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.703e-05/1.039, allocations: 0 / 1.054 GB, free: 5.047 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.544e-05/1.039, allocations: 4 kB / 1.054 GB, free: 5.043 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.111e-05/1.039, allocations: 39.75 kB / 1.054 GB, free: 5.008 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004829/1.044, allocations: 3.308 MB / 1.057 GB, free: 1.719 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008676/1.045, allocations: 287 kB / 1.058 GB, free: 1.5 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003876/1.046, allocations: 160.5 kB / 1.058 GB, free: 1.391 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 3.01e-05/1.046, allocations: 4 kB / 1.058 GB, free: 1.387 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.675e-05/1.046, allocations: 33.88 kB / 1.058 GB, free: 1.348 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=26): time 2.855e-06/1.046, allocations: 0 / 1.058 GB, free: 1.348 MB / 0.6667 GB Notification: Performance of matching and sorting (n=27): time 0.001955/1.048, allocations: 0.596 MB / 1.058 GB, free: 0.8477 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.843e-05/1.048, allocations: 55.64 kB / 1.059 GB, free: 0.7812 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003968/1.048, allocations: 249.5 kB / 1.059 GB, free: 0.5664 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 3.377e-05/1.048, allocations: 29.64 kB / 1.059 GB, free: 0.5312 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001535/1.048, allocations: 207.5 kB / 1.059 GB, free: 352 kB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001061/1.049, allocations: 96.83 kB / 1.059 GB, free: 264 kB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.308e-05/1.049, allocations: 0 / 1.059 GB, free: 264 kB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001827/1.049, allocations: 340.8 kB / 1.059 GB, free: 15.93 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003333/1.049, allocations: 133.7 kB / 1.06 GB, free: 15.84 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005463/1.05, allocations: 248.9 kB / 1.06 GB, free: 15.59 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004316/1.05, allocations: 173.2 kB / 1.06 GB, free: 15.48 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.261e-06/1.05, allocations: 3.906 kB / 1.06 GB, free: 15.47 MB / 0.6823 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001472/1.052, allocations: 486.3 kB / 1.06 GB, free: 15.08 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.349e-05/1.052, allocations: 7.906 kB / 1.06 GB, free: 15.07 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.583e-05/1.052, allocations: 8 kB / 1.06 GB, free: 15.06 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005267/1.052, allocations: 91.23 kB / 1.061 GB, free: 14.98 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007193/1.053, allocations: 87.83 kB / 1.061 GB, free: 14.89 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.746e-05/1.053, allocations: 7.984 kB / 1.061 GB, free: 14.89 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005337/1.054, allocations: 27.91 kB / 1.061 GB, free: 14.86 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.776e-05/1.054, allocations: 15.31 kB / 1.061 GB, free: 14.85 MB / 0.6823 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.0001622/1.054, allocations: 116.4 kB / 1.061 GB, free: 14.73 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001085/1.054, allocations: 35.53 kB / 1.061 GB, free: 14.7 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001318/1.055, allocations: 412 kB / 1.061 GB, free: 14.38 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.536e-06/1.055, allocations: 7.938 kB / 1.061 GB, free: 14.37 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.896e-06/1.055, allocations: 0 / 1.061 GB, free: 14.37 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.426e-06/1.055, allocations: 3.984 kB / 1.061 GB, free: 14.37 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002233/1.058, allocations: 0.8784 MB / 1.062 GB, free: 13.6 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.125e-06/1.058, allocations: 3.906 kB / 1.062 GB, free: 13.59 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000507/1.058, allocations: 55.89 kB / 1.062 GB, free: 13.54 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004447/1.059, allocations: 86.55 kB / 1.062 GB, free: 13.46 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.795e-05/1.059, allocations: 0 / 1.062 GB, free: 13.46 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.508e-06/1.059, allocations: 4 kB / 1.062 GB, free: 13.46 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.216e-06/1.059, allocations: 0 / 1.062 GB, free: 13.46 MB / 0.6823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001223/1.06, allocations: 0.5367 MB / 1.063 GB, free: 12.95 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002609/1.06, allocations: 138 kB / 1.063 GB, free: 12.81 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.591e-05/1.06, allocations: 4 kB / 1.063 GB, free: 12.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004156/1.061, allocations: 15.98 kB / 1.063 GB, free: 12.79 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.813e-05/1.061, allocations: 19.41 kB / 1.063 GB, free: 12.77 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.212e-05/1.061, allocations: 11.38 kB / 1.063 GB, free: 12.77 MB / 0.6823 GB Notification: Performance of sort global known variables: time 0.0002851/1.061, allocations: 193.2 kB / 1.063 GB, free: 12.61 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0006098/1.062, allocations: 79.94 kB / 1.063 GB, free: 12.53 MB / 0.6823 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.0001927/1.062, allocations: 114.3 kB / 1.063 GB, free: 12.41 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.001108/1.063, allocations: 0.5804 MB / 1.064 GB, free: 11.86 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.035e-06/1.063, allocations: 0 / 1.064 GB, free: 11.86 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0006378/1.064, allocations: 419.6 kB / 1.064 GB, free: 11.43 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009625/1.065, allocations: 105.4 kB / 1.064 GB, free: 11.35 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00155/1.066, allocations: 0.5075 MB / 1.065 GB, free: 10.87 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007284/1.067, allocations: 0.868 MB / 1.066 GB, free: 9.98 MB / 0.6823 GB Notification: Performance of SimCode: time 9.52e-07/1.067, allocations: 0 / 1.066 GB, free: 9.98 MB / 0.6823 GB Notification: Performance of Templates: time 0.01542/1.082, allocations: 4.546 MB / 1.07 GB, free: 5.496 MB / 0.6823 GB