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.TestImpedance.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.TestImpedance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance") [: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.361/2.361, allocations: 253.1 MB / 260.4 MB, free: 7.457 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.001663/0.001662, allocations: 177.3 kB / 319.6 MB, free: 3.301 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 1.998/1.998, allocations: 205.4 MB / 0.5704 GB, free: 15.05 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.00135/0.001349, allocations: 83.41 kB / 0.6746 GB, free: 4.41 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.234e-05/1.253e-05, allocations: 4 kB / 0.7843 GB, free: 102.5 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2298/0.2299, allocations: 106.3 MB / 0.8881 GB, free: 12.18 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6969/0.9269, allocations: 147.5 MB / 1.032 GB, free: 8.125 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003486/0.9273, allocations: 96.53 kB / 1.032 GB, free: 8.074 MB / 0.6511 GB Notification: Performance of FrontEnd: time 0.1193/1.047, allocations: 29.05 MB / 1.061 GB, free: 15.91 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 6.14e-05/1.047, allocations: 20 kB / 1.061 GB, free: 15.89 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 129 * Number of variables: 129 Notification: Performance of Generate backend data structure: time 0.001755/1.049, allocations: 0.7733 MB / 1.061 GB, free: 15.11 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.761e-05/1.049, allocations: 8.031 kB / 1.061 GB, free: 15.11 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002322/1.051, allocations: 194.9 kB / 1.062 GB, free: 14.91 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001457/1.052, allocations: 497 kB / 1.062 GB, free: 14.44 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.081e-05/1.052, allocations: 16 kB / 1.062 GB, free: 14.42 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001125/1.053, allocations: 28 kB / 1.062 GB, free: 14.39 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001246/1.054, allocations: 430.1 kB / 1.062 GB, free: 14.11 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00163/1.055, allocations: 0.8647 MB / 1.063 GB, free: 13.22 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.333e-05/1.056, allocations: 11.56 kB / 1.063 GB, free: 13.21 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.227e-05/1.056, allocations: 4 kB / 1.063 GB, free: 13.21 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000114/1.056, allocations: 60.52 kB / 1.063 GB, free: 13.16 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00745/1.063, allocations: 5.552 MB / 1.069 GB, free: 7.594 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009943/1.064, allocations: 430.4 kB / 1.069 GB, free: 7.273 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000523/1.065, allocations: 222.9 kB / 1.069 GB, free: 7.125 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 3.334e-05/1.065, allocations: 0 / 1.069 GB, free: 7.125 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.734e-05/1.065, allocations: 41.91 kB / 1.069 GB, free: 7.078 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=32): time 2.064e-06/1.065, allocations: 0 / 1.069 GB, free: 7.078 MB / 0.6823 GB Notification: Performance of matching and sorting (n=33): time 0.003273/1.068, allocations: 0.8284 MB / 1.07 GB, free: 6.387 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.961e-05/1.068, allocations: 59.41 kB / 1.07 GB, free: 6.316 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009931/1.069, allocations: 351.2 kB / 1.071 GB, free: 6.035 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0001289/1.07, allocations: 25.7 kB / 1.071 GB, free: 6.004 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003473/1.07, allocations: 302.5 kB / 1.071 GB, free: 5.738 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002153/1.07, allocations: 111.1 kB / 1.071 GB, free: 5.641 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.235e-05/1.07, allocations: 0 / 1.071 GB, free: 5.641 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0002712/1.071, allocations: 350.9 kB / 1.071 GB, free: 5.309 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007532/1.071, allocations: 184.5 kB / 1.072 GB, free: 5.188 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001303/1.073, allocations: 396.3 kB / 1.072 GB, free: 4.773 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009804/1.074, allocations: 248.5 kB / 1.072 GB, free: 4.602 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.612e-05/1.074, allocations: 8 kB / 1.072 GB, free: 4.594 MB / 0.6823 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.003635/1.077, allocations: 0.7034 MB / 1.073 GB, free: 4.008 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 3.054e-05/1.077, allocations: 6.5 kB / 1.073 GB, free: 4.004 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.715e-05/1.077, allocations: 8 kB / 1.073 GB, free: 3.996 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001354/1.079, allocations: 151.4 kB / 1.073 GB, free: 3.855 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001351/1.08, allocations: 111.1 kB / 1.073 GB, free: 3.75 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004981/1.085, allocations: 3.861 MB / 1.077 GB, free: 15.68 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007786/1.086, allocations: 16.14 kB / 1.077 GB, free: 15.67 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.208e-05/1.086, allocations: 31.75 kB / 1.077 GB, free: 15.64 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 33 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (61): * Single equations (assignments): 56 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001941/1.086, allocations: 124.5 kB / 1.077 GB, free: 15.52 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001311/1.086, allocations: 55.34 kB / 1.077 GB, free: 15.46 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001848/1.088, allocations: 0.5836 MB / 1.078 GB, free: 15 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.033e-05/1.088, allocations: 4 kB / 1.078 GB, free: 15 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.045e-06/1.088, allocations: 0 / 1.078 GB, free: 15 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.302e-06/1.088, allocations: 0 / 1.078 GB, free: 15 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003047/1.091, allocations: 1.166 MB / 1.079 GB, free: 13.98 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.327e-06/1.092, allocations: 4 kB / 1.079 GB, free: 13.98 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005629/1.092, allocations: 55.81 kB / 1.079 GB, free: 13.93 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007923/1.093, allocations: 145.9 kB / 1.079 GB, free: 13.79 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.719e-05/1.093, allocations: 0 / 1.079 GB, free: 13.79 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004377/1.097, allocations: 3.845 MB / 1.083 GB, free: 9.742 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.267e-06/1.097, allocations: 3.984 kB / 1.083 GB, free: 9.738 MB / 0.698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001872/1.099, allocations: 0.7844 MB / 1.084 GB, free: 8.98 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003393/1.1, allocations: 162.3 kB / 1.084 GB, free: 8.816 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001065/1.1, allocations: 0 / 1.084 GB, free: 8.816 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004595/1.1, allocations: 11.98 kB / 1.084 GB, free: 8.805 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.947e-05/1.1, allocations: 23.72 kB / 1.084 GB, free: 8.785 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.677e-05/1.1, allocations: 11.56 kB / 1.084 GB, free: 8.777 MB / 0.698 GB Notification: Performance of sort global known variables: time 0.000416/1.101, allocations: 259.2 kB / 1.084 GB, free: 8.578 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0009593/1.102, allocations: 131.9 kB / 1.084 GB, free: 8.449 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (29): * 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): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002108/1.102, allocations: 107.2 kB / 1.084 GB, free: 8.336 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.002073/1.104, allocations: 0.9577 MB / 1.085 GB, free: 7.441 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.877e-06/1.104, allocations: 0 / 1.085 GB, free: 7.441 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.001381/1.105, allocations: 0.7107 MB / 1.086 GB, free: 6.719 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001529/1.107, allocations: 150.6 kB / 1.086 GB, free: 6.598 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002471/1.11, allocations: 0.7478 MB / 1.087 GB, free: 5.883 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009461/1.111, allocations: 0.9586 MB / 1.088 GB, free: 4.906 MB / 0.698 GB Notification: Performance of SimCode: time 1.242e-06/1.111, allocations: 0 / 1.088 GB, free: 4.906 MB / 0.698 GB Notification: Performance of Templates: time 0.02277/1.133, allocations: 7.02 MB / 1.095 GB, free: 13.97 MB / 0.7136 GB