Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.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.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL,fileNamePrefix="Buildings_8_0_0_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_8_0_0_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 8.0.0/package.mo): time 2.136/2.136, allocations: 284.8 MB / 292.1 MB, free: 10.79 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.001627/0.001626, allocations: 177.2 kB / 360.3 MB, free: 7.551 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.707/1.707, allocations: 205.1 MB / 0.6187 GB, free: 13.29 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.001196/0.001196, allocations: 83.34 kB / 0.7317 GB, free: 45.16 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2415/0.2427, allocations: 121.4 MB / 0.8502 GB, free: 3.934 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5611/0.8039, allocations: 115.2 MB / 0.9628 GB, free: 78.59 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2461/1.05, allocations: 164.6 MB / 1.124 GB, free: 8.199 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003464/1.05, allocations: 93.25 kB / 1.124 GB, free: 8.109 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: 913 * Number of variables: 913 Notification: Performance of Generate backend data structure: time 0.5164/1.567, allocations: 130.5 MB / 1.251 GB, free: 4.566 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.731e-05/1.567, allocations: 8.5 kB / 1.251 GB, free: 4.559 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01068/1.578, allocations: 0.9787 MB / 1.252 GB, free: 3.574 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007912/1.586, allocations: 2.272 MB / 1.254 GB, free: 1.246 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002105/1.586, allocations: 100 kB / 1.254 GB, free: 1.148 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001329/1.587, allocations: 191.9 kB / 1.255 GB, free: 0.9609 MB / 0.8542 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.3115/1.899, allocations: 3.78 MB / 1.258 GB, free: 274.8 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01399/1.913, allocations: 5.28 MB / 1.263 GB, free: 273.9 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001125/1.913, allocations: 18.72 kB / 1.263 GB, free: 273.9 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005188/1.913, allocations: 7.469 kB / 1.263 GB, free: 273.9 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007936/1.914, allocations: 343.8 kB / 1.264 GB, free: 273.9 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04144/1.956, allocations: 28.71 MB / 1.292 GB, free: 255.2 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002991/1.959, allocations: 1.44 MB / 1.293 GB, free: 255.1 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002939/1.962, allocations: 1.512 MB / 1.295 GB, free: 255.1 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 8.208e-05/1.962, allocations: 14.2 kB / 1.295 GB, free: 255.1 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.764e-05/1.962, allocations: 47.91 kB / 1.295 GB, free: 255.1 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=110): time 4.248e-06/1.962, allocations: 0 / 1.295 GB, free: 255.1 MB / 0.8542 GB Notification: Performance of matching and sorting (n=179): time 0.0625/2.024, allocations: 13.38 MB / 1.308 GB, free: 254.4 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.755e-05/2.024, allocations: 80.55 kB / 1.308 GB, free: 254.3 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002136/2.027, allocations: 1.057 MB / 1.309 GB, free: 254.2 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 0.0004803/2.027, allocations: 25.7 kB / 1.309 GB, free: 254.1 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006812/2.028, allocations: 1.304 MB / 1.31 GB, free: 253.5 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007966/2.029, allocations: 0.5836 MB / 1.311 GB, free: 253.1 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000287/2.029, allocations: 0 / 1.311 GB, free: 253.1 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001526/2.029, allocations: 386.6 kB / 1.311 GB, free: 252.8 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004035/2.033, allocations: 1.855 MB / 1.313 GB, free: 252.8 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004395/2.038, allocations: 2.34 MB / 1.315 GB, free: 252.3 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006787/2.044, allocations: 2.432 MB / 1.318 GB, free: 252.2 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.618e-05/2.044, allocations: 6.812 kB / 1.318 GB, free: 252.2 MB / 0.8542 GB Notification: Performance of matching and sorting (n=250) (initialization): time 0.02604/2.071, allocations: 7.686 MB / 1.325 GB, free: 252 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 2.336e-05/2.071, allocations: 5.906 kB / 1.325 GB, free: 252 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.033e-05/2.071, allocations: 16.47 kB / 1.325 GB, free: 252 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02284/2.093, allocations: 4.12 MB / 1.329 GB, free: 251.9 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002181/2.096, allocations: 281.9 kB / 1.329 GB, free: 251.9 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05036/2.146, allocations: 19.34 MB / 1.348 GB, free: 244.6 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00318/2.149, allocations: 72.92 kB / 1.348 GB, free: 244.6 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005975/2.15, allocations: 174.7 kB / 1.349 GB, free: 244.5 MB / 0.8542 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.0006484/2.151, allocations: 155.6 kB / 1.349 GB, free: 244.4 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00069/2.151, allocations: 187.6 kB / 1.349 GB, free: 244.3 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02764/2.179, allocations: 7.723 MB / 1.356 GB, free: 242.1 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.951e-05/2.179, allocations: 17.91 kB / 1.356 GB, free: 242.1 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.811e-05/2.179, allocations: 19.66 kB / 1.356 GB, free: 242.1 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.242e-05/2.179, allocations: 12.38 kB / 1.356 GB, free: 242.1 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03717/2.216, allocations: 11.73 MB / 1.368 GB, free: 238.3 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.854e-05/2.216, allocations: 5.719 kB / 1.368 GB, free: 238.3 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001394/2.218, allocations: 156.9 kB / 1.368 GB, free: 238.3 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02252/2.24, allocations: 4.034 MB / 1.372 GB, free: 237.6 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004577/2.241, allocations: 57.16 kB / 1.372 GB, free: 237.6 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04757/2.288, allocations: 18.93 MB / 1.391 GB, free: 228.4 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.241e-05/2.289, allocations: 10.69 kB / 1.391 GB, free: 228.4 MB / 0.8542 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.02662/2.315, allocations: 7.92 MB / 1.398 GB, free: 223.9 MB / 0.8542 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.02657/2.342, allocations: 8.345 MB / 1.406 GB, free: 216.9 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002324/2.344, allocations: 0.6978 MB / 1.407 GB, free: 216.2 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000827/2.345, allocations: 9.5 kB / 1.407 GB, free: 216.2 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002764/2.348, allocations: 71.11 kB / 1.407 GB, free: 216.2 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006348/2.348, allocations: 143 kB / 1.407 GB, free: 216.1 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004401/2.349, allocations: 149 kB / 1.407 GB, free: 216 MB / 0.8542 GB Notification: Performance of sort global known variables: time 0.001665/2.351, allocations: 0.7965 MB / 1.408 GB, free: 215.3 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.004976/2.356, allocations: 0.8172 MB / 1.409 GB, free: 214.5 MB / 0.8542 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.0006105/2.356, allocations: 147 kB / 1.409 GB, free: 214.3 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.01744/2.374, allocations: 5.821 MB / 1.415 GB, free: 209.3 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.099e-05/2.374, allocations: 0 / 1.415 GB, free: 209.3 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.01304/2.387, allocations: 3.584 MB / 1.418 GB, free: 206.2 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003705/2.391, allocations: 409 kB / 1.419 GB, free: 205.9 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01672/2.407, allocations: 5.724 MB / 1.424 GB, free: 200.7 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004962/2.412, allocations: 2.788 MB / 1.427 GB, free: 198.5 MB / 0.8542 GB Notification: Performance of SimCode: time 1.553e-06/2.412, allocations: 6.719 kB / 1.427 GB, free: 198.5 MB / 0.8542 GB (rm -f Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe ; mkfifo Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe >> ../files/Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL.fmu > Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe 2>&1)