Running: ./testmodel.py --libraries=/home/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 (/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 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance,fileNamePrefix="Buildings_7_0_0_Buildings_Electrical_AC_OnePhase_Loads_Examples_TestImpedance",fmuType="me",version="2.0",platforms={"static"}) [: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 7.0.1/package.mo): time 2.373/2.373, allocations: 248.6 MB / 255.9 MB, free: 7.152 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.003391/0.00339, allocations: 187.3 kB / 315.1 MB, free: 4.254 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.132/2.132, allocations: 205.1 MB / 0.5658 GB, free: 448 kB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001318/0.001318, allocations: 98.77 kB / 0.67 GB, free: 5.641 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.5144/0.5157, allocations: 112.4 MB / 0.7797 GB, free: 103.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2162/0.732, allocations: 106.3 MB / 0.8835 GB, free: 13.34 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7675/1.5, allocations: 147.5 MB / 1.028 GB, free: 9.949 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003721/1.5, allocations: 91.88 kB / 1.028 GB, free: 9.898 MB / 0.6511 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.1357/1.636, allocations: 29.85 MB / 1.057 GB, free: 0.9453 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 4.805e-05/1.636, allocations: 8 kB / 1.057 GB, free: 0.9375 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002315/1.638, allocations: 202.9 kB / 1.057 GB, free: 0.7383 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001579/1.64, allocations: 488.9 kB / 1.057 GB, free: 276 kB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.22e-05/1.64, allocations: 16 kB / 1.057 GB, free: 260 kB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001177/1.64, allocations: 24 kB / 1.058 GB, free: 236 kB / 0.6667 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001341/1.641, allocations: 436.2 kB / 1.058 GB, free: 15.94 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002019/1.643, allocations: 0.8597 MB / 1.059 GB, free: 15.05 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.221e-05/1.644, allocations: 11.92 kB / 1.059 GB, free: 15.04 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001058/1.644, allocations: 7.906 kB / 1.059 GB, free: 15.03 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001214/1.644, allocations: 52 kB / 1.059 GB, free: 14.98 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007725/1.652, allocations: 5.561 MB / 1.064 GB, free: 9.414 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009591/1.653, allocations: 425.3 kB / 1.065 GB, free: 9.102 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006508/1.653, allocations: 221 kB / 1.065 GB, free: 8.953 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 4.001e-05/1.653, allocations: 7.906 kB / 1.065 GB, free: 8.945 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.999e-05/1.653, allocations: 34 kB / 1.065 GB, free: 8.906 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=32): time 3.186e-06/1.653, allocations: 0 / 1.065 GB, free: 8.906 MB / 0.6823 GB Notification: Performance of matching and sorting (n=33): time 0.003205/1.657, allocations: 0.8454 MB / 1.066 GB, free: 8.199 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.378e-05/1.657, allocations: 55.41 kB / 1.066 GB, free: 8.133 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009841/1.658, allocations: 346 kB / 1.066 GB, free: 7.855 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 8.793e-05/1.658, allocations: 25.7 kB / 1.066 GB, free: 7.824 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003095/1.658, allocations: 300.7 kB / 1.066 GB, free: 7.559 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002037/1.658, allocations: 112.4 kB / 1.067 GB, free: 7.461 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.146e-05/1.658, allocations: 0 / 1.067 GB, free: 7.461 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0002104/1.659, allocations: 366.3 kB / 1.067 GB, free: 7.117 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005865/1.659, allocations: 176.6 kB / 1.067 GB, free: 7 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008479/1.66, allocations: 394 kB / 1.067 GB, free: 6.59 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008876/1.661, allocations: 252.5 kB / 1.068 GB, free: 6.414 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.194e-05/1.661, allocations: 0 / 1.068 GB, free: 6.414 MB / 0.6823 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.003234/1.664, allocations: 0.7106 MB / 1.068 GB, free: 5.824 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 3.154e-05/1.664, allocations: 4 kB / 1.068 GB, free: 5.82 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.071e-05/1.664, allocations: 8 kB / 1.068 GB, free: 5.812 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001231/1.666, allocations: 156.5 kB / 1.069 GB, free: 5.664 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009606/1.667, allocations: 103.4 kB / 1.069 GB, free: 5.566 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004554/1.671, allocations: 3.867 MB / 1.072 GB, free: 1.496 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007207/1.672, allocations: 15.98 kB / 1.072 GB, free: 1.48 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.207e-05/1.672, allocations: 23.06 kB / 1.072 GB, free: 1.461 MB / 0.6823 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.0001966/1.672, allocations: 128 kB / 1.073 GB, free: 1.332 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001226/1.672, allocations: 51.34 kB / 1.073 GB, free: 1.281 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00176/1.674, allocations: 0.5806 MB / 1.073 GB, free: 0.8203 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.279e-05/1.674, allocations: 4 kB / 1.073 GB, free: 0.8164 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.592e-06/1.674, allocations: 3.938 kB / 1.073 GB, free: 0.8125 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.362e-06/1.674, allocations: 4 kB / 1.073 GB, free: 0.8086 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003057/1.677, allocations: 1.165 MB / 1.074 GB, free: 15.8 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.053e-05/1.677, allocations: 7.906 kB / 1.074 GB, free: 15.79 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000552/1.678, allocations: 51.34 kB / 1.074 GB, free: 15.74 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007616/1.679, allocations: 142.2 kB / 1.075 GB, free: 15.61 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.76e-05/1.679, allocations: 4 kB / 1.075 GB, free: 15.61 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004339/1.683, allocations: 3.838 MB / 1.078 GB, free: 11.56 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.027e-06/1.683, allocations: 7.938 kB / 1.078 GB, free: 11.55 MB / 0.698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001995/1.685, allocations: 0.7773 MB / 1.079 GB, free: 10.8 MB / 0.698 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001955/1.687, allocations: 1.16 MB / 1.08 GB, free: 9.68 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003879/1.688, allocations: 165.2 kB / 1.08 GB, free: 9.512 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001114/1.688, allocations: 4 kB / 1.08 GB, free: 9.508 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004675/1.688, allocations: 7.984 kB / 1.08 GB, free: 9.5 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.421e-05/1.688, allocations: 31.62 kB / 1.08 GB, free: 9.473 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.682e-05/1.688, allocations: 8 kB / 1.08 GB, free: 9.465 MB / 0.698 GB Notification: Performance of sort global known variables: time 0.0004319/1.689, allocations: 260.9 kB / 1.081 GB, free: 9.266 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001812/1.691, allocations: 126.9 kB / 1.081 GB, free: 9.145 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.0002488/1.691, allocations: 113.4 kB / 1.081 GB, free: 9.027 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.002058/1.693, allocations: 0.9542 MB / 1.082 GB, free: 8.137 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 6.633e-06/1.693, allocations: 4 kB / 1.082 GB, free: 8.133 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.001293/1.694, allocations: 0.702 MB / 1.082 GB, free: 7.418 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001568/1.696, allocations: 160.2 kB / 1.083 GB, free: 7.289 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002544/1.698, allocations: 0.754 MB / 1.083 GB, free: 6.566 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00108/1.7, allocations: 0.9508 MB / 1.084 GB, free: 5.598 MB / 0.698 GB Notification: Performance of SimCode: time 1.864e-06/1.7, allocations: 0 / 1.084 GB, free: 5.598 MB / 0.698 GB