Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformerFull.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.ACACTransformerFull,fileNamePrefix="Buildings_7_0_0_Buildings_Electrical_AC_ThreePhasesBalanced_Conversion_Examples_ACACTransformerFull",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.329/2.329, allocations: 248.6 MB / 255.9 MB, free: 7.156 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.002391/0.00239, allocations: 185.2 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.046/2.046, 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.001876/0.001876, allocations: 95.27 kB / 0.67 GB, free: 5.605 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.4933/0.4952, allocations: 112.4 MB / 0.7797 GB, free: 103.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2592/0.7545, allocations: 106.2 MB / 0.8835 GB, free: 13.37 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8118/1.566, allocations: 178.4 MB / 1.058 GB, free: 12.45 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004899/1.567, allocations: 90.69 kB / 1.058 GB, free: 12.39 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 184 * Number of variables: 184 Notification: Performance of Generate backend data structure: time 0.2267/1.794, allocations: 46.94 MB / 1.104 GB, free: 5.145 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.011e-05/1.794, allocations: 8 kB / 1.104 GB, free: 5.137 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0212/1.815, allocations: 1.251 MB / 1.105 GB, free: 3.887 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003226/1.818, allocations: 0.6285 MB / 1.105 GB, free: 3.312 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.5e-05/1.818, allocations: 24 kB / 1.105 GB, free: 3.289 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005797/1.819, allocations: 32 kB / 1.105 GB, free: 3.258 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.005314/1.824, allocations: 1.345 MB / 1.107 GB, free: 2.305 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004431/1.829, allocations: 1.378 MB / 1.108 GB, free: 1.18 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.907e-05/1.829, allocations: 3.938 kB / 1.108 GB, free: 1.176 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001998/1.829, allocations: 4 kB / 1.108 GB, free: 1.172 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000598/1.83, allocations: 139.2 kB / 1.108 GB, free: 1.043 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01975/1.849, allocations: 6.541 MB / 1.115 GB, free: 11.12 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002528/1.852, allocations: 0.8374 MB / 1.115 GB, free: 10.36 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001872/1.854, allocations: 0.573 MB / 1.116 GB, free: 9.777 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005603/1.86, allocations: 1.492 MB / 1.117 GB, free: 8.215 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.059e-05/1.86, allocations: 38.56 kB / 1.118 GB, free: 8.168 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=73): time 4.849e-06/1.86, allocations: 0 / 1.118 GB, free: 8.168 MB / 0.7292 GB Notification: Performance of matching and sorting (n=107): time 0.02321/1.883, allocations: 4.189 MB / 1.122 GB, free: 3.957 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.243e-05/1.883, allocations: 90.05 kB / 1.122 GB, free: 3.848 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00107/1.884, allocations: 478 kB / 1.122 GB, free: 3.371 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 0.0003176/1.885, allocations: 25.7 kB / 1.122 GB, free: 3.34 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002954/1.885, allocations: 363.1 kB / 1.123 GB, free: 2.977 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005485/1.885, allocations: 350.7 kB / 1.123 GB, free: 2.629 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001691/1.886, allocations: 0 / 1.123 GB, free: 2.629 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0002345/1.886, allocations: 390.7 kB / 1.123 GB, free: 2.238 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002434/1.888, allocations: 0.7601 MB / 1.124 GB, free: 1.477 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002717/1.891, allocations: 1.078 MB / 1.125 GB, free: 264 kB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00637/1.897, allocations: 1.018 MB / 1.126 GB, free: 15.24 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.042e-05/1.898, allocations: 7.938 kB / 1.126 GB, free: 15.23 MB / 0.7448 GB Notification: Performance of matching and sorting (n=162) (initialization): time 0.01841/1.916, allocations: 2.937 MB / 1.129 GB, free: 12.28 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 0.001924/1.918, allocations: 3.911 MB / 1.133 GB, free: 8.059 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.941e-05/1.918, allocations: 11.94 kB / 1.133 GB, free: 8.047 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008006/1.926, allocations: 0.9631 MB / 1.134 GB, free: 7.07 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004462/1.931, allocations: 387.5 kB / 1.134 GB, free: 6.691 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02188/1.953, allocations: 8.362 MB / 1.142 GB, free: 13.96 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004446/1.957, allocations: 207.7 kB / 1.142 GB, free: 13.75 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000441/1.958, allocations: 63.97 kB / 1.142 GB, free: 13.69 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 1.53e-05/1.958, allocations: 8.094 kB / 1.142 GB, free: 13.68 MB / 0.7605 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01005/1.968, allocations: 2.336 MB / 1.145 GB, free: 11.34 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.306e-05/1.968, allocations: 8 kB / 1.145 GB, free: 11.33 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003377/1.971, allocations: 0.5732 MB / 1.145 GB, free: 10.74 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005385/1.977, allocations: 411.4 kB / 1.146 GB, free: 10.34 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01733/1.994, allocations: 8.094 MB / 1.154 GB, free: 1.789 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004107/1.998, allocations: 191.7 kB / 1.154 GB, free: 1.602 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003805/1.999, allocations: 59.97 kB / 1.154 GB, free: 1.543 MB / 0.7605 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 45 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (122): * Single equations (assignments): 118 * 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%) 8,(2,100.0%) 8,(3,100.0%) 9} * Non-linear torn systems: 1 {3 9} Notification: Performance of prepare postOptimizeDAE: time 0.0006018/1.999, allocations: 140.6 kB / 1.154 GB, free: 1.398 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003995/2, allocations: 82.97 kB / 1.154 GB, free: 1.316 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01479/2.014, allocations: 2.999 MB / 1.157 GB, free: 14.29 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.415e-05/2.014, allocations: 19.98 kB / 1.157 GB, free: 14.27 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.076e-05/2.015, allocations: 4 kB / 1.157 GB, free: 14.26 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.584e-05/2.015, allocations: 3.984 kB / 1.157 GB, free: 14.26 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01806/2.033, allocations: 4.565 MB / 1.161 GB, free: 9.566 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.421e-05/2.033, allocations: 11.94 kB / 1.161 GB, free: 9.555 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003733/2.036, allocations: 295.9 kB / 1.162 GB, free: 9.266 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007686/2.044, allocations: 1.03 MB / 1.163 GB, free: 8.223 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003343/2.045, allocations: 15.98 kB / 1.163 GB, free: 8.207 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02975/2.074, allocations: 9.706 MB / 1.172 GB, free: 14.04 MB / 0.7917 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.326e-05/2.074, allocations: 11.94 kB / 1.172 GB, free: 14.02 MB / 0.7917 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01416/2.089, allocations: 3.104 MB / 1.175 GB, free: 10.68 MB / 0.7917 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.01515/2.104, allocations: 3.533 MB / 1.179 GB, free: 6.895 MB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002064/2.106, allocations: 343.8 kB / 1.179 GB, free: 6.539 MB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009299/2.107, allocations: 11.98 kB / 1.179 GB, free: 6.527 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006801/2.114, allocations: 215.7 kB / 1.179 GB, free: 6.316 MB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006192/2.114, allocations: 84.19 kB / 1.179 GB, free: 6.234 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003859/2.115, allocations: 39.97 kB / 1.179 GB, free: 6.195 MB / 0.7917 GB Notification: Performance of sort global known variables: time 0.001167/2.116, allocations: 362.9 kB / 1.18 GB, free: 5.84 MB / 0.7917 GB Notification: Performance of remove unused functions: time 0.007611/2.124, allocations: 0.5155 MB / 1.18 GB, free: 5.324 MB / 0.7917 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 24 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (68): * Single equations (assignments): 64 * 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 {(3,100.0%) 9,(2,100.0%) 8,(2,100.0%) 8} * Non-linear torn systems: 1 {3 9} Notification: Performance of Backend phase and start with SimCode phase: time 0.0005226/2.124, allocations: 131 kB / 1.18 GB, free: 5.188 MB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 0.01435/2.139, allocations: 3.904 MB / 1.184 GB, free: 1.219 MB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 1.229e-05/2.139, allocations: 3.938 kB / 1.184 GB, free: 1.215 MB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 0.005706/2.144, allocations: 1.536 MB / 1.186 GB, free: 15.64 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001458/2.146, allocations: 108.3 kB / 1.186 GB, free: 15.53 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0226/2.169, allocations: 2.632 MB / 1.188 GB, free: 12.8 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003549/2.172, allocations: 1.192 MB / 1.19 GB, free: 11.58 MB / 0.8073 GB Notification: Performance of SimCode: time 1.923e-06/2.172, allocations: 0 / 1.19 GB, free: 11.58 MB / 0.8073 GB