Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.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.Lines.Examples.ACLineMatrix_RL,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL",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.231/1.231, allocations: 249.4 MB / 256.7 MB, free: 15.82 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001014/0.001014, allocations: 180.8 kB / 316 MB, free: 7.195 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.285/1.285, allocations: 205.1 MB / 0.5667 GB, free: 23.55 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.0007832/0.0007832, allocations: 93.08 kB / 0.671 GB, free: 0.8711 MB / 0.4948 GB Notification: Performance of FrontEnd - loaded program: time 0.1924/0.1932, allocations: 112.5 MB / 0.7808 GB, free: 272 kB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3966/0.5898, allocations: 106.3 MB / 0.8847 GB, free: 76.33 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5079/1.098, allocations: 158.5 MB / 1.039 GB, free: 149.5 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002707/1.098, allocations: 88.52 kB / 1.039 GB, free: 149.5 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 913 * Number of variables: 913 Notification: Performance of Generate backend data structure: time 0.2665/1.365, allocations: 130.5 MB / 1.167 GB, free: 32.41 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 3.728e-05/1.365, allocations: 8 kB / 1.167 GB, free: 32.4 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006324/1.371, allocations: 0.9864 MB / 1.168 GB, free: 31.41 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004521/1.376, allocations: 2.276 MB / 1.17 GB, free: 29.07 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.758e-05/1.376, allocations: 104 kB / 1.17 GB, free: 28.97 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005464/1.376, allocations: 180 kB / 1.17 GB, free: 28.8 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.007491/1.384, allocations: 3.789 MB / 1.174 GB, free: 25 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008871/1.393, allocations: 5.281 MB / 1.179 GB, free: 19.39 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.567e-05/1.393, allocations: 19.8 kB / 1.179 GB, free: 19.37 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003385/1.393, allocations: 12 kB / 1.179 GB, free: 19.36 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004598/1.394, allocations: 346.2 kB / 1.18 GB, free: 19.02 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02943/1.423, allocations: 28.72 MB / 1.208 GB, free: 3.641 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001748/1.425, allocations: 1.433 MB / 1.209 GB, free: 2.199 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00184/1.427, allocations: 1.507 MB / 1.211 GB, free: 0.6914 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 7.926e-05/1.427, allocations: 12.98 kB / 1.211 GB, free: 0.6758 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.619e-05/1.427, allocations: 47.56 kB / 1.211 GB, free: 0.6211 MB / 0.698 GB Notification: Performance of pre-optimization done (n=110): time 3.727e-06/1.427, allocations: 4 kB / 1.211 GB, free: 0.6172 MB / 0.698 GB Notification: Performance of matching and sorting (n=179): time 0.03611/1.463, allocations: 13.39 MB / 1.224 GB, free: 3.199 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.078e-05/1.463, allocations: 77.41 kB / 1.224 GB, free: 3.113 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001809/1.465, allocations: 1.05 MB / 1.225 GB, free: 2.059 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.0002874/1.465, allocations: 25.7 kB / 1.225 GB, free: 2.027 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007354/1.466, allocations: 1.304 MB / 1.226 GB, free: 0.7031 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007567/1.467, allocations: 0.585 MB / 1.227 GB, free: 112 kB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000218/1.467, allocations: 0 / 1.227 GB, free: 112 kB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001933/1.467, allocations: 385.9 kB / 1.227 GB, free: 15.73 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002432/1.469, allocations: 1.854 MB / 1.229 GB, free: 13.87 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002754/1.472, allocations: 2.346 MB / 1.231 GB, free: 11.32 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004094/1.476, allocations: 2.43 MB / 1.234 GB, free: 8.887 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.298e-05/1.476, allocations: 8 kB / 1.234 GB, free: 8.879 MB / 0.7292 GB Notification: Performance of matching and sorting (n=250) (initialization): time 0.01507/1.491, allocations: 7.689 MB / 1.241 GB, free: 1.152 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 2.403e-05/1.492, allocations: 4 kB / 1.241 GB, free: 1.148 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.113e-05/1.492, allocations: 16 kB / 1.241 GB, free: 1.133 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01259/1.504, allocations: 4.119 MB / 1.245 GB, free: 13 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001218/1.505, allocations: 279.5 kB / 1.245 GB, free: 12.72 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02923/1.535, allocations: 19.33 MB / 1.264 GB, free: 8.957 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001914/1.537, allocations: 79.77 kB / 1.264 GB, free: 8.879 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004866/1.537, allocations: 175.9 kB / 1.264 GB, free: 8.707 MB / 0.7605 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 69 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (148): * Single equations (assignments): 142 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(11,91.7%) 13,(6,100.0%) 12,(6,100.0%) 6} * Non-linear torn systems: 3 {12 12,6 12,6 6} Notification: Performance of prepare postOptimizeDAE: time 0.0005396/1.538, allocations: 144.5 kB / 1.265 GB, free: 8.559 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005097/1.538, allocations: 189.8 kB / 1.265 GB, free: 8.371 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01449/1.553, allocations: 7.734 MB / 1.272 GB, free: 0.5898 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.182e-05/1.553, allocations: 16 kB / 1.272 GB, free: 0.5742 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.202e-05/1.553, allocations: 12 kB / 1.272 GB, free: 0.5625 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.46e-05/1.553, allocations: 7.969 kB / 1.272 GB, free: 0.5547 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02432/1.577, allocations: 11.73 MB / 1.284 GB, free: 4.652 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.577e-05/1.577, allocations: 8.844 kB / 1.284 GB, free: 4.645 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007372/1.578, allocations: 159.8 kB / 1.284 GB, free: 4.488 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01234/1.59, allocations: 4.038 MB / 1.288 GB, free: 440 kB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005081/1.591, allocations: 51.92 kB / 1.288 GB, free: 388 kB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02894/1.62, allocations: 18.92 MB / 1.306 GB, free: 13.02 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.153e-05/1.62, allocations: 7.938 kB / 1.306 GB, free: 13.01 MB / 0.8073 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01482/1.635, allocations: 7.926 MB / 1.314 GB, free: 4.773 MB / 0.8073 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0146/1.649, allocations: 8.339 MB / 1.322 GB, free: 12.11 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00154/1.651, allocations: 0.7014 MB / 1.323 GB, free: 11.39 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006588/1.652, allocations: 15.92 kB / 1.323 GB, free: 11.37 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001565/1.653, allocations: 71.83 kB / 1.323 GB, free: 11.3 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003692/1.654, allocations: 133.5 kB / 1.323 GB, free: 11.17 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000318/1.654, allocations: 155.8 kB / 1.323 GB, free: 11.02 MB / 0.823 GB Notification: Performance of sort global known variables: time 0.00129/1.655, allocations: 0.7956 MB / 1.324 GB, free: 10.23 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.004594/1.66, allocations: 0.8124 MB / 1.325 GB, free: 9.414 MB / 0.823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (80): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(6,100.0%) 6,(6,100.0%) 12,(11,91.7%) 13} * Non-linear torn systems: 3 {6 6,6 12,12 12} Notification: Performance of Backend phase and start with SimCode phase: time 0.000596/1.66, allocations: 147 kB / 1.325 GB, free: 9.262 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.01078/1.671, allocations: 5.822 MB / 1.331 GB, free: 3.414 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 1.041e-05/1.671, allocations: 4 kB / 1.331 GB, free: 3.41 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.007512/1.679, allocations: 3.596 MB / 1.334 GB, free: 15.78 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002547/1.681, allocations: 405.2 kB / 1.335 GB, free: 15.38 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01448/1.696, allocations: 5.724 MB / 1.34 GB, free: 9.512 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004204/1.7, allocations: 2.789 MB / 1.343 GB, free: 6.688 MB / 0.8386 GB Notification: Performance of SimCode: time 8.92e-07/1.7, allocations: 0 / 1.343 GB, free: 6.688 MB / 0.8386 GB (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL.fmu > Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe 2>&1)