Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.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.ThreePhasesBalanced.Conversion.Examples.ACACTransformer,fileNamePrefix="Buildings_7_0_0_Buildings_Electrical_AC_ThreePhasesBalanced_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.427/2.427, allocations: 248.6 MB / 255.9 MB, free: 7.141 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.002298/0.002298, allocations: 179.6 kB / 315.1 MB, free: 4.191 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.038/2.038, allocations: 205.1 MB / 0.5658 GB, free: 296 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.001814/0.001814, allocations: 97.72 kB / 0.67 GB, free: 5.508 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.4674/0.4692, allocations: 112.4 MB / 0.7797 GB, free: 103.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2661/0.7354, allocations: 106.3 MB / 0.8835 GB, free: 13.25 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.779/1.514, allocations: 174.2 MB / 1.054 GB, free: 236 kB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004154/1.515, allocations: 93.48 kB / 1.054 GB, free: 184 kB / 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.2379/1.753, allocations: 45.02 MB / 1.098 GB, free: 10.61 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 6.182e-05/1.753, allocations: 8 kB / 1.098 GB, free: 10.6 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02365/1.777, allocations: 1.18 MB / 1.099 GB, free: 9.418 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001797/1.778, allocations: 0.5533 MB / 1.099 GB, free: 8.906 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.871e-05/1.779, allocations: 24 kB / 1.099 GB, free: 8.883 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002599/1.779, allocations: 32 kB / 1.099 GB, free: 8.852 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004274/1.783, allocations: 1.276 MB / 1.101 GB, free: 7.949 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003662/1.787, allocations: 1.288 MB / 1.102 GB, free: 6.883 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.264e-05/1.787, allocations: 4 kB / 1.102 GB, free: 6.879 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001852/1.787, allocations: 4 kB / 1.102 GB, free: 6.875 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003851/1.788, allocations: 100.3 kB / 1.102 GB, free: 6.781 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01723/1.805, allocations: 6.231 MB / 1.108 GB, free: 0.9727 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002519/1.807, allocations: 0.9239 MB / 1.109 GB, free: 264 kB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001577/1.809, allocations: 0.5662 MB / 1.11 GB, free: 15.86 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.006101/1.815, allocations: 2.223 MB / 1.112 GB, free: 13.79 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.627e-05/1.815, allocations: 60.64 kB / 1.112 GB, free: 13.73 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=69): time 4.538e-06/1.815, allocations: 4 kB / 1.112 GB, free: 13.73 MB / 0.7292 GB Notification: Performance of matching and sorting (n=93): time 0.01764/1.833, allocations: 3.575 MB / 1.115 GB, free: 10.17 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001201/1.833, allocations: 195.9 kB / 1.115 GB, free: 9.938 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009304/1.834, allocations: 433 kB / 1.116 GB, free: 9.508 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 0.0002692/1.834, allocations: 29.7 kB / 1.116 GB, free: 9.473 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002996/1.835, allocations: 350.8 kB / 1.116 GB, free: 9.121 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.000526/1.835, allocations: 315.3 kB / 1.117 GB, free: 8.809 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001513/1.835, allocations: 0 / 1.117 GB, free: 8.809 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0002275/1.836, allocations: 378.8 kB / 1.117 GB, free: 8.43 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001941/1.838, allocations: 0.639 MB / 1.118 GB, free: 7.789 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002298/1.84, allocations: 0.9168 MB / 1.118 GB, free: 6.766 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003568/1.843, allocations: 0.8759 MB / 1.119 GB, free: 5.887 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.7e-05/1.844, allocations: 7.938 kB / 1.119 GB, free: 5.879 MB / 0.7292 GB Notification: Performance of matching and sorting (n=151) (initialization): time 0.01193/1.855, allocations: 2.396 MB / 1.122 GB, free: 3.465 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 0.001676/1.857, allocations: 3.132 MB / 1.125 GB, free: 84 kB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.263e-05/1.857, allocations: 15.94 kB / 1.125 GB, free: 68 kB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007517/1.865, allocations: 0.6628 MB / 1.125 GB, free: 15.39 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006714/1.872, allocations: 395.4 kB / 1.126 GB, free: 15 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01617/1.888, allocations: 6.935 MB / 1.133 GB, free: 7.695 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004547/1.892, allocations: 195.8 kB / 1.133 GB, free: 7.504 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004085/1.893, allocations: 59.97 kB / 1.133 GB, free: 7.445 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.352e-05/1.893, allocations: 7.938 kB / 1.133 GB, free: 7.438 MB / 0.7448 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007251/1.9, allocations: 1.785 MB / 1.135 GB, free: 5.648 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.695e-05/1.9, allocations: 8 kB / 1.135 GB, free: 5.641 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00117/1.901, allocations: 214 kB / 1.135 GB, free: 5.426 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005238/1.907, allocations: 439.3 kB / 1.135 GB, free: 4.996 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008063/1.915, allocations: 3.672 MB / 1.139 GB, free: 1.094 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004481/1.919, allocations: 199.9 kB / 1.139 GB, free: 0.8984 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004073/1.92, allocations: 63.97 kB / 1.139 GB, free: 0.8359 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.0004959/1.92, allocations: 128.7 kB / 1.139 GB, free: 0.7031 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004303/1.921, allocations: 71.16 kB / 1.139 GB, free: 0.6328 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01364/1.934, allocations: 2.353 MB / 1.141 GB, free: 14.26 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.58e-05/1.935, allocations: 8 kB / 1.141 GB, free: 14.25 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.929e-05/1.935, allocations: 8 kB / 1.141 GB, free: 14.24 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.908e-05/1.935, allocations: 3.984 kB / 1.141 GB, free: 14.24 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01601/1.951, allocations: 4.124 MB / 1.146 GB, free: 9.984 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.928e-05/1.951, allocations: 8 kB / 1.146 GB, free: 9.977 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003739/1.954, allocations: 292.2 kB / 1.146 GB, free: 9.691 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00679/1.961, allocations: 0.7954 MB / 1.147 GB, free: 8.883 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003216/1.962, allocations: 19.97 kB / 1.147 GB, free: 8.863 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01834/1.98, allocations: 7.915 MB / 1.154 GB, free: 500 kB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.571e-05/1.98, allocations: 11.94 kB / 1.154 GB, free: 488 kB / 0.7605 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01055/1.991, allocations: 2.695 MB / 1.157 GB, free: 13.55 MB / 0.7761 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.01069/2.001, allocations: 3.096 MB / 1.16 GB, free: 10.23 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00121/2.003, allocations: 308.1 kB / 1.16 GB, free: 9.906 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004926/2.003, allocations: 8 kB / 1.16 GB, free: 9.898 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004221/2.007, allocations: 211.6 kB / 1.161 GB, free: 9.691 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003731/2.008, allocations: 63.83 kB / 1.161 GB, free: 9.629 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001947/2.008, allocations: 39.97 kB / 1.161 GB, free: 9.59 MB / 0.7761 GB Notification: Performance of sort global known variables: time 0.0008547/2.009, allocations: 334.9 kB / 1.161 GB, free: 9.262 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.005883/2.015, allocations: 443.9 kB / 1.161 GB, free: 8.828 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.0005657/2.016, allocations: 135 kB / 1.161 GB, free: 8.684 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.01092/2.026, allocations: 3.114 MB / 1.165 GB, free: 5.523 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.323e-05/2.027, allocations: 8.125 kB / 1.165 GB, free: 5.516 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.004264/2.031, allocations: 1.272 MB / 1.166 GB, free: 4.203 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002061/2.033, allocations: 83.5 kB / 1.166 GB, free: 4.125 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01978/2.053, allocations: 2.366 MB / 1.168 GB, free: 1.66 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001961/2.055, allocations: 1.136 MB / 1.169 GB, free: 0.4922 MB / 0.7761 GB Notification: Performance of SimCode: time 2.194e-06/2.055, allocations: 0 / 1.169 GB, free: 0.4922 MB / 0.7761 GB