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.ACLineMatrix_RLC.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.ACLineMatrix_RLC,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC",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.294/1.294, allocations: 285.5 MB / 292.8 MB, free: 10.44 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.0009188/0.0009188, allocations: 189.2 kB / 361.1 MB, free: 7.094 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.002/1.002, allocations: 205.1 MB / 0.6195 GB, free: 10.32 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.0007505/0.0007506, allocations: 92.98 kB / 0.7326 GB, free: 44.25 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.1746/0.1754, allocations: 121.5 MB / 0.8512 GB, free: 2.902 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4053/0.5807, allocations: 115.3 MB / 0.9638 GB, free: 78.25 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1536/0.7343, allocations: 166.1 MB / 1.126 GB, free: 5.887 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002184/0.7346, allocations: 92.64 kB / 1.126 GB, free: 5.797 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: 419 * Number of variables: 419 Notification: Performance of Generate backend data structure: time 0.1329/0.8674, allocations: 61.34 MB / 1.186 GB, free: 8.102 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 3.404e-05/0.8675, allocations: 16.5 kB / 1.186 GB, free: 8.086 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002607/0.8701, allocations: 457.4 kB / 1.186 GB, free: 7.637 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001818/0.8719, allocations: 1.149 MB / 1.188 GB, free: 6.445 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.991e-05/0.872, allocations: 48 kB / 1.188 GB, free: 6.398 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002273/0.8722, allocations: 84 kB / 1.188 GB, free: 6.316 MB / 0.7917 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002927/0.8751, allocations: 2.033 MB / 1.19 GB, free: 4.281 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003483/0.8786, allocations: 2.609 MB / 1.192 GB, free: 1.547 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.397e-05/0.8787, allocations: 4 kB / 1.192 GB, free: 1.543 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001525/0.8788, allocations: 4 kB / 1.192 GB, free: 1.539 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003569/0.8792, allocations: 166.8 kB / 1.192 GB, free: 1.375 MB / 0.7917 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01533/0.8945, allocations: 13.95 MB / 1.206 GB, free: 2.375 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001544/0.8961, allocations: 1.274 MB / 1.207 GB, free: 1.086 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001223/0.8973, allocations: 1.109 MB / 1.208 GB, free: 15.97 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 4.272e-05/0.8974, allocations: 16.64 kB / 1.208 GB, free: 15.96 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.023e-05/0.8974, allocations: 43.16 kB / 1.208 GB, free: 15.9 MB / 0.823 GB Notification: Performance of pre-optimization done (n=82): time 2.435e-06/0.8974, allocations: 0 / 1.208 GB, free: 15.9 MB / 0.823 GB Notification: Performance of matching and sorting (n=139): time 0.02307/0.9205, allocations: 8.982 MB / 1.217 GB, free: 6.914 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.232e-05/0.9206, allocations: 72.66 kB / 1.217 GB, free: 6.832 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001088/0.9217, allocations: 0.9057 MB / 1.218 GB, free: 5.922 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 0.000129/0.9218, allocations: 25.7 kB / 1.218 GB, free: 5.891 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003234/0.9221, allocations: 0.6346 MB / 1.219 GB, free: 5.242 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003565/0.9225, allocations: 469 kB / 1.219 GB, free: 4.777 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001396/0.9227, allocations: 0 / 1.219 GB, free: 4.777 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0001582/0.9228, allocations: 422.6 kB / 1.22 GB, free: 4.355 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001745/0.9246, allocations: 1.491 MB / 1.221 GB, free: 2.863 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001932/0.9265, allocations: 1.781 MB / 1.223 GB, free: 0.9727 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003751/0.9303, allocations: 2.107 MB / 1.225 GB, free: 14.86 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.514e-06/0.9303, allocations: 4 kB / 1.225 GB, free: 14.86 MB / 0.8386 GB Notification: Performance of matching and sorting (n=188) (initialization): time 0.01045/0.9407, allocations: 5.784 MB / 1.23 GB, free: 9.051 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.378e-05/0.9408, allocations: 6.812 kB / 1.23 GB, free: 9.047 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.343e-05/0.9408, allocations: 8 kB / 1.23 GB, free: 9.039 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007467/0.9483, allocations: 2.734 MB / 1.233 GB, free: 6.293 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007558/0.949, allocations: 211.6 kB / 1.233 GB, free: 6.086 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0188/0.9678, allocations: 14.4 MB / 1.247 GB, free: 7.406 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001091/0.9689, allocations: 56.47 kB / 1.247 GB, free: 7.352 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002864/0.9692, allocations: 167.9 kB / 1.248 GB, free: 7.188 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 36 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (96): * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(6,100.0%) 12,(6,100.0%) 24} * Non-linear torn systems: 2 {6 12,6 24} Notification: Performance of prepare postOptimizeDAE: time 0.0003052/0.9696, allocations: 128.7 kB / 1.248 GB, free: 7.055 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002594/0.9698, allocations: 110.7 kB / 1.248 GB, free: 6.945 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009388/0.9792, allocations: 5.245 MB / 1.253 GB, free: 1.688 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.146e-05/0.9792, allocations: 20 kB / 1.253 GB, free: 1.668 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.329e-05/0.9793, allocations: 12.86 kB / 1.253 GB, free: 1.656 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.063e-05/0.9793, allocations: 3.984 kB / 1.253 GB, free: 1.652 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2196/1.199, allocations: 8.364 MB / 1.261 GB, free: 306.9 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.837e-06/1.199, allocations: 5 kB / 1.261 GB, free: 306.9 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004085/1.199, allocations: 113.8 kB / 1.261 GB, free: 306.9 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01039/1.21, allocations: 2.563 MB / 1.264 GB, free: 306.9 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002476/1.21, allocations: 44.72 kB / 1.264 GB, free: 306.9 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0149/1.225, allocations: 12.38 MB / 1.276 GB, free: 303.5 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.584e-06/1.225, allocations: 16.5 kB / 1.276 GB, free: 303.5 MB / 0.8542 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00762/1.233, allocations: 5.104 MB / 1.281 GB, free: 302.9 MB / 0.8542 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.007656/1.24, allocations: 5.5 MB / 1.286 GB, free: 301.9 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008934/1.241, allocations: 0.599 MB / 1.287 GB, free: 301.7 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002793/1.241, allocations: 11.12 kB / 1.287 GB, free: 301.7 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007862/1.242, allocations: 36.3 kB / 1.287 GB, free: 301.7 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002061/1.243, allocations: 116.6 kB / 1.287 GB, free: 301.7 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001682/1.243, allocations: 107.4 kB / 1.287 GB, free: 301.7 MB / 0.8542 GB Notification: Performance of sort global known variables: time 0.0006207/1.243, allocations: 0.6904 MB / 1.288 GB, free: 301.6 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.001995/1.245, allocations: 0.5049 MB / 1.288 GB, free: 301.6 MB / 0.8542 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (62): * Single equations (assignments): 58 * 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: 2 {(6,100.0%) 6,(10,84.0%) 14} * Non-linear torn systems: 2 {6 12,6 24} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002343/1.246, allocations: 130.9 kB / 1.288 GB, free: 301.6 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0049/1.25, allocations: 3.937 MB / 1.292 GB, free: 301.3 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/1.25, allocations: 0 / 1.292 GB, free: 301.3 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.003657/1.254, allocations: 2.272 MB / 1.295 GB, free: 301 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008018/1.255, allocations: 156.7 kB / 1.295 GB, free: 301 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005163/1.26, allocations: 3.336 MB / 1.298 GB, free: 300.4 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001423/1.262, allocations: 1.757 MB / 1.3 GB, free: 299.7 MB / 0.8542 GB Notification: Performance of SimCode: time 4.81e-07/1.262, allocations: 0 / 1.3 GB, free: 299.7 MB / 0.8542 GB (rm -f Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC.fmu > Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe 2>&1)