Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances,fileNamePrefix="Buildings_8_Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_Impedances",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances,fileNamePrefix="Buildings_8_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 8.1.4-maint.8.1.x/package.mo): time 1.398/1.398, allocations: 289.8 MB / 297 MB, free: 6.637 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009454/0.0009454, allocations: 184.2 kB / 366.3 MB, free: 1.938 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.042/1.042, allocations: 205.1 MB / 0.6256 GB, free: 5.801 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00079/0.00079, allocations: 90.03 kB / 0.7395 GB, free: 39.61 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.1891/0.1899, allocations: 122.4 MB / 0.8591 GB, free: 13.21 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4364/0.6263, allocations: 116.3 MB / 0.9727 GB, free: 68.18 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1539/0.7803, allocations: 154.5 MB / 1.124 GB, free: 9.852 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002177/0.7806, allocations: 91.94 kB / 1.124 GB, free: 9.762 MB / 0.7292 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.06611/0.8467, allocations: 30.1 MB / 1.153 GB, free: 11.37 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 3.214e-05/0.8467, allocations: 8 kB / 1.153 GB, free: 11.36 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001307/0.848, allocations: 206.8 kB / 1.153 GB, free: 11.16 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007707/0.8488, allocations: 0.4924 MB / 1.154 GB, free: 10.62 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.096e-05/0.8489, allocations: 16 kB / 1.154 GB, free: 10.61 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.693e-05/0.8489, allocations: 24 kB / 1.154 GB, free: 10.58 MB / 0.7605 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006635/0.8496, allocations: 430.2 kB / 1.154 GB, free: 10.16 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001018/0.8506, allocations: 0.8653 MB / 1.155 GB, free: 9.113 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.835e-05/0.8507, allocations: 11.92 kB / 1.155 GB, free: 9.102 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.128e-05/0.8507, allocations: 4 kB / 1.155 GB, free: 9.098 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.544e-05/0.8508, allocations: 56.69 kB / 1.155 GB, free: 9.043 MB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004243/0.8551, allocations: 5.57 MB / 1.161 GB, free: 3.09 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004875/0.8556, allocations: 418.4 kB / 1.161 GB, free: 2.672 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002652/0.8558, allocations: 221.3 kB / 1.161 GB, free: 2.453 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 2.625e-05/0.8559, allocations: 8 kB / 1.161 GB, free: 2.445 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.967e-05/0.8559, allocations: 38.48 kB / 1.161 GB, free: 2.398 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=32): time 1.683e-06/0.8559, allocations: 0 / 1.161 GB, free: 2.398 MB / 0.7605 GB Notification: Performance of matching and sorting (n=33): time 0.001389/0.8573, allocations: 0.8285 MB / 1.162 GB, free: 1.547 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.541e-05/0.8573, allocations: 55.41 kB / 1.162 GB, free: 1.48 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003284/0.8577, allocations: 358 kB / 1.162 GB, free: 1.125 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 2.553e-05/0.8577, allocations: 25.7 kB / 1.162 GB, free: 1.094 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001759/0.8579, allocations: 307.4 kB / 1.163 GB, free: 0.7852 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 7.685e-05/0.858, allocations: 106.4 kB / 1.163 GB, free: 0.6797 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.968e-05/0.858, allocations: 4 kB / 1.163 GB, free: 0.6758 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0001326/0.8581, allocations: 362.8 kB / 1.163 GB, free: 320 kB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002306/0.8584, allocations: 181.2 kB / 1.163 GB, free: 140 kB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003575/0.8587, allocations: 389.5 kB / 1.164 GB, free: 15.66 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003285/0.8591, allocations: 252 kB / 1.164 GB, free: 15.41 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.939e-06/0.8591, allocations: 4 kB / 1.164 GB, free: 15.41 MB / 0.7761 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001134/0.8602, allocations: 0.7121 MB / 1.165 GB, free: 14.68 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.489e-05/0.8603, allocations: 8.031 kB / 1.165 GB, free: 14.67 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.343e-05/0.8603, allocations: 8 kB / 1.165 GB, free: 14.66 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004902/0.8608, allocations: 148.2 kB / 1.165 GB, free: 14.5 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004235/0.8612, allocations: 107.8 kB / 1.165 GB, free: 14.39 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002889/0.8641, allocations: 3.867 MB / 1.169 GB, free: 10.18 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003095/0.8644, allocations: 19.92 kB / 1.169 GB, free: 10.16 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.207e-05/0.8645, allocations: 35.89 kB / 1.169 GB, free: 10.13 MB / 0.7761 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.0001118/0.8646, allocations: 116.8 kB / 1.169 GB, free: 10.01 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.099e-05/0.8647, allocations: 59.44 kB / 1.169 GB, free: 9.949 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009569/0.8657, allocations: 0.5768 MB / 1.169 GB, free: 9.348 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.396e-06/0.8657, allocations: 0 / 1.169 GB, free: 9.348 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.079e-06/0.8657, allocations: 4 kB / 1.169 GB, free: 9.344 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.792e-06/0.8657, allocations: 7.984 kB / 1.169 GB, free: 9.336 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00158/0.8673, allocations: 1.174 MB / 1.171 GB, free: 8.082 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.725e-06/0.8673, allocations: 0 / 1.171 GB, free: 8.082 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002543/0.8676, allocations: 55.95 kB / 1.171 GB, free: 8.027 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003984/0.868, allocations: 140.3 kB / 1.171 GB, free: 7.875 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.44e-05/0.868, allocations: 4 kB / 1.171 GB, free: 7.871 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002669/0.8707, allocations: 3.842 MB / 1.175 GB, free: 3.684 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.06e-06/0.8707, allocations: 8.094 kB / 1.175 GB, free: 3.676 MB / 0.7761 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0009178/0.8716, allocations: 0.7747 MB / 1.175 GB, free: 2.805 MB / 0.7761 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001036/0.8727, allocations: 1.165 MB / 1.176 GB, free: 1.539 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001855/0.8729, allocations: 160.4 kB / 1.177 GB, free: 1.363 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.873e-05/0.8729, allocations: 3.984 kB / 1.177 GB, free: 1.359 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002372/0.8732, allocations: 11.98 kB / 1.177 GB, free: 1.348 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.002e-05/0.8732, allocations: 19.89 kB / 1.177 GB, free: 1.328 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.38e-05/0.8733, allocations: 12 kB / 1.177 GB, free: 1.316 MB / 0.7761 GB Notification: Performance of sort global known variables: time 0.0002379/0.8735, allocations: 270.9 kB / 1.177 GB, free: 1.055 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.00109/0.8746, allocations: 128 kB / 1.177 GB, free: 0.9297 MB / 0.7761 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.0001566/0.8748, allocations: 107.2 kB / 1.177 GB, free: 0.8125 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.001288/0.8761, allocations: 0.9557 MB / 1.178 GB, free: 15.79 MB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/0.8761, allocations: 0 / 1.178 GB, free: 15.79 MB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 0.000731/0.8768, allocations: 0.7084 MB / 1.179 GB, free: 15 MB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007633/0.8776, allocations: 159.3 kB / 1.179 GB, free: 14.86 MB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00128/0.8789, allocations: 0.7699 MB / 1.18 GB, free: 14.04 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005264/0.8794, allocations: 0.9526 MB / 1.181 GB, free: 13.06 MB / 0.7917 GB Notification: Performance of SimCode: time 3.2e-07/0.8794, allocations: 4 kB / 1.181 GB, free: 13.05 MB / 0.7917 GB (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_Impedances_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_Impedances.fmu > Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe 2>&1)