Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformer.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.Conversion.Examples.ACACTransformer,fileNamePrefix="Buildings_7_0_0_Buildings_Electrical_AC_OnePhase_Conversion_Examples_ACACTransformer",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.479/2.479, allocations: 248.6 MB / 255.9 MB, free: 7.184 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.002612/0.002612, allocations: 188 kB / 315.1 MB, free: 4.312 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.073/2.073, allocations: 205.1 MB / 0.5658 GB, free: 400 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.00186/0.00186, allocations: 83.33 kB / 0.67 GB, free: 5.605 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.5257/0.5276, allocations: 112.4 MB / 0.7797 GB, free: 103.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2347/0.7623, allocations: 106.2 MB / 0.8835 GB, free: 13.39 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7857/1.548, allocations: 170.5 MB / 1.05 GB, free: 4.031 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000353/1.549, allocations: 92.55 kB / 1.05 GB, free: 3.977 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: 181 * Number of variables: 181 Notification: Performance of Generate backend data structure: time 0.2075/1.756, allocations: 43.96 MB / 1.093 GB, free: 15.3 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.983e-05/1.756, allocations: 12 kB / 1.093 GB, free: 15.29 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01875/1.775, allocations: 1.189 MB / 1.094 GB, free: 14.1 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001863/1.777, allocations: 0.5522 MB / 1.095 GB, free: 13.59 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.782e-05/1.777, allocations: 20 kB / 1.095 GB, free: 13.57 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003198/1.777, allocations: 36 kB / 1.095 GB, free: 13.54 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0045/1.782, allocations: 1.269 MB / 1.096 GB, free: 12.65 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004346/1.786, allocations: 1.289 MB / 1.097 GB, free: 11.57 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.167e-05/1.786, allocations: 11.97 kB / 1.097 GB, free: 11.56 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002303/1.786, allocations: 0 / 1.097 GB, free: 11.56 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004001/1.787, allocations: 100.8 kB / 1.097 GB, free: 11.47 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02137/1.808, allocations: 6.234 MB / 1.103 GB, free: 5.664 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004003/1.812, allocations: 0.9146 MB / 1.104 GB, free: 4.957 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002307/1.815, allocations: 0.5734 MB / 1.105 GB, free: 4.551 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005156/1.82, allocations: 2.23 MB / 1.107 GB, free: 2.484 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.264e-05/1.82, allocations: 49.5 kB / 1.107 GB, free: 2.434 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=69): time 4.188e-06/1.82, allocations: 0 / 1.107 GB, free: 2.434 MB / 0.7136 GB Notification: Performance of matching and sorting (n=93): time 0.01848/1.839, allocations: 3.583 MB / 1.111 GB, free: 15.19 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001473/1.839, allocations: 191.9 kB / 1.111 GB, free: 14.96 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009885/1.84, allocations: 433 kB / 1.111 GB, free: 14.52 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 0.0002948/1.84, allocations: 29.64 kB / 1.111 GB, free: 14.49 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003242/1.84, allocations: 358.7 kB / 1.112 GB, free: 14.13 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005253/1.841, allocations: 307.4 kB / 1.112 GB, free: 13.82 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001673/1.841, allocations: 0 / 1.112 GB, free: 13.82 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0002526/1.841, allocations: 382.8 kB / 1.112 GB, free: 13.44 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00211/1.844, allocations: 0.6468 MB / 1.113 GB, free: 12.8 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002326/1.846, allocations: 0.909 MB / 1.114 GB, free: 11.78 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003995/1.85, allocations: 0.8797 MB / 1.115 GB, free: 10.9 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.576e-05/1.85, allocations: 4 kB / 1.115 GB, free: 10.89 MB / 0.7292 GB Notification: Performance of matching and sorting (n=151) (initialization): time 0.01844/1.868, allocations: 2.396 MB / 1.117 GB, free: 8.48 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 0.002089/1.871, allocations: 3.128 MB / 1.12 GB, free: 5.102 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.092e-05/1.871, allocations: 15.94 kB / 1.12 GB, free: 5.086 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008483/1.879, allocations: 0.6705 MB / 1.121 GB, free: 4.402 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006427/1.886, allocations: 395.4 kB / 1.121 GB, free: 4.016 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01956/1.905, allocations: 6.922 MB / 1.128 GB, free: 12.72 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004219/1.91, allocations: 203.7 kB / 1.128 GB, free: 12.52 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003155/1.91, allocations: 63.95 kB / 1.128 GB, free: 12.46 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.398e-05/1.91, allocations: 8 kB / 1.128 GB, free: 12.45 MB / 0.7448 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007117/1.917, allocations: 1.769 MB / 1.13 GB, free: 10.68 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.865e-05/1.917, allocations: 12 kB / 1.13 GB, free: 10.67 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001247/1.918, allocations: 217.9 kB / 1.13 GB, free: 10.45 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004978/1.923, allocations: 435.3 kB / 1.13 GB, free: 10.02 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006816/1.93, allocations: 3.688 MB / 1.134 GB, free: 6.098 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004033/1.934, allocations: 183.8 kB / 1.134 GB, free: 5.918 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004372/1.935, allocations: 63.95 kB / 1.134 GB, free: 5.855 MB / 0.7448 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 36 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (123): * Single equations (assignments): 119 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(2,100.0%) 6,(2,100.0%) 6,(2,100.0%) 6} * Non-linear torn systems: 1 {2 6} Notification: Performance of prepare postOptimizeDAE: time 0.0005573/1.936, allocations: 132.6 kB / 1.134 GB, free: 5.719 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004932/1.936, allocations: 67.16 kB / 1.134 GB, free: 5.652 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01238/1.948, allocations: 2.353 MB / 1.137 GB, free: 3.277 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.203e-05/1.949, allocations: 19.97 kB / 1.137 GB, free: 3.258 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.277e-05/1.949, allocations: 4 kB / 1.137 GB, free: 3.254 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.43e-05/1.949, allocations: 15.92 kB / 1.137 GB, free: 3.238 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01599/1.965, allocations: 4.112 MB / 1.141 GB, free: 15 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.249e-05/1.965, allocations: 4.625 kB / 1.141 GB, free: 15 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003756/1.969, allocations: 295.5 kB / 1.141 GB, free: 14.71 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006012/1.975, allocations: 0.7876 MB / 1.142 GB, free: 13.91 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002915/1.975, allocations: 23.97 kB / 1.142 GB, free: 13.88 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02005/1.995, allocations: 7.915 MB / 1.15 GB, free: 5.504 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.06e-05/1.995, allocations: 7.938 kB / 1.15 GB, free: 5.496 MB / 0.7605 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01557/2.011, allocations: 2.691 MB / 1.152 GB, free: 2.578 MB / 0.7605 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.01297/2.024, allocations: 3.096 MB / 1.155 GB, free: 15.25 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001095/2.025, allocations: 312.1 kB / 1.156 GB, free: 14.93 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000286/2.025, allocations: 11.89 kB / 1.156 GB, free: 14.91 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003968/2.029, allocations: 203.7 kB / 1.156 GB, free: 14.71 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000298/2.029, allocations: 67.77 kB / 1.156 GB, free: 14.65 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002048/2.03, allocations: 47.97 kB / 1.156 GB, free: 14.6 MB / 0.7761 GB Notification: Performance of sort global known variables: time 0.000695/2.03, allocations: 322.9 kB / 1.156 GB, free: 14.29 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.004502/2.035, allocations: 451.9 kB / 1.157 GB, free: 13.84 MB / 0.7761 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 23 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (66): * Single equations (assignments): 62 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(2,100.0%) 6,(2,100.0%) 6,(2,100.0%) 6} * Non-linear torn systems: 1 {2 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004605/2.035, allocations: 123.1 kB / 1.157 GB, free: 13.71 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.01466/2.05, allocations: 3.121 MB / 1.16 GB, free: 10.55 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.378e-05/2.05, allocations: 4 kB / 1.16 GB, free: 10.54 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.005157/2.055, allocations: 1.261 MB / 1.161 GB, free: 9.242 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001396/2.057, allocations: 85.77 kB / 1.161 GB, free: 9.156 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01796/2.075, allocations: 2.37 MB / 1.163 GB, free: 6.688 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001914/2.077, allocations: 1.128 MB / 1.165 GB, free: 5.535 MB / 0.7761 GB Notification: Performance of SimCode: time 1.483e-06/2.077, allocations: 0 / 1.165 GB, free: 5.535 MB / 0.7761 GB