Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.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.Loads.Examples.Impedances,fileNamePrefix="Buildings_7_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Impedances",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.415/2.415, allocations: 248.6 MB / 255.9 MB, free: 7.137 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.002722/0.002722, allocations: 182.9 kB / 315.1 MB, free: 4.285 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.138/2.138, allocations: 205.1 MB / 0.5658 GB, free: 308 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.001271/0.001271, allocations: 82.72 kB / 0.67 GB, free: 5.52 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.5256/0.5269, allocations: 112.4 MB / 0.7797 GB, free: 103.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2216/0.7486, allocations: 106.2 MB / 0.8835 GB, free: 13.33 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7096/1.458, allocations: 161.4 MB / 1.041 GB, free: 12.28 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003431/1.459, allocations: 99.36 kB / 1.041 GB, free: 12.23 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: 641 * Number of variables: 641 Notification: Performance of Generate backend data structure: time 0.3796/1.838, allocations: 87.39 MB / 1.126 GB, free: 14.92 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 5.4e-05/1.838, allocations: 12.75 kB / 1.127 GB, free: 14.91 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007772/1.846, allocations: 0.676 MB / 1.127 GB, free: 14.23 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008456/1.855, allocations: 1.539 MB / 1.129 GB, free: 12.64 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003059/1.855, allocations: 79.94 kB / 1.129 GB, free: 12.56 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001717/1.857, allocations: 136 kB / 1.129 GB, free: 12.43 MB / 0.7448 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01209/1.869, allocations: 2.798 MB / 1.132 GB, free: 9.625 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01385/1.883, allocations: 3.554 MB / 1.135 GB, free: 5.898 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.034e-05/1.883, allocations: 7.906 kB / 1.135 GB, free: 5.891 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004576/1.883, allocations: 4 kB / 1.135 GB, free: 5.887 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002764/1.884, allocations: 168.5 kB / 1.135 GB, free: 5.719 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03586/1.92, allocations: 15.99 MB / 1.151 GB, free: 4.285 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002778/1.922, allocations: 1.066 MB / 1.152 GB, free: 3.191 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001921/1.924, allocations: 0.6174 MB / 1.153 GB, free: 2.566 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002457/1.925, allocations: 89.77 kB / 1.153 GB, free: 2.461 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.381e-05/1.925, allocations: 55.14 kB / 1.153 GB, free: 2.398 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=72): time 3.997e-06/1.925, allocations: 0 / 1.153 GB, free: 2.398 MB / 0.7605 GB Notification: Performance of matching and sorting (n=76): time 0.009051/1.934, allocations: 2.815 MB / 1.155 GB, free: 15.55 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.802e-05/1.934, allocations: 111.5 kB / 1.156 GB, free: 15.42 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002138/1.936, allocations: 0.8481 MB / 1.156 GB, free: 14.56 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 0.000179/1.936, allocations: 25.7 kB / 1.156 GB, free: 14.53 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009245/1.937, allocations: 1.001 MB / 1.157 GB, free: 13.51 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004274/1.938, allocations: 268.1 kB / 1.158 GB, free: 13.25 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001124/1.938, allocations: 0 / 1.158 GB, free: 13.25 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0003056/1.938, allocations: 410.7 kB / 1.158 GB, free: 12.84 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001713/1.94, allocations: 0.6364 MB / 1.159 GB, free: 12.2 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002314/1.942, allocations: 1.165 MB / 1.16 GB, free: 10.79 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003335/1.946, allocations: 0.9983 MB / 1.161 GB, free: 9.789 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-05/1.946, allocations: 7.938 kB / 1.161 GB, free: 9.781 MB / 0.7761 GB Notification: Performance of matching and sorting (n=169) (initialization): time 0.00709/1.953, allocations: 2.053 MB / 1.163 GB, free: 7.707 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 2.549e-05/1.953, allocations: 4 kB / 1.163 GB, free: 7.703 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.451e-05/1.953, allocations: 20 kB / 1.163 GB, free: 7.684 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008323/1.954, allocations: 167.2 kB / 1.163 GB, free: 7.508 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002683/1.956, allocations: 331.8 kB / 1.163 GB, free: 7.184 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.356e-05/1.957, allocations: 39.86 kB / 1.163 GB, free: 7.145 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002062/1.959, allocations: 91.72 kB / 1.163 GB, free: 7.055 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003197/1.959, allocations: 60 kB / 1.163 GB, free: 6.996 MB / 0.7761 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 82 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (165): * Single equations (assignments): 161 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 4 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 4 {(2,100.0%),(2,100.0%),(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005279/1.96, allocations: 159.3 kB / 1.164 GB, free: 6.836 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000708/1.96, allocations: 106.7 kB / 1.164 GB, free: 6.73 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006231/1.967, allocations: 1.345 MB / 1.165 GB, free: 5.363 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.127e-05/1.967, allocations: 12 kB / 1.165 GB, free: 5.352 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.022e-05/1.967, allocations: 8.031 kB / 1.165 GB, free: 5.344 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.642e-05/1.967, allocations: 7.969 kB / 1.165 GB, free: 5.336 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01365/1.98, allocations: 3.367 MB / 1.168 GB, free: 1.836 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.045e-05/1.98, allocations: 4 kB / 1.168 GB, free: 1.832 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001496/1.982, allocations: 156 kB / 1.168 GB, free: 1.68 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007019/1.983, allocations: 151.2 kB / 1.169 GB, free: 1.52 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001205/1.983, allocations: 4 kB / 1.169 GB, free: 1.516 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.059e-05/1.983, allocations: 4 kB / 1.169 GB, free: 1.512 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.364e-06/1.983, allocations: 4 kB / 1.169 GB, free: 1.508 MB / 0.7761 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.006857/1.99, allocations: 1.707 MB / 1.17 GB, free: 15.68 MB / 0.7917 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.006267/1.996, allocations: 2.094 MB / 1.172 GB, free: 13.47 MB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001306/1.997, allocations: 299.7 kB / 1.173 GB, free: 13.16 MB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005451/1.998, allocations: 4 kB / 1.173 GB, free: 13.15 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001926/2, allocations: 55.92 kB / 1.173 GB, free: 13.1 MB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002034/2, allocations: 48.44 kB / 1.173 GB, free: 13.05 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.661e-05/2, allocations: 24 kB / 1.173 GB, free: 13.03 MB / 0.7917 GB Notification: Performance of sort global known variables: time 0.001547/2.002, allocations: 0.6322 MB / 1.173 GB, free: 12.38 MB / 0.7917 GB Notification: Performance of remove unused functions: time 0.003453/2.005, allocations: 383.9 kB / 1.174 GB, free: 12.01 MB / 0.7917 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (76): * Single equations (assignments): 72 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 4 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 4 {(2,100.0%),(2,100.0%),(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004494/2.006, allocations: 127.1 kB / 1.174 GB, free: 11.88 MB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 0.004299/2.01, allocations: 1.748 MB / 1.176 GB, free: 10.04 MB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 7.755e-06/2.01, allocations: 0 / 1.176 GB, free: 10.04 MB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 0.001752/2.012, allocations: 0.9003 MB / 1.176 GB, free: 9.055 MB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002658/2.015, allocations: 209.9 kB / 1.177 GB, free: 8.848 MB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01651/2.031, allocations: 3.104 MB / 1.18 GB, free: 5.664 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004814/2.036, allocations: 2.045 MB / 1.182 GB, free: 3.582 MB / 0.7917 GB Notification: Performance of SimCode: time 1.372e-06/2.036, allocations: 0 / 1.182 GB, free: 3.582 MB / 0.7917 GB