Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.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.Lines.Examples.ACLine_R,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_R",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_R",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.232/1.232, allocations: 249.4 MB / 256.7 MB, free: 7.031 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.0009649/0.0009649, allocations: 189.2 kB / 316 MB, free: 3.566 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.116/1.116, allocations: 205.1 MB / 0.5667 GB, free: 15.67 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.0009218/0.0009217, allocations: 91.31 kB / 0.671 GB, free: 4.801 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.3267/0.3276, allocations: 112.5 MB / 0.7808 GB, free: 103 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1602/0.4879, allocations: 106.3 MB / 0.8847 GB, free: 12.59 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.4921/0.98, allocations: 157.6 MB / 1.039 GB, free: 14.75 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002608/0.9803, allocations: 96.03 kB / 1.039 GB, free: 14.7 MB / 0.6667 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 183 * Number of variables: 183 Notification: Performance of Generate backend data structure: time 0.08617/1.066, allocations: 37.43 MB / 1.075 GB, free: 15.29 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.336e-05/1.067, allocations: 8 kB / 1.075 GB, free: 15.29 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001946/1.068, allocations: 250.1 kB / 1.075 GB, free: 15.04 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001161/1.07, allocations: 0.5456 MB / 1.076 GB, free: 14.52 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.36e-05/1.07, allocations: 20 kB / 1.076 GB, free: 14.5 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001641/1.07, allocations: 40 kB / 1.076 GB, free: 14.46 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00122/1.071, allocations: 0.6137 MB / 1.077 GB, free: 14.05 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001502/1.073, allocations: 1.041 MB / 1.078 GB, free: 13.08 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.951e-05/1.073, allocations: 7.938 kB / 1.078 GB, free: 13.07 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.521e-05/1.073, allocations: 4 kB / 1.078 GB, free: 13.07 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.399e-05/1.073, allocations: 56.75 kB / 1.078 GB, free: 13.02 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005378/1.078, allocations: 5.806 MB / 1.083 GB, free: 7.344 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008308/1.079, allocations: 0.5186 MB / 1.084 GB, free: 6.973 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003904/1.08, allocations: 323.8 kB / 1.084 GB, free: 6.77 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 3.571e-05/1.08, allocations: 8.438 kB / 1.084 GB, free: 6.762 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.541e-05/1.08, allocations: 37.94 kB / 1.084 GB, free: 6.719 MB / 0.698 GB Notification: Performance of pre-optimization done (n=47): time 3.226e-06/1.08, allocations: 0 / 1.084 GB, free: 6.719 MB / 0.698 GB Notification: Performance of matching and sorting (n=48): time 0.002225/1.082, allocations: 1.188 MB / 1.085 GB, free: 5.785 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.36e-05/1.082, allocations: 63.83 kB / 1.085 GB, free: 5.711 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004523/1.082, allocations: 397.2 kB / 1.086 GB, free: 5.398 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 3.745e-05/1.082, allocations: 25.7 kB / 1.086 GB, free: 5.367 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002393/1.083, allocations: 356.9 kB / 1.086 GB, free: 5.055 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001225/1.083, allocations: 156.4 kB / 1.086 GB, free: 4.918 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.735e-05/1.083, allocations: 0 / 1.086 GB, free: 4.918 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001343/1.083, allocations: 369.7 kB / 1.087 GB, free: 4.57 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003438/1.083, allocations: 257.3 kB / 1.087 GB, free: 4.41 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004482/1.084, allocations: 452.5 kB / 1.087 GB, free: 3.996 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004323/1.084, allocations: 328.6 kB / 1.088 GB, free: 3.777 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.116e-06/1.084, allocations: 0 / 1.088 GB, free: 3.777 MB / 0.698 GB Notification: Performance of matching and sorting (n=81) (initialization): time 0.001595/1.086, allocations: 0.9817 MB / 1.089 GB, free: 3.008 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.53e-05/1.086, allocations: 10.59 kB / 1.089 GB, free: 3 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.254e-05/1.086, allocations: 8 kB / 1.089 GB, free: 2.992 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008193/1.087, allocations: 269.3 kB / 1.089 GB, free: 2.766 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004618/1.087, allocations: 119.5 kB / 1.089 GB, free: 2.652 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005496/1.093, allocations: 6.211 MB / 1.095 GB, free: 12.49 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005097/1.093, allocations: 19.97 kB / 1.095 GB, free: 12.47 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.083e-05/1.093, allocations: 23.38 kB / 1.095 GB, free: 12.45 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 27 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (63): * Single equations (assignments): 59 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(2,100.0%) 6,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000138/1.093, allocations: 124.2 kB / 1.095 GB, free: 12.33 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001105/1.093, allocations: 67.31 kB / 1.095 GB, free: 12.26 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001388/1.095, allocations: 0.8531 MB / 1.096 GB, free: 11.62 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.751e-06/1.095, allocations: 4 kB / 1.096 GB, free: 11.62 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.046e-06/1.095, allocations: 4 kB / 1.096 GB, free: 11.62 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.554e-06/1.095, allocations: 3.984 kB / 1.096 GB, free: 11.61 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00232/1.097, allocations: 1.595 MB / 1.098 GB, free: 10.32 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.657e-06/1.097, allocations: 0 / 1.098 GB, free: 10.32 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002711/1.098, allocations: 55.16 kB / 1.098 GB, free: 10.27 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007351/1.098, allocations: 270.5 kB / 1.098 GB, free: 10.04 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.398e-05/1.098, allocations: 3.906 kB / 1.098 GB, free: 10.04 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00558/1.104, allocations: 6.189 MB / 1.104 GB, free: 3.891 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.115e-06/1.104, allocations: 8.031 kB / 1.104 GB, free: 3.883 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001588/1.106, allocations: 1.019 MB / 1.105 GB, free: 2.984 MB / 0.7136 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001623/1.107, allocations: 1.409 MB / 1.106 GB, free: 1.703 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003174/1.108, allocations: 184.4 kB / 1.107 GB, free: 1.523 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001102/1.108, allocations: 0 / 1.107 GB, free: 1.523 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003651/1.108, allocations: 11.98 kB / 1.107 GB, free: 1.512 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.414e-05/1.108, allocations: 35.8 kB / 1.107 GB, free: 1.48 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.558e-05/1.108, allocations: 15.19 kB / 1.107 GB, free: 1.469 MB / 0.7136 GB Notification: Performance of sort global known variables: time 0.0003902/1.109, allocations: 302.8 kB / 1.107 GB, free: 1.246 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.00138/1.11, allocations: 192 kB / 1.107 GB, free: 1.059 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (31): * Single equations (assignments): 27 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 6,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001845/1.11, allocations: 119.9 kB / 1.107 GB, free: 0.9297 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.001878/1.112, allocations: 1.148 MB / 1.108 GB, free: 15.88 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 4.599e-06/1.112, allocations: 0 / 1.108 GB, free: 15.88 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.001121/1.113, allocations: 0.8077 MB / 1.109 GB, free: 15.04 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000833/1.114, allocations: 164.4 kB / 1.109 GB, free: 14.88 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002177/1.116, allocations: 0.9979 MB / 1.11 GB, free: 13.84 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007213/1.117, allocations: 1.051 MB / 1.111 GB, free: 12.76 MB / 0.7292 GB Notification: Performance of SimCode: time 4.11e-07/1.117, allocations: 0 / 1.111 GB, free: 12.76 MB / 0.7292 GB (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_R_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_R.fmu > Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe 2>&1)