Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.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.ThreePhasesBalanced.Loads.Examples.Impedances,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_Impedances",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances,fileNamePrefix="Buildings_maint_7_0_x_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.3-maint.7.0.x/package.mo): time 1.25/1.25, allocations: 249.4 MB / 256.7 MB, free: 6.906 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.001007/0.001007, allocations: 172.4 kB / 316 MB, free: 3.59 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.15/1.15, allocations: 205.1 MB / 0.5667 GB, free: 15.7 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.0008524/0.0008525, allocations: 87.33 kB / 0.671 GB, free: 4.832 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.3183/0.3191, allocations: 112.5 MB / 0.7808 GB, free: 103 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1525/0.4717, allocations: 106.3 MB / 0.8847 GB, free: 12.55 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.4723/0.9441, allocations: 148.3 MB / 1.03 GB, free: 7.641 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002639/0.9444, allocations: 100.5 kB / 1.03 GB, free: 7.586 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.06554/1.01, allocations: 30.11 MB / 1.059 GB, free: 14.43 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 3.877e-05/1.01, allocations: 12 kB / 1.059 GB, free: 14.42 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001248/1.011, allocations: 202.8 kB / 1.059 GB, free: 14.22 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007627/1.012, allocations: 494.2 kB / 1.06 GB, free: 13.75 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.376e-05/1.012, allocations: 19.91 kB / 1.06 GB, free: 13.73 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.549e-05/1.012, allocations: 24 kB / 1.06 GB, free: 13.71 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000646/1.013, allocations: 438.5 kB / 1.06 GB, free: 13.41 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001002/1.014, allocations: 0.8594 MB / 1.061 GB, free: 12.53 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.416e-05/1.014, allocations: 11.62 kB / 1.061 GB, free: 12.52 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.918e-05/1.014, allocations: 4 kB / 1.061 GB, free: 12.52 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.372e-05/1.014, allocations: 60.05 kB / 1.061 GB, free: 12.46 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004005/1.018, allocations: 5.565 MB / 1.066 GB, free: 6.891 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004563/1.018, allocations: 426.3 kB / 1.067 GB, free: 6.574 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002441/1.019, allocations: 226.4 kB / 1.067 GB, free: 6.422 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 2.828e-05/1.019, allocations: 4 kB / 1.067 GB, free: 6.418 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.761e-05/1.019, allocations: 33.94 kB / 1.067 GB, free: 6.379 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=32): time 2.835e-06/1.019, allocations: 8 kB / 1.067 GB, free: 6.371 MB / 0.6823 GB Notification: Performance of matching and sorting (n=33): time 0.001399/1.02, allocations: 0.8334 MB / 1.068 GB, free: 5.676 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.346e-05/1.02, allocations: 51.41 kB / 1.068 GB, free: 5.613 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003739/1.021, allocations: 366.6 kB / 1.068 GB, free: 5.32 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 2.818e-05/1.021, allocations: 25.7 kB / 1.068 GB, free: 5.289 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001471/1.021, allocations: 294.8 kB / 1.069 GB, free: 5.023 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 8.886e-05/1.021, allocations: 124.5 kB / 1.069 GB, free: 4.918 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.889e-05/1.021, allocations: 0 / 1.069 GB, free: 4.918 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001919/1.021, allocations: 358.8 kB / 1.069 GB, free: 4.578 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002244/1.021, allocations: 179.2 kB / 1.069 GB, free: 4.465 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003407/1.022, allocations: 393.7 kB / 1.07 GB, free: 4.051 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002965/1.022, allocations: 245.6 kB / 1.07 GB, free: 3.879 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.957e-06/1.022, allocations: 4 kB / 1.07 GB, free: 3.875 MB / 0.6823 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001019/1.023, allocations: 0.7091 MB / 1.071 GB, free: 3.285 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.44e-05/1.023, allocations: 4 kB / 1.071 GB, free: 3.281 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.224e-05/1.023, allocations: 11.91 kB / 1.071 GB, free: 3.27 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004539/1.024, allocations: 157 kB / 1.071 GB, free: 3.125 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004422/1.024, allocations: 111.6 kB / 1.071 GB, free: 3.02 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002712/1.027, allocations: 3.86 MB / 1.075 GB, free: 14.95 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003437/1.027, allocations: 11.98 kB / 1.075 GB, free: 14.94 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.159e-05/1.027, allocations: 30.5 kB / 1.075 GB, free: 14.92 MB / 0.698 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.000119/1.027, allocations: 124.9 kB / 1.075 GB, free: 14.79 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.05e-05/1.027, allocations: 59.25 kB / 1.075 GB, free: 14.73 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009229/1.028, allocations: 0.5773 MB / 1.075 GB, free: 14.28 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.98e-06/1.028, allocations: 4 kB / 1.075 GB, free: 14.28 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.879e-06/1.028, allocations: 0 / 1.075 GB, free: 14.28 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.108e-06/1.028, allocations: 3.938 kB / 1.075 GB, free: 14.27 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001535/1.03, allocations: 1.172 MB / 1.077 GB, free: 13.25 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.705e-06/1.03, allocations: 224 / 1.077 GB, free: 13.25 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002443/1.03, allocations: 55.91 kB / 1.077 GB, free: 13.2 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004002/1.031, allocations: 135.2 kB / 1.077 GB, free: 13.07 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.682e-05/1.031, allocations: 7.906 kB / 1.077 GB, free: 13.07 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002711/1.033, allocations: 3.851 MB / 1.081 GB, free: 9.012 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.989e-06/1.033, allocations: 4.031 kB / 1.081 GB, free: 9.008 MB / 0.698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001032/1.034, allocations: 0.7754 MB / 1.081 GB, free: 8.262 MB / 0.698 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001077/1.035, allocations: 1.16 MB / 1.082 GB, free: 7.133 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002018/1.036, allocations: 169.8 kB / 1.083 GB, free: 6.961 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.182e-05/1.036, allocations: 0 / 1.083 GB, free: 6.961 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002355/1.036, allocations: 11.98 kB / 1.083 GB, free: 6.949 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.86e-05/1.036, allocations: 23.59 kB / 1.083 GB, free: 6.93 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.974e-05/1.036, allocations: 8 kB / 1.083 GB, free: 6.922 MB / 0.698 GB Notification: Performance of sort global known variables: time 0.0002412/1.036, allocations: 272.6 kB / 1.083 GB, free: 6.715 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001156/1.037, allocations: 124 kB / 1.083 GB, free: 6.594 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.0001542/1.038, allocations: 111.2 kB / 1.083 GB, free: 6.473 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001119/1.039, allocations: 0.9509 MB / 1.084 GB, free: 5.586 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.677e-06/1.039, allocations: 4.875 kB / 1.084 GB, free: 5.582 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0006768/1.039, allocations: 0.6972 MB / 1.085 GB, free: 4.871 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007277/1.04, allocations: 164.7 kB / 1.085 GB, free: 4.742 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001217/1.041, allocations: 0.7668 MB / 1.086 GB, free: 4.004 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005114/1.042, allocations: 0.9622 MB / 1.087 GB, free: 3.027 MB / 0.698 GB Notification: Performance of SimCode: time 2.4e-07/1.042, allocations: 3.938 kB / 1.087 GB, free: 3.023 MB / 0.698 GB (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_Impedances_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_Impedances.fmu > Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe 2>&1)