Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances,fileNamePrefix="Buildings_8_0_0_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_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 8.0.0/package.mo): time 2.15/2.15, allocations: 284.8 MB / 292.1 MB, free: 10.76 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.00159/0.00159, allocations: 191.3 kB / 360.3 MB, free: 7.52 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.631/1.631, allocations: 205.1 MB / 0.6187 GB, free: 13.19 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.001177/0.001176, allocations: 87.33 kB / 0.7317 GB, free: 45.09 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2424/0.2436, allocations: 121.4 MB / 0.8502 GB, free: 3.891 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5482/0.7918, allocations: 115.2 MB / 0.9628 GB, free: 78.49 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2315/1.023, allocations: 153.4 MB / 1.113 GB, free: 3.43 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003363/1.024, allocations: 87.94 kB / 1.113 GB, free: 3.344 MB / 0.7136 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.1197/1.143, allocations: 30.11 MB / 1.142 GB, free: 5.062 MB / 0.7449 GB Notification: Performance of prepare preOptimizeDAE: time 4.282e-05/1.144, allocations: 8 kB / 1.142 GB, free: 5.055 MB / 0.7449 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002219/1.146, allocations: 202.8 kB / 1.142 GB, free: 4.855 MB / 0.7449 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001296/1.147, allocations: 0.4943 MB / 1.143 GB, free: 4.32 MB / 0.7449 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.583e-05/1.147, allocations: 16 kB / 1.143 GB, free: 4.305 MB / 0.7449 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.958e-05/1.147, allocations: 28 kB / 1.143 GB, free: 4.277 MB / 0.7449 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001224/1.148, allocations: 426.2 kB / 1.143 GB, free: 3.859 MB / 0.7449 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001723/1.15, allocations: 0.8665 MB / 1.144 GB, free: 2.816 MB / 0.7449 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.514e-05/1.15, allocations: 7.938 kB / 1.144 GB, free: 2.809 MB / 0.7449 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.456e-05/1.15, allocations: 4 kB / 1.144 GB, free: 2.805 MB / 0.7449 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000107/1.15, allocations: 60.73 kB / 1.144 GB, free: 2.746 MB / 0.7449 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007041/1.158, allocations: 5.566 MB / 1.15 GB, free: 12.79 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009982/1.159, allocations: 420.9 kB / 1.15 GB, free: 12.38 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005432/1.159, allocations: 225.3 kB / 1.15 GB, free: 12.15 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 3.375e-05/1.159, allocations: 4 kB / 1.15 GB, free: 12.15 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.282e-05/1.159, allocations: 39.08 kB / 1.15 GB, free: 12.1 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=32): time 2.805e-06/1.159, allocations: 3.938 kB / 1.15 GB, free: 12.1 MB / 0.7605 GB Notification: Performance of matching and sorting (n=33): time 0.002665/1.162, allocations: 0.8285 MB / 1.151 GB, free: 11.25 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.156e-05/1.162, allocations: 55.41 kB / 1.151 GB, free: 11.18 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006019/1.163, allocations: 358 kB / 1.151 GB, free: 10.82 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 4.362e-05/1.163, allocations: 29.7 kB / 1.151 GB, free: 10.79 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002263/1.163, allocations: 295.4 kB / 1.152 GB, free: 10.49 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001312/1.163, allocations: 114.4 kB / 1.152 GB, free: 10.38 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.031e-05/1.163, allocations: 0 / 1.152 GB, free: 10.38 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0001769/1.163, allocations: 358.8 kB / 1.152 GB, free: 10.02 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004782/1.164, allocations: 185.2 kB / 1.152 GB, free: 9.836 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007484/1.165, allocations: 393.5 kB / 1.153 GB, free: 9.355 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006818/1.165, allocations: 250.3 kB / 1.153 GB, free: 9.113 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.022e-05/1.165, allocations: 4 kB / 1.153 GB, free: 9.109 MB / 0.7605 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.002134/1.167, allocations: 0.7151 MB / 1.154 GB, free: 8.371 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 1.862e-05/1.167, allocations: 4.938 kB / 1.154 GB, free: 8.367 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.605e-05/1.167, allocations: 8 kB / 1.154 GB, free: 8.359 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008295/1.168, allocations: 148.2 kB / 1.154 GB, free: 8.199 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008991/1.169, allocations: 107.8 kB / 1.154 GB, free: 8.094 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004582/1.174, allocations: 3.865 MB / 1.158 GB, free: 3.887 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006774/1.175, allocations: 15.98 kB / 1.158 GB, free: 3.871 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.686e-05/1.175, allocations: 31.91 kB / 1.158 GB, free: 3.84 MB / 0.7605 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.0002486/1.175, allocations: 130.6 kB / 1.158 GB, free: 3.707 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001278/1.175, allocations: 55.34 kB / 1.158 GB, free: 3.652 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001813/1.177, allocations: 0.5808 MB / 1.158 GB, free: 3.051 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.965e-06/1.177, allocations: 0 / 1.158 GB, free: 3.051 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.865e-06/1.177, allocations: 4 kB / 1.158 GB, free: 3.047 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.379e-05/1.177, allocations: 3.984 kB / 1.158 GB, free: 3.043 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003029/1.18, allocations: 1.172 MB / 1.16 GB, free: 1.789 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.641e-06/1.18, allocations: 0 / 1.16 GB, free: 1.789 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005267/1.181, allocations: 47.97 kB / 1.16 GB, free: 1.742 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008096/1.181, allocations: 148.3 kB / 1.16 GB, free: 1.582 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.153e-05/1.181, allocations: 4 kB / 1.16 GB, free: 1.578 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004367/1.186, allocations: 3.834 MB / 1.164 GB, free: 13.4 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.439e-05/1.186, allocations: 4.031 kB / 1.164 GB, free: 13.4 MB / 0.7761 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001823/1.188, allocations: 0.7806 MB / 1.164 GB, free: 12.52 MB / 0.7761 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002042/1.19, allocations: 1.161 MB / 1.165 GB, free: 11.26 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003877/1.19, allocations: 169.9 kB / 1.166 GB, free: 11.08 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000111/1.19, allocations: 0 / 1.166 GB, free: 11.08 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004604/1.191, allocations: 11.98 kB / 1.166 GB, free: 11.07 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.057e-05/1.191, allocations: 19.88 kB / 1.166 GB, free: 11.05 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.835e-05/1.191, allocations: 12 kB / 1.166 GB, free: 11.04 MB / 0.7761 GB Notification: Performance of sort global known variables: time 0.0004475/1.191, allocations: 267 kB / 1.166 GB, free: 10.78 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.001765/1.193, allocations: 132 kB / 1.166 GB, free: 10.65 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.0002114/1.193, allocations: 104.8 kB / 1.166 GB, free: 10.54 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.002102/1.196, allocations: 0.9643 MB / 1.167 GB, free: 9.504 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 4.388e-06/1.196, allocations: 0 / 1.167 GB, free: 9.504 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.001335/1.197, allocations: 0.7007 MB / 1.168 GB, free: 8.73 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001479/1.198, allocations: 159.3 kB / 1.168 GB, free: 8.586 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002458/1.201, allocations: 0.7699 MB / 1.169 GB, free: 7.766 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009741/1.202, allocations: 0.9604 MB / 1.17 GB, free: 6.777 MB / 0.7761 GB Notification: Performance of SimCode: time 1.493e-06/1.202, allocations: 0 / 1.17 GB, free: 6.777 MB / 0.7761 GB (rm -f Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe ; mkfifo Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe >> ../files/Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_Impedances_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_Impedances.fmu > Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe 2>&1)