Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL,fileNamePrefix="Buildings_maint_8_0_x_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_maint_8_0_x_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.1-maint.8.0.x/package.mo): time 1.29/1.29, allocations: 285.5 MB / 292.8 MB, free: 10.5 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.0009356/0.0009356, allocations: 187.2 kB / 361.1 MB, free: 7.141 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9835/0.9835, allocations: 205.1 MB / 0.6195 GB, free: 10.36 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.0007486/0.0007487, allocations: 89.56 kB / 0.7326 GB, free: 44.3 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.1696/0.1704, allocations: 121.5 MB / 0.8512 GB, free: 2.926 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3843/0.5547, allocations: 115.3 MB / 0.9638 GB, free: 78.26 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1665/0.7212, allocations: 194.2 MB / 1.153 GB, free: 9.719 MB / 0.7605 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000227/0.7214, allocations: 93.16 kB / 1.154 GB, free: 9.629 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.5476/1.269, allocations: 148.1 MB / 1.298 GB, free: 197.3 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 2.821e-05/1.269, allocations: 10.78 kB / 1.298 GB, free: 197.3 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004003/1.273, allocations: 0.8132 MB / 1.299 GB, free: 197.1 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003749/1.277, allocations: 2.567 MB / 1.301 GB, free: 196.5 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.203e-05/1.277, allocations: 117 kB / 1.302 GB, free: 196.5 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005172/1.277, allocations: 229 kB / 1.302 GB, free: 196.5 MB / 0.8542 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004437/1.282, allocations: 3.715 MB / 1.305 GB, free: 196.5 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005755/1.288, allocations: 5.226 MB / 1.311 GB, free: 195.5 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.755e-05/1.288, allocations: 21.31 kB / 1.311 GB, free: 195.5 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003009/1.288, allocations: 7.656 kB / 1.311 GB, free: 195.5 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000127/1.288, allocations: 222.1 kB / 1.311 GB, free: 195.4 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01746/1.306, allocations: 26.94 MB / 1.337 GB, free: 173.3 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001059/1.307, allocations: 1.036 MB / 1.338 GB, free: 172.9 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001004/1.308, allocations: 0.9704 MB / 1.339 GB, free: 172.6 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 6.377e-05/1.308, allocations: 18.2 kB / 1.339 GB, free: 172.6 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.811e-05/1.308, allocations: 58.27 kB / 1.339 GB, free: 172.5 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=110): time 2.805e-06/1.308, allocations: 0 / 1.339 GB, free: 172.5 MB / 0.8542 GB Notification: Performance of matching and sorting (n=131): time 0.01098/1.319, allocations: 6.939 MB / 1.346 GB, free: 169.5 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.137e-05/1.319, allocations: 66.81 kB / 1.346 GB, free: 169.4 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001069/1.32, allocations: 1.071 MB / 1.347 GB, free: 169 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 7.089e-05/1.32, allocations: 25.7 kB / 1.347 GB, free: 169 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004413/1.32, allocations: 1.424 MB / 1.348 GB, free: 167.9 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002334/1.321, allocations: 448.2 kB / 1.349 GB, free: 167.6 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.896e-05/1.321, allocations: 4 kB / 1.349 GB, free: 167.6 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 8.144e-05/1.321, allocations: 384.3 kB / 1.349 GB, free: 167.2 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009943/1.322, allocations: 0.8537 MB / 1.35 GB, free: 166.9 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001125/1.323, allocations: 1.435 MB / 1.351 GB, free: 165.8 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001188/1.324, allocations: 1.108 MB / 1.353 GB, free: 165.4 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.834e-06/1.324, allocations: 5.938 kB / 1.353 GB, free: 165.4 MB / 0.8542 GB Notification: Performance of matching and sorting (n=226) (initialization): time 0.004248/1.328, allocations: 3.047 MB / 1.355 GB, free: 164.3 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.107e-05/1.328, allocations: 5.281 kB / 1.355 GB, free: 164.3 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.686e-05/1.328, allocations: 24.53 kB / 1.356 GB, free: 164.3 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001869/1.33, allocations: 0.7168 MB / 1.356 GB, free: 164 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001392/1.332, allocations: 378.4 kB / 1.357 GB, free: 164 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009591/1.341, allocations: 14.48 MB / 1.371 GB, free: 151.6 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001098/1.342, allocations: 51.48 kB / 1.371 GB, free: 151.6 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001185/1.343, allocations: 81.53 kB / 1.371 GB, free: 151.6 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.0002205/1.343, allocations: 166.6 kB / 1.371 GB, free: 151.4 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002058/1.343, allocations: 185.9 kB / 1.371 GB, free: 151.4 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003874/1.347, allocations: 2.663 MB / 1.374 GB, free: 150.3 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.126e-05/1.347, allocations: 12.09 kB / 1.374 GB, free: 150.3 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.666e-06/1.347, allocations: 6.812 kB / 1.374 GB, free: 150.3 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.889e-06/1.347, allocations: 8.062 kB / 1.374 GB, free: 150.3 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007167/1.354, allocations: 5.455 MB / 1.379 GB, free: 148.1 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.392e-06/1.354, allocations: 6.906 kB / 1.379 GB, free: 148.1 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001106/1.355, allocations: 224.5 kB / 1.379 GB, free: 148.1 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001691/1.357, allocations: 0.6467 MB / 1.38 GB, free: 147.9 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.084e-05/1.357, allocations: 15.83 kB / 1.38 GB, free: 147.8 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009063/1.366, allocations: 14.19 MB / 1.394 GB, free: 135.6 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.35e-06/1.366, allocations: 4.812 kB / 1.394 GB, free: 135.6 MB / 0.8542 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.004667/1.371, allocations: 4.233 MB / 1.398 GB, free: 133.4 MB / 0.8542 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.00543/1.376, allocations: 5.926 MB / 1.404 GB, free: 128 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006133/1.377, allocations: 431.2 kB / 1.404 GB, free: 127.6 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002636/1.377, allocations: 19.23 kB / 1.404 GB, free: 127.6 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007777/1.378, allocations: 37.31 kB / 1.404 GB, free: 127.6 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001305/1.378, allocations: 75.48 kB / 1.404 GB, free: 127.5 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.522e-05/1.378, allocations: 44.33 kB / 1.404 GB, free: 127.5 MB / 0.8542 GB Notification: Performance of sort global known variables: time 0.0007994/1.379, allocations: 0.794 MB / 1.405 GB, free: 126.8 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.002405/1.381, allocations: 0.6288 MB / 1.406 GB, free: 126.2 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.0001916/1.382, allocations: 138.8 kB / 1.406 GB, free: 126 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.003502/1.385, allocations: 3.203 MB / 1.409 GB, free: 123 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.836e-06/1.385, allocations: 0 / 1.409 GB, free: 123 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.002091/1.387, allocations: 2.073 MB / 1.411 GB, free: 121 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001832/1.389, allocations: 0.5106 MB / 1.412 GB, free: 120.6 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007833/1.397, allocations: 5.214 MB / 1.417 GB, free: 115.9 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002475/1.399, allocations: 2.825 MB / 1.419 GB, free: 113.6 MB / 0.8542 GB Notification: Performance of SimCode: time 3.21e-07/1.399, allocations: 0 / 1.419 GB, free: 113.6 MB / 0.8542 GB (rm -f Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL.fmu > Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe 2>&1)