Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter.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.ThreePhasesBalanced.Conversion.Examples.ACACConverter,fileNamePrefix="Buildings_7_0_0_Buildings_Electrical_AC_ThreePhasesBalanced_Conversion_Examples_ACACConverter",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.353/2.353, allocations: 248.6 MB / 255.9 MB, free: 7.066 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.001643/0.001643, allocations: 180 kB / 315.1 MB, free: 4.27 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.935/1.935, allocations: 205.1 MB / 0.5658 GB, free: 380 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.001992/0.001991, allocations: 102.8 kB / 0.67 GB, free: 5.578 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.5363/0.5383, allocations: 112.4 MB / 0.7797 GB, free: 103.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2071/0.7456, allocations: 106.3 MB / 0.8835 GB, free: 13.36 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7538/1.499, allocations: 163.6 MB / 1.043 GB, free: 10.61 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003634/1.5, allocations: 93.5 kB / 1.043 GB, free: 10.56 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: 54 * Number of variables: 54 Notification: Performance of Generate backend data structure: time 0.1001/1.6, allocations: 18.25 MB / 1.061 GB, free: 11.32 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.796e-05/1.6, allocations: 8 kB / 1.061 GB, free: 11.32 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002304/1.602, allocations: 102.8 kB / 1.061 GB, free: 11.22 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007483/1.603, allocations: 257.9 kB / 1.061 GB, free: 10.94 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.947e-05/1.603, allocations: 4 kB / 1.061 GB, free: 10.94 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.879e-05/1.603, allocations: 15.94 kB / 1.062 GB, free: 10.92 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001163/1.605, allocations: 261.1 kB / 1.062 GB, free: 10.75 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001158/1.606, allocations: 350.1 kB / 1.062 GB, free: 10.45 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.442e-05/1.606, allocations: 0 / 1.062 GB, free: 10.45 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.41e-05/1.606, allocations: 0 / 1.062 GB, free: 10.45 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.517e-05/1.606, allocations: 23.97 kB / 1.062 GB, free: 10.43 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005282/1.611, allocations: 1.668 MB / 1.064 GB, free: 8.801 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001017/1.612, allocations: 281.7 kB / 1.064 GB, free: 8.586 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000633/1.613, allocations: 180 kB / 1.064 GB, free: 8.461 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000356/1.613, allocations: 89.11 kB / 1.064 GB, free: 8.355 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.961e-05/1.613, allocations: 33.69 kB / 1.064 GB, free: 8.316 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=25): time 5.42e-06/1.614, allocations: 4 kB / 1.064 GB, free: 8.312 MB / 0.6823 GB Notification: Performance of matching and sorting (n=35): time 0.008544/1.622, allocations: 1.107 MB / 1.065 GB, free: 7.457 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.768e-05/1.622, allocations: 84.86 kB / 1.065 GB, free: 7.359 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003505/1.623, allocations: 150.2 kB / 1.066 GB, free: 7.223 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0001198/1.623, allocations: 25.7 kB / 1.066 GB, free: 7.191 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001374/1.623, allocations: 145.9 kB / 1.066 GB, free: 7.051 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002136/1.623, allocations: 114.3 kB / 1.066 GB, free: 6.949 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.267e-05/1.623, allocations: 0 / 1.066 GB, free: 6.949 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001953/1.623, allocations: 336.5 kB / 1.066 GB, free: 6.621 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008685/1.624, allocations: 221.2 kB / 1.066 GB, free: 6.484 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009954/1.625, allocations: 300.3 kB / 1.067 GB, free: 6.246 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001626/1.627, allocations: 298.3 kB / 1.067 GB, free: 6.043 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.245e-06/1.627, allocations: 4 kB / 1.067 GB, free: 6.039 MB / 0.6823 GB Notification: Performance of matching and sorting (n=44) (initialization): time 0.002088/1.629, allocations: 0.6129 MB / 1.068 GB, free: 5.586 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004609/1.63, allocations: 0.8749 MB / 1.068 GB, free: 4.66 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.946e-05/1.63, allocations: 7.984 kB / 1.068 GB, free: 4.652 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.551e-05/1.63, allocations: 4 kB / 1.068 GB, free: 4.648 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001998/1.632, allocations: 155.2 kB / 1.069 GB, free: 4.5 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.731e-05/1.632, allocations: 11.94 kB / 1.069 GB, free: 4.488 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007844/1.633, allocations: 39.95 kB / 1.069 GB, free: 4.449 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.48e-05/1.633, allocations: 15.98 kB / 1.069 GB, free: 4.434 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.424e-05/1.633, allocations: 4 kB / 1.069 GB, free: 4.43 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001743/1.634, allocations: 469.2 kB / 1.069 GB, free: 4.094 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.73e-05/1.635, allocations: 7.906 kB / 1.069 GB, free: 4.086 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.378e-05/1.635, allocations: 4 kB / 1.069 GB, free: 4.082 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001508/1.636, allocations: 135.5 kB / 1.069 GB, free: 3.953 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.509e-05/1.636, allocations: 7.938 kB / 1.069 GB, free: 3.945 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005817/1.637, allocations: 31.97 kB / 1.069 GB, free: 3.914 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.188e-05/1.637, allocations: 19.23 kB / 1.069 GB, free: 3.898 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (44): * Single equations (assignments): 44 * 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.0002204/1.637, allocations: 110.8 kB / 1.069 GB, free: 3.785 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001337/1.637, allocations: 19.72 kB / 1.069 GB, free: 3.766 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002378/1.64, allocations: 0.645 MB / 1.07 GB, free: 3.305 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.56e-05/1.64, allocations: 4 kB / 1.07 GB, free: 3.301 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.123e-05/1.64, allocations: 4 kB / 1.07 GB, free: 3.297 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.185e-05/1.64, allocations: 4 kB / 1.07 GB, free: 3.293 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003966/1.644, allocations: 1.284 MB / 1.071 GB, free: 2.16 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.144e-06/1.644, allocations: 0 / 1.071 GB, free: 2.16 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001337/1.645, allocations: 124.1 kB / 1.071 GB, free: 2.039 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.465e-05/1.645, allocations: 8 kB / 1.071 GB, free: 2.031 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.559e-05/1.645, allocations: 4 kB / 1.071 GB, free: 2.027 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.189e-05/1.645, allocations: 11.92 kB / 1.071 GB, free: 2.016 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.069e-06/1.645, allocations: 0 / 1.071 GB, free: 2.016 MB / 0.6823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001707/1.647, allocations: 0.7892 MB / 1.072 GB, free: 1.277 MB / 0.6823 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001866/1.649, allocations: 1.151 MB / 1.073 GB, free: 188 kB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003132/1.649, allocations: 144.1 kB / 1.074 GB, free: 40 kB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.945e-05/1.649, allocations: 4 kB / 1.074 GB, free: 36 kB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006804/1.65, allocations: 35.95 kB / 1.074 GB, free: 0 / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001282/1.65, allocations: 28.83 kB / 1.074 GB, free: 15.97 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.863e-05/1.65, allocations: 10.69 kB / 1.074 GB, free: 15.96 MB / 0.698 GB Notification: Performance of sort global known variables: time 0.0002279/1.65, allocations: 135.3 kB / 1.074 GB, free: 15.85 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.002863/1.653, allocations: 161.6 kB / 1.074 GB, free: 15.7 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (37): * Single equations (assignments): 37 * 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.0004119/1.654, allocations: 146.2 kB / 1.074 GB, free: 15.55 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.00198/1.656, allocations: 0.7229 MB / 1.075 GB, free: 15.06 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 7.314e-06/1.656, allocations: 1.125 kB / 1.075 GB, free: 15.06 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0006978/1.657, allocations: 223.1 kB / 1.075 GB, free: 14.91 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001561/1.658, allocations: 35.16 kB / 1.075 GB, free: 14.88 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002584/1.661, allocations: 0.5783 MB / 1.076 GB, free: 14.35 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001063/1.662, allocations: 0.834 MB / 1.076 GB, free: 13.5 MB / 0.698 GB Notification: Performance of SimCode: time 1.353e-06/1.662, allocations: 3.938 kB / 1.076 GB, free: 13.5 MB / 0.698 GB