Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_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.ACLine_RL,fileNamePrefix="Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL,fileNamePrefix="Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_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.19/2.19, allocations: 284.8 MB / 292.1 MB, free: 10.77 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.001588/0.001588, allocations: 177.3 kB / 360.3 MB, free: 7.504 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.676/1.676, allocations: 205.1 MB / 0.6187 GB, free: 13.15 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.001187/0.001186, allocations: 93.02 kB / 0.7317 GB, free: 45.05 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.246/0.2472, allocations: 121.4 MB / 0.8502 GB, free: 3.855 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5611/0.8083, allocations: 115.2 MB / 0.9628 GB, free: 78.54 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.3102/1.119, allocations: 194 MB / 1.152 GB, free: 10.65 MB / 0.7605 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003635/1.119, allocations: 98.34 kB / 1.152 GB, free: 10.56 MB / 0.7605 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 976 * Number of variables: 976 Notification: Performance of Generate backend data structure: time 0.9198/2.039, allocations: 148.1 MB / 1.297 GB, free: 196.9 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.259e-05/2.039, allocations: 11.06 kB / 1.297 GB, free: 196.9 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008645/2.047, allocations: 0.8063 MB / 1.298 GB, free: 196.6 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008538/2.056, allocations: 2.568 MB / 1.3 GB, free: 196.1 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001381/2.056, allocations: 122.1 kB / 1.3 GB, free: 196.1 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001165/2.057, allocations: 227.4 kB / 1.301 GB, free: 196.1 MB / 0.8542 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01032/2.068, allocations: 3.713 MB / 1.304 GB, free: 196.1 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01307/2.081, allocations: 5.222 MB / 1.309 GB, free: 195.1 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001398/2.081, allocations: 23.75 kB / 1.309 GB, free: 195.1 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005443/2.082, allocations: 7.938 kB / 1.309 GB, free: 195.1 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002398/2.082, allocations: 222.8 kB / 1.31 GB, free: 195.1 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03798/2.12, allocations: 26.95 MB / 1.336 GB, free: 173.1 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002375/2.122, allocations: 1.033 MB / 1.337 GB, free: 172.7 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002058/2.124, allocations: 0.9756 MB / 1.338 GB, free: 172.3 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 9.019e-05/2.124, allocations: 11.88 kB / 1.338 GB, free: 172.3 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.173e-05/2.125, allocations: 52.38 kB / 1.338 GB, free: 172.3 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=110): time 3.948e-06/2.125, allocations: 0 / 1.338 GB, free: 172.3 MB / 0.8542 GB Notification: Performance of matching and sorting (n=131): time 0.02266/2.147, allocations: 6.935 MB / 1.345 GB, free: 169.3 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.653e-05/2.147, allocations: 65.16 kB / 1.345 GB, free: 169.2 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002341/2.15, allocations: 1.078 MB / 1.346 GB, free: 168.8 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 0.0002812/2.15, allocations: 29.7 kB / 1.346 GB, free: 168.7 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008321/2.151, allocations: 1.421 MB / 1.347 GB, free: 167.7 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006063/2.151, allocations: 452.5 kB / 1.348 GB, free: 167.3 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001491/2.152, allocations: 0 / 1.348 GB, free: 167.3 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001439/2.152, allocations: 381 kB / 1.348 GB, free: 167 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002074/2.154, allocations: 0.8552 MB / 1.349 GB, free: 166.7 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002502/2.156, allocations: 1.432 MB / 1.35 GB, free: 165.6 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002671/2.159, allocations: 1.108 MB / 1.351 GB, free: 165.2 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.936e-05/2.159, allocations: 10.09 kB / 1.351 GB, free: 165.2 MB / 0.8542 GB Notification: Performance of matching and sorting (n=226) (initialization): time 0.0094/2.169, allocations: 3.053 MB / 1.354 GB, free: 164 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 2.061e-05/2.169, allocations: 3.688 kB / 1.354 GB, free: 164 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.446e-05/2.169, allocations: 20 kB / 1.354 GB, free: 164 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003893/2.173, allocations: 0.7238 MB / 1.355 GB, free: 163.8 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003295/2.176, allocations: 379.9 kB / 1.355 GB, free: 163.8 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01851/2.194, allocations: 14.48 MB / 1.37 GB, free: 151.4 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002569/2.197, allocations: 50.25 kB / 1.37 GB, free: 151.4 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002246/2.197, allocations: 79.83 kB / 1.37 GB, free: 151.4 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 87 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (193): * Single equations (assignments): 184 * 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: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 9 {(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004442/2.198, allocations: 162.8 kB / 1.37 GB, free: 151.2 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004237/2.198, allocations: 189.6 kB / 1.37 GB, free: 151.1 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007989/2.206, allocations: 2.657 MB / 1.373 GB, free: 150.1 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.058e-05/2.206, allocations: 18.12 kB / 1.373 GB, free: 150.1 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.62e-05/2.206, allocations: 7.938 kB / 1.373 GB, free: 150.1 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.048e-05/2.206, allocations: 6.891 kB / 1.373 GB, free: 150.1 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01516/2.221, allocations: 5.448 MB / 1.378 GB, free: 147.9 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.616e-05/2.222, allocations: 11.47 kB / 1.378 GB, free: 147.9 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002479/2.224, allocations: 229.2 kB / 1.378 GB, free: 147.8 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003415/2.227, allocations: 0.6411 MB / 1.379 GB, free: 147.6 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002147/2.228, allocations: 12.66 kB / 1.379 GB, free: 147.6 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0174/2.245, allocations: 14.19 MB / 1.393 GB, free: 135.4 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.318e-06/2.245, allocations: 5.719 kB / 1.393 GB, free: 135.4 MB / 0.8542 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.009996/2.255, allocations: 4.231 MB / 1.397 GB, free: 133.2 MB / 0.8542 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.01257/2.268, allocations: 5.922 MB / 1.403 GB, free: 128.8 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00136/2.269, allocations: 434.8 kB / 1.403 GB, free: 128.4 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004338/2.27, allocations: 15.28 kB / 1.403 GB, free: 128.4 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001604/2.271, allocations: 36.94 kB / 1.403 GB, free: 128.3 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002184/2.271, allocations: 78.73 kB / 1.403 GB, free: 128.3 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00013/2.272, allocations: 40.59 kB / 1.403 GB, free: 128.3 MB / 0.8542 GB Notification: Performance of sort global known variables: time 0.001482/2.273, allocations: 0.7947 MB / 1.404 GB, free: 127.6 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.004184/2.277, allocations: 0.6359 MB / 1.405 GB, free: 126.9 MB / 0.8542 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 22 * Number of states: 6 (RL_3.phase1.i_p[1],RL_3.phase1.i_p[2],RL_3.phase2.i_p[1],RL_3.phase2.i_p[2],RL_3.phase3.i_p[1],RL_3.phase3.i_p[2]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (101): * Single equations (assignments): 92 * 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: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 9 {(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003869/2.278, allocations: 130.2 kB / 1.405 GB, free: 126.8 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.007063/2.285, allocations: 3.206 MB / 1.408 GB, free: 123.8 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 7.845e-06/2.285, allocations: 1.438 kB / 1.408 GB, free: 123.8 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.004433/2.289, allocations: 2.066 MB / 1.41 GB, free: 121.8 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004321/2.294, allocations: 0.512 MB / 1.41 GB, free: 121.4 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01477/2.308, allocations: 5.227 MB / 1.415 GB, free: 116.6 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004961/2.313, allocations: 2.824 MB / 1.418 GB, free: 114.4 MB / 0.8542 GB Notification: Performance of SimCode: time 1.252e-06/2.314, allocations: 0 / 1.418 GB, free: 114.4 MB / 0.8542 GB (rm -f Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe ; mkfifo Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe >> ../files/Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL.fmu > Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe 2>&1)