Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.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.ThreePhases,fileNamePrefix="Buildings_7_0_0_Buildings_Electrical_AC_OnePhase_Loads_Examples_ThreePhases",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.275/2.275, allocations: 248.6 MB / 255.9 MB, free: 7.109 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.001668/0.001668, allocations: 183.7 kB / 315.1 MB, free: 4.242 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.14/2.14, allocations: 205.1 MB / 0.5658 GB, free: 344 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.00128/0.001279, allocations: 79.34 kB / 0.67 GB, free: 5.555 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.4629/0.4642, allocations: 112.4 MB / 0.7797 GB, free: 103.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2049/0.6692, allocations: 106.2 MB / 0.8835 GB, free: 13.32 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7009/1.37, allocations: 147.5 MB / 1.027 GB, free: 10.02 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0005138/1.371, allocations: 94.86 kB / 1.028 GB, free: 9.969 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: 99 * Number of variables: 99 Notification: Performance of Generate backend data structure: time 0.1351/1.506, allocations: 27.77 MB / 1.055 GB, free: 2.797 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 5.298e-05/1.506, allocations: 12 kB / 1.055 GB, free: 2.785 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002551/1.509, allocations: 187 kB / 1.055 GB, free: 2.602 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00112/1.51, allocations: 398.9 kB / 1.055 GB, free: 2.207 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.882e-05/1.51, allocations: 12 kB / 1.055 GB, free: 2.195 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.3e-05/1.51, allocations: 20 kB / 1.055 GB, free: 2.176 MB / 0.6667 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001193/1.511, allocations: 366.7 kB / 1.056 GB, free: 1.93 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001283/1.512, allocations: 0.6501 MB / 1.056 GB, free: 1.289 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.572e-05/1.512, allocations: 0 / 1.056 GB, free: 1.289 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.009e-05/1.513, allocations: 4 kB / 1.056 GB, free: 1.285 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.984e-05/1.513, allocations: 55.19 kB / 1.056 GB, free: 1.234 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005173/1.518, allocations: 3.713 MB / 1.06 GB, free: 13.54 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001224/1.519, allocations: 429.2 kB / 1.06 GB, free: 13.18 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004122/1.52, allocations: 175.9 kB / 1.061 GB, free: 13.05 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 3.371e-05/1.52, allocations: 11.92 kB / 1.061 GB, free: 13.04 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.198e-05/1.52, allocations: 42.05 kB / 1.061 GB, free: 12.99 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=30): time 3.036e-06/1.52, allocations: 0 / 1.061 GB, free: 12.99 MB / 0.6823 GB Notification: Performance of matching and sorting (n=33): time 0.002582/1.522, allocations: 0.8099 MB / 1.061 GB, free: 12.29 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001584/1.522, allocations: 110.1 kB / 1.062 GB, free: 12.16 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005292/1.523, allocations: 296.1 kB / 1.062 GB, free: 11.92 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 5.975e-05/1.523, allocations: 25.7 kB / 1.062 GB, free: 11.89 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001904/1.523, allocations: 244.1 kB / 1.062 GB, free: 11.66 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001376/1.523, allocations: 112.8 kB / 1.062 GB, free: 11.57 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.953e-05/1.523, allocations: 0 / 1.062 GB, free: 11.57 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001729/1.524, allocations: 349.2 kB / 1.062 GB, free: 11.23 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004291/1.524, allocations: 165.5 kB / 1.063 GB, free: 11.12 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005775/1.525, allocations: 343.2 kB / 1.063 GB, free: 10.77 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005447/1.525, allocations: 220.7 kB / 1.063 GB, free: 10.62 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.803e-06/1.525, allocations: 0 / 1.063 GB, free: 10.62 MB / 0.6823 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001815/1.527, allocations: 0.5959 MB / 1.064 GB, free: 10.12 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.305e-05/1.527, allocations: 4 kB / 1.064 GB, free: 10.12 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.325e-05/1.527, allocations: 11.98 kB / 1.064 GB, free: 10.11 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005488/1.528, allocations: 96.73 kB / 1.064 GB, free: 10.02 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008236/1.529, allocations: 103.8 kB / 1.064 GB, free: 9.922 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004753/1.533, allocations: 3.847 MB / 1.068 GB, free: 5.859 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007893/1.534, allocations: 15.98 kB / 1.068 GB, free: 5.844 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7e-05/1.534, allocations: 22.44 kB / 1.068 GB, free: 5.828 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 27 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (57): * Single equations (assignments): 54 * 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: 3 * Mixed (continuous/discrete) equation systems: 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.0002375/1.535, allocations: 131.8 kB / 1.068 GB, free: 5.695 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002927/1.535, allocations: 43.53 kB / 1.068 GB, free: 5.652 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001735/1.537, allocations: 0.4961 MB / 1.068 GB, free: 5.262 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.567e-05/1.537, allocations: 7.938 kB / 1.068 GB, free: 5.254 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.284e-05/1.537, allocations: 7.938 kB / 1.068 GB, free: 5.246 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.698e-06/1.537, allocations: 4 kB / 1.068 GB, free: 5.242 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003119/1.54, allocations: 1.206 MB / 1.07 GB, free: 4.148 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.186e-06/1.54, allocations: 0 / 1.07 GB, free: 4.148 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005138/1.54, allocations: 55.91 kB / 1.07 GB, free: 4.094 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005015/1.541, allocations: 87.95 kB / 1.07 GB, free: 4.012 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.682e-05/1.541, allocations: 4 kB / 1.07 GB, free: 4.008 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00468/1.546, allocations: 3.852 MB / 1.074 GB, free: 15.95 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.163e-05/1.546, allocations: 7.969 kB / 1.074 GB, free: 15.95 MB / 0.698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001675/1.547, allocations: 0.8786 MB / 1.074 GB, free: 15.05 MB / 0.698 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002636/1.55, allocations: 1.277 MB / 1.076 GB, free: 13.77 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004278/1.551, allocations: 155 kB / 1.076 GB, free: 13.61 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001038/1.551, allocations: 4 kB / 1.076 GB, free: 13.61 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00054/1.551, allocations: 11.98 kB / 1.076 GB, free: 13.59 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.54e-05/1.551, allocations: 26.34 kB / 1.076 GB, free: 13.57 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.684e-05/1.551, allocations: 12 kB / 1.076 GB, free: 13.56 MB / 0.698 GB Notification: Performance of sort global known variables: time 0.0003971/1.552, allocations: 235.6 kB / 1.076 GB, free: 13.38 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001975/1.554, allocations: 112 kB / 1.076 GB, free: 13.27 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (33): * Single equations (assignments): 30 * 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: 3 * Mixed (continuous/discrete) equation systems: 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.0002723/1.554, allocations: 111.6 kB / 1.076 GB, free: 13.16 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.002009/1.556, allocations: 0.7426 MB / 1.077 GB, free: 12.5 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 6.632e-06/1.556, allocations: 0 / 1.077 GB, free: 12.5 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.001148/1.557, allocations: 0.5134 MB / 1.077 GB, free: 12.01 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001231/1.559, allocations: 107.8 kB / 1.078 GB, free: 11.92 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002068/1.561, allocations: 0.657 MB / 1.078 GB, free: 11.28 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008376/1.562, allocations: 0.9049 MB / 1.079 GB, free: 10.36 MB / 0.698 GB Notification: Performance of SimCode: time 1.022e-06/1.562, allocations: 4 kB / 1.079 GB, free: 10.36 MB / 0.698 GB