Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) 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.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Impedances",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances,fileNamePrefix="Buildings_maint_7_0_x_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.3-maint.7.0.x/package.mo): time 1.28/1.28, allocations: 249.4 MB / 256.7 MB, free: 6.93 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.0009923/0.0009924, allocations: 177.3 kB / 316 MB, free: 3.582 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.245/1.245, allocations: 205.1 MB / 0.5667 GB, free: 15.69 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009524/0.0009521, allocations: 103.3 kB / 0.671 GB, free: 4.82 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.3338/0.3348, allocations: 112.5 MB / 0.7808 GB, free: 103 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1687/0.5035, allocations: 106.3 MB / 0.8847 GB, free: 12.56 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.4884/0.992, allocations: 161.5 MB / 1.042 GB, free: 10.85 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002319/0.9922, allocations: 99.14 kB / 1.043 GB, free: 10.8 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.1908/1.183, allocations: 87.39 MB / 1.128 GB, free: 13.42 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.178e-05/1.183, allocations: 12.75 kB / 1.128 GB, free: 13.41 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003838/1.187, allocations: 0.6799 MB / 1.129 GB, free: 12.72 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002615/1.19, allocations: 1.539 MB / 1.13 GB, free: 11.14 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.059e-05/1.19, allocations: 76 kB / 1.13 GB, free: 11.06 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000327/1.19, allocations: 136 kB / 1.13 GB, free: 10.93 MB / 0.7448 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004462/1.194, allocations: 2.79 MB / 1.133 GB, free: 8.133 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005174/1.2, allocations: 3.558 MB / 1.136 GB, free: 4.402 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.945e-05/1.2, allocations: 11.78 kB / 1.136 GB, free: 4.391 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002189/1.2, allocations: 4 kB / 1.136 GB, free: 4.387 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001807/1.2, allocations: 168.5 kB / 1.137 GB, free: 4.219 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0168/1.217, allocations: 15.99 MB / 1.152 GB, free: 2.781 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00127/1.218, allocations: 1.07 MB / 1.153 GB, free: 1.684 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008328/1.219, allocations: 0.6213 MB / 1.154 GB, free: 1.055 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001393/1.219, allocations: 97.75 kB / 1.154 GB, free: 0.9414 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.775e-05/1.219, allocations: 43.2 kB / 1.154 GB, free: 0.8906 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=72): time 2.324e-06/1.219, allocations: 0 / 1.154 GB, free: 0.8906 MB / 0.7605 GB Notification: Performance of matching and sorting (n=76): time 0.004667/1.224, allocations: 2.815 MB / 1.157 GB, free: 14.04 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.573e-05/1.224, allocations: 111.5 kB / 1.157 GB, free: 13.91 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001014/1.225, allocations: 0.8481 MB / 1.158 GB, free: 13.05 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 4.65e-05/1.225, allocations: 25.7 kB / 1.158 GB, free: 13.02 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005223/1.226, allocations: 1.005 MB / 1.159 GB, free: 12 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002023/1.226, allocations: 264.2 kB / 1.159 GB, free: 11.74 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.49e-05/1.226, allocations: 4.062 kB / 1.159 GB, free: 11.73 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001815/1.226, allocations: 410.7 kB / 1.159 GB, free: 11.32 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000795/1.227, allocations: 0.6325 MB / 1.16 GB, free: 10.69 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001119/1.228, allocations: 1.165 MB / 1.161 GB, free: 9.281 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001605/1.23, allocations: 1.002 MB / 1.162 GB, free: 8.277 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.456e-06/1.23, allocations: 4 kB / 1.162 GB, free: 8.273 MB / 0.7761 GB Notification: Performance of matching and sorting (n=169) (initialization): time 0.003349/1.233, allocations: 2.056 MB / 1.164 GB, free: 6.195 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.543e-05/1.233, allocations: 4 kB / 1.164 GB, free: 6.191 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.428e-05/1.233, allocations: 23.91 kB / 1.164 GB, free: 6.168 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004161/1.233, allocations: 167.8 kB / 1.164 GB, free: 5.992 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001187/1.235, allocations: 323.4 kB / 1.165 GB, free: 5.676 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.684e-05/1.235, allocations: 39.86 kB / 1.165 GB, free: 5.637 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000981/1.236, allocations: 91.72 kB / 1.165 GB, free: 5.547 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001049/1.236, allocations: 68 kB / 1.165 GB, free: 5.48 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.0001908/1.236, allocations: 152.4 kB / 1.165 GB, free: 5.324 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001876/1.236, allocations: 110.7 kB / 1.165 GB, free: 5.215 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002204/1.238, allocations: 1.353 MB / 1.166 GB, free: 3.84 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.376e-06/1.238, allocations: 12 kB / 1.166 GB, free: 3.828 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.093e-06/1.238, allocations: 0 / 1.166 GB, free: 3.828 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.918e-06/1.238, allocations: 3.984 kB / 1.166 GB, free: 3.824 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005192/1.244, allocations: 3.371 MB / 1.17 GB, free: 328 kB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.235e-06/1.244, allocations: 7.984 kB / 1.17 GB, free: 320 kB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006514/1.244, allocations: 151.8 kB / 1.17 GB, free: 168 kB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003528/1.245, allocations: 143.3 kB / 1.17 GB, free: 12 kB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.551e-05/1.245, allocations: 4.062 kB / 1.17 GB, free: 8 kB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.741e-06/1.245, allocations: 8 kB / 1.17 GB, free: 0 / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-05/1.245, allocations: 4.047 kB / 1.17 GB, free: 15.99 MB / 0.7917 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002164/1.247, allocations: 1.699 MB / 1.172 GB, free: 14.18 MB / 0.7917 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002214/1.249, allocations: 2.102 MB / 1.174 GB, free: 11.96 MB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004858/1.25, allocations: 295.7 kB / 1.174 GB, free: 11.65 MB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001932/1.25, allocations: 8 kB / 1.174 GB, free: 11.64 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006536/1.251, allocations: 51.92 kB / 1.174 GB, free: 11.59 MB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001404/1.251, allocations: 48.5 kB / 1.174 GB, free: 11.54 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.905e-05/1.251, allocations: 24 kB / 1.174 GB, free: 11.52 MB / 0.7917 GB Notification: Performance of sort global known variables: time 0.0008414/1.252, allocations: 0.6361 MB / 1.175 GB, free: 10.87 MB / 0.7917 GB Notification: Performance of remove unused functions: time 0.001905/1.253, allocations: 375.9 kB / 1.175 GB, free: 10.5 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.0001927/1.254, allocations: 127 kB / 1.175 GB, free: 10.37 MB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 0.002048/1.256, allocations: 1.747 MB / 1.177 GB, free: 8.539 MB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/1.256, allocations: 1.562 kB / 1.177 GB, free: 8.539 MB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 0.000893/1.257, allocations: 0.9087 MB / 1.178 GB, free: 7.543 MB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001009/1.258, allocations: 208.5 kB / 1.178 GB, free: 7.34 MB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005976/1.264, allocations: 3.104 MB / 1.181 GB, free: 4.156 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002231/1.266, allocations: 2.053 MB / 1.183 GB, free: 2.066 MB / 0.7917 GB Notification: Performance of SimCode: time 1.152e-06/1.266, allocations: 0 / 1.183 GB, free: 2.066 MB / 0.7917 GB (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Impedances_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Impedances.fmu > Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe 2>&1)