Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Interfaces.Examples.WyeToDelta.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.ThreePhasesUnbalanced.Interfaces.Examples.WyeToDelta,fileNamePrefix="Buildings_7_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Interfaces_Examples_WyeToDelta",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.409/2.409, allocations: 248.6 MB / 255.9 MB, free: 7.16 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.002408/0.002407, allocations: 188 kB / 315.1 MB, free: 4.258 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.033/2.033, allocations: 205.1 MB / 0.5658 GB, free: 388 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.001317/0.001316, allocations: 85.73 kB / 0.67 GB, free: 5.586 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.4949/0.4962, allocations: 112.4 MB / 0.7797 GB, free: 103.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2241/0.7204, allocations: 106.2 MB / 0.8835 GB, free: 13.34 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.704/1.424, allocations: 150.4 MB / 1.03 GB, free: 7.117 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00037/1.425, allocations: 97.17 kB / 1.03 GB, free: 7.062 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: 324 * Number of variables: 324 Notification: Performance of Generate backend data structure: time 0.1827/1.608, allocations: 36.1 MB / 1.066 GB, free: 8.516 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 6.366e-05/1.608, allocations: 8 kB / 1.066 GB, free: 8.508 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004575/1.612, allocations: 246.2 kB / 1.066 GB, free: 8.27 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003296/1.616, allocations: 0.7246 MB / 1.067 GB, free: 7.676 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001252/1.616, allocations: 40 kB / 1.067 GB, free: 7.637 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005755/1.616, allocations: 72 kB / 1.067 GB, free: 7.566 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.007609/1.624, allocations: 1.52 MB / 1.068 GB, free: 6.605 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009159/1.633, allocations: 1.768 MB / 1.07 GB, free: 5.34 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.523e-05/1.633, allocations: 0 / 1.07 GB, free: 5.34 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004654/1.634, allocations: 0 / 1.07 GB, free: 5.34 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001801/1.634, allocations: 61.94 kB / 1.07 GB, free: 5.281 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02003/1.654, allocations: 7.874 MB / 1.078 GB, free: 14.23 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003323/1.655, allocations: 127.1 kB / 1.078 GB, free: 14.09 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002102/1.655, allocations: 80.95 kB / 1.078 GB, free: 14.02 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002819/1.655, allocations: 89.05 kB / 1.078 GB, free: 13.91 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.245e-05/1.655, allocations: 37.92 kB / 1.078 GB, free: 13.87 MB / 0.698 GB Notification: Performance of pre-optimization done (n=9): time 3.888e-06/1.655, allocations: 4 kB / 1.078 GB, free: 13.86 MB / 0.698 GB Notification: Performance of matching and sorting (n=9): time 0.001062/1.656, allocations: 255.1 kB / 1.078 GB, free: 13.64 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.158e-05/1.656, allocations: 128.5 kB / 1.078 GB, free: 13.48 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001816/1.658, allocations: 0.8266 MB / 1.079 GB, free: 12.84 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 3.439e-05/1.658, allocations: 25.7 kB / 1.079 GB, free: 12.81 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.000718/1.659, allocations: 0.7486 MB / 1.08 GB, free: 12.12 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 7.713e-05/1.659, allocations: 58.33 kB / 1.08 GB, free: 12.08 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001169/1.659, allocations: 4.094 kB / 1.08 GB, free: 12.07 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0002127/1.659, allocations: 368.8 kB / 1.08 GB, free: 11.73 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009645/1.66, allocations: 417.6 kB / 1.081 GB, free: 11.44 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002127/1.663, allocations: 1.141 MB / 1.082 GB, free: 10.09 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003553/1.666, allocations: 0.8049 MB / 1.083 GB, free: 9.48 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.563e-05/1.666, allocations: 4 kB / 1.083 GB, free: 9.477 MB / 0.698 GB Notification: Performance of matching and sorting (n=147) (initialization): time 0.00498/1.671, allocations: 1.467 MB / 1.084 GB, free: 8.277 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.645e-05/1.671, allocations: 8 kB / 1.084 GB, free: 8.27 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.955e-05/1.671, allocations: 24 kB / 1.084 GB, free: 8.246 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.042e-05/1.671, allocations: 40 kB / 1.084 GB, free: 8.207 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002037/1.674, allocations: 280.7 kB / 1.084 GB, free: 7.941 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.68e-05/1.674, allocations: 55.78 kB / 1.084 GB, free: 7.887 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001705/1.675, allocations: 158.3 kB / 1.085 GB, free: 7.73 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002385/1.676, allocations: 73.86 kB / 1.085 GB, free: 7.668 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 121 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (147): * Single equations (assignments): 147 * 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 prepare postOptimizeDAE: time 0.0003434/1.676, allocations: 172.2 kB / 1.085 GB, free: 7.5 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003793/1.676, allocations: 59.34 kB / 1.085 GB, free: 7.441 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005861/1.677, allocations: 140.3 kB / 1.085 GB, free: 7.305 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.677e-05/1.677, allocations: 4 kB / 1.085 GB, free: 7.301 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.342e-06/1.677, allocations: 3.938 kB / 1.085 GB, free: 7.297 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.909e-06/1.677, allocations: 0 / 1.085 GB, free: 7.297 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001319/1.678, allocations: 0.5039 MB / 1.086 GB, free: 6.863 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.098e-06/1.678, allocations: 0 / 1.086 GB, free: 6.863 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.538e-05/1.679, allocations: 4 kB / 1.086 GB, free: 6.859 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.849e-06/1.679, allocations: 8 kB / 1.086 GB, free: 6.852 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.002e-05/1.679, allocations: 0 / 1.086 GB, free: 6.852 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.236e-06/1.679, allocations: 0 / 1.086 GB, free: 6.852 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.387e-06/1.679, allocations: 3.938 kB / 1.086 GB, free: 6.848 MB / 0.698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004367/1.679, allocations: 388.5 kB / 1.086 GB, free: 6.449 MB / 0.698 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0005858/1.68, allocations: 0.7585 MB / 1.087 GB, free: 5.672 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003507/1.68, allocations: 151.7 kB / 1.087 GB, free: 5.52 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000144/1.68, allocations: 11.98 kB / 1.087 GB, free: 5.508 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005157/1.681, allocations: 7.938 kB / 1.087 GB, free: 5.5 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.7e-05/1.681, allocations: 0 / 1.087 GB, free: 5.5 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.527e-05/1.681, allocations: 7.984 kB / 1.087 GB, free: 5.492 MB / 0.698 GB Notification: Performance of sort global known variables: time 0.001418/1.682, allocations: 0.6225 MB / 1.087 GB, free: 5.031 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.002811/1.685, allocations: 282.8 kB / 1.088 GB, free: 4.754 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * 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.000238/1.685, allocations: 111.2 kB / 1.088 GB, free: 4.637 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001893/1.687, allocations: 0.6827 MB / 1.088 GB, free: 4.109 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 6.532e-06/1.687, allocations: 4.062 kB / 1.088 GB, free: 4.105 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 5.617e-05/1.687, allocations: 19.73 kB / 1.089 GB, free: 4.09 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005837/1.688, allocations: 34.06 kB / 1.089 GB, free: 4.07 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004156/1.692, allocations: 1.311 MB / 1.09 GB, free: 2.91 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001994/1.694, allocations: 1.351 MB / 1.091 GB, free: 1.68 MB / 0.698 GB Notification: Performance of SimCode: time 1.373e-06/1.694, allocations: 0 / 1.091 GB, free: 1.68 MB / 0.698 GB