Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.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.ThreePhasesBalanced.Loads.Examples.Impedances,fileNamePrefix="Buildings_7_0_0_Buildings_Electrical_AC_ThreePhasesBalanced_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.282/2.282, allocations: 248.6 MB / 255.9 MB, free: 7.176 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.001594/0.001594, allocations: 182.7 kB / 315.1 MB, free: 4.258 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.022/2.022, allocations: 205.1 MB / 0.5658 GB, free: 356 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.001873/0.001873, allocations: 102.6 kB / 0.67 GB, free: 5.562 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.5434/0.5453, allocations: 112.4 MB / 0.7797 GB, free: 103.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2164/0.7618, allocations: 106.2 MB / 0.8835 GB, free: 13.33 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7205/1.482, allocations: 148.1 MB / 1.028 GB, free: 9.445 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003528/1.483, allocations: 93.73 kB / 1.028 GB, free: 9.391 MB / 0.6511 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 129 * Number of variables: 129 Notification: Performance of Generate backend data structure: time 0.1359/1.619, allocations: 30.12 MB / 1.058 GB, free: 228 kB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 4.542e-05/1.619, allocations: 8 kB / 1.058 GB, free: 220 kB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002324/1.621, allocations: 202.8 kB / 1.058 GB, free: 16 kB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001468/1.623, allocations: 494.9 kB / 1.058 GB, free: 15.54 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.225e-05/1.623, allocations: 16 kB / 1.058 GB, free: 15.53 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001092/1.623, allocations: 35.84 kB / 1.058 GB, free: 15.49 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001255/1.624, allocations: 437.9 kB / 1.059 GB, free: 15.2 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001654/1.626, allocations: 0.8621 MB / 1.06 GB, free: 14.31 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.997e-05/1.626, allocations: 11.5 kB / 1.06 GB, free: 14.3 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.649e-05/1.626, allocations: 8 kB / 1.06 GB, free: 14.29 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001062/1.626, allocations: 52.12 kB / 1.06 GB, free: 14.25 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007591/1.634, allocations: 5.565 MB / 1.065 GB, free: 8.672 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001169/1.635, allocations: 424.9 kB / 1.066 GB, free: 8.355 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000522/1.635, allocations: 227.3 kB / 1.066 GB, free: 8.203 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 3.808e-05/1.636, allocations: 4 kB / 1.066 GB, free: 8.199 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.356e-05/1.636, allocations: 42.19 kB / 1.066 GB, free: 8.152 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=32): time 3.237e-06/1.636, allocations: 0 / 1.066 GB, free: 8.152 MB / 0.6823 GB Notification: Performance of matching and sorting (n=33): time 0.003153/1.639, allocations: 0.8327 MB / 1.067 GB, free: 7.457 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.649e-05/1.639, allocations: 55.41 kB / 1.067 GB, free: 7.391 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006128/1.639, allocations: 368.5 kB / 1.067 GB, free: 7.098 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 5.33e-05/1.64, allocations: 25.7 kB / 1.067 GB, free: 7.066 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002148/1.64, allocations: 295.3 kB / 1.067 GB, free: 6.801 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001357/1.64, allocations: 112.7 kB / 1.067 GB, free: 6.703 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.027e-05/1.64, allocations: 0 / 1.067 GB, free: 6.703 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.000177/1.64, allocations: 365.4 kB / 1.068 GB, free: 6.359 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004727/1.641, allocations: 172.4 kB / 1.068 GB, free: 6.25 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006974/1.641, allocations: 400.6 kB / 1.068 GB, free: 5.832 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008084/1.642, allocations: 249.2 kB / 1.069 GB, free: 5.656 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.202e-06/1.642, allocations: 0 / 1.069 GB, free: 5.656 MB / 0.6823 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.002145/1.644, allocations: 0.7101 MB / 1.069 GB, free: 5.066 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.582e-05/1.644, allocations: 8 kB / 1.069 GB, free: 5.059 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.678e-05/1.644, allocations: 4 kB / 1.069 GB, free: 5.055 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000842/1.645, allocations: 162.6 kB / 1.069 GB, free: 4.902 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008808/1.646, allocations: 106.6 kB / 1.069 GB, free: 4.801 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004745/1.651, allocations: 3.858 MB / 1.073 GB, free: 0.7383 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007269/1.652, allocations: 15.98 kB / 1.073 GB, free: 0.7227 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001114/1.652, allocations: 27.31 kB / 1.073 GB, free: 0.6992 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 33 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (61): * Single equations (assignments): 56 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002696/1.652, allocations: 123.8 kB / 1.073 GB, free: 0.5742 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000275/1.652, allocations: 55.34 kB / 1.073 GB, free: 0.5195 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002051/1.655, allocations: 0.577 MB / 1.074 GB, free: 72 kB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.659e-05/1.655, allocations: 15.89 kB / 1.074 GB, free: 56 kB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.266e-06/1.655, allocations: 0 / 1.074 GB, free: 56 kB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.589e-05/1.655, allocations: 3.984 kB / 1.074 GB, free: 52 kB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003616/1.658, allocations: 1.168 MB / 1.075 GB, free: 15.04 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.149e-05/1.658, allocations: 4 kB / 1.075 GB, free: 15.03 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005535/1.659, allocations: 55.2 kB / 1.075 GB, free: 14.98 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001104/1.66, allocations: 142.5 kB / 1.075 GB, free: 14.85 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.92e-05/1.66, allocations: 3.938 kB / 1.075 GB, free: 14.84 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004862/1.665, allocations: 3.854 MB / 1.079 GB, free: 10.79 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.033e-06/1.665, allocations: 0 / 1.079 GB, free: 10.79 MB / 0.698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001844/1.667, allocations: 0.7717 MB / 1.08 GB, free: 10.04 MB / 0.698 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002027/1.669, allocations: 1.16 MB / 1.081 GB, free: 8.914 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004162/1.669, allocations: 165.4 kB / 1.081 GB, free: 8.746 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001758/1.67, allocations: 11.84 kB / 1.081 GB, free: 8.734 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005642/1.67, allocations: 7.984 kB / 1.081 GB, free: 8.727 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.033e-05/1.67, allocations: 22.23 kB / 1.081 GB, free: 8.707 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.062e-05/1.67, allocations: 14.55 kB / 1.081 GB, free: 8.695 MB / 0.698 GB Notification: Performance of sort global known variables: time 0.0004527/1.671, allocations: 261.8 kB / 1.082 GB, free: 8.496 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001741/1.673, allocations: 127.3 kB / 1.082 GB, free: 8.375 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (29): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000238/1.673, allocations: 111.2 kB / 1.082 GB, free: 8.254 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.002191/1.675, allocations: 0.9512 MB / 1.083 GB, free: 7.363 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 9.948e-06/1.675, allocations: 4 kB / 1.083 GB, free: 7.359 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.001366/1.677, allocations: 0.7042 MB / 1.083 GB, free: 6.645 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001553/1.678, allocations: 160 kB / 1.084 GB, free: 6.52 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002368/1.681, allocations: 0.7611 MB / 1.084 GB, free: 5.785 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001038/1.682, allocations: 0.9637 MB / 1.085 GB, free: 4.805 MB / 0.698 GB Notification: Performance of SimCode: time 1.202e-06/1.682, allocations: 0 / 1.085 GB, free: 4.805 MB / 0.698 GB