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_N.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_N,fileNamePrefix="Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL_N",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N,fileNamePrefix="Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL_N",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.104/2.104, allocations: 284.8 MB / 292.1 MB, free: 10.74 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.001607/0.001607, allocations: 181.3 kB / 360.3 MB, free: 7.543 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.663/1.663, allocations: 205.1 MB / 0.6187 GB, free: 13.19 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.001223/0.001223, allocations: 87.88 kB / 0.7317 GB, free: 45.11 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2501/0.2514, allocations: 121.4 MB / 0.8502 GB, free: 3.91 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5658/0.8173, allocations: 115.2 MB / 0.9628 GB, free: 78.65 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2858/1.103, allocations: 195.4 MB / 1.154 GB, free: 9.348 MB / 0.7605 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003498/1.104, allocations: 98.72 kB / 1.154 GB, free: 9.254 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: 798 * Number of variables: 798 Notification: Performance of Generate backend data structure: time 0.8139/1.917, allocations: 115.1 MB / 1.266 GB, free: 197.4 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.647e-05/1.918, allocations: 7.469 kB / 1.266 GB, free: 197.4 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007019/1.925, allocations: 0.6526 MB / 1.267 GB, free: 197.3 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007088/1.932, allocations: 2.068 MB / 1.269 GB, free: 196.8 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001346/1.932, allocations: 94.03 kB / 1.269 GB, free: 196.8 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007895/1.933, allocations: 176 kB / 1.269 GB, free: 196.8 MB / 0.8542 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.008351/1.941, allocations: 3.09 MB / 1.272 GB, free: 196.8 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0115/1.953, allocations: 4.217 MB / 1.276 GB, free: 196.1 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001224/1.953, allocations: 12.28 kB / 1.276 GB, free: 196.1 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004516/1.953, allocations: 11.25 kB / 1.276 GB, free: 196.1 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001938/1.953, allocations: 177.2 kB / 1.276 GB, free: 196.1 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0279/1.981, allocations: 21.06 MB / 1.297 GB, free: 182.3 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002242/1.984, allocations: 1.174 MB / 1.298 GB, free: 182.3 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002034/1.986, allocations: 1.03 MB / 1.299 GB, free: 182.3 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 7.604e-05/1.986, allocations: 16.25 kB / 1.299 GB, free: 182.3 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.171e-05/1.986, allocations: 44.56 kB / 1.299 GB, free: 182.2 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=107): time 4.118e-06/1.986, allocations: 0 / 1.299 GB, free: 182.2 MB / 0.8542 GB Notification: Performance of matching and sorting (n=138): time 0.01421/2, allocations: 4.802 MB / 1.304 GB, free: 181.6 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.546e-05/2, allocations: 66.59 kB / 1.304 GB, free: 181.5 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001567/2.002, allocations: 0.8201 MB / 1.305 GB, free: 181.3 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 0.0002277/2.002, allocations: 25.7 kB / 1.305 GB, free: 181.3 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005666/2.003, allocations: 1.135 MB / 1.306 GB, free: 180.6 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004662/2.003, allocations: 464.5 kB / 1.306 GB, free: 180.3 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001346/2.003, allocations: 3.906 kB / 1.306 GB, free: 180.3 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001334/2.003, allocations: 371.9 kB / 1.307 GB, free: 180 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001851/2.005, allocations: 0.8674 MB / 1.307 GB, free: 180 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002077/2.007, allocations: 1.32 MB / 1.309 GB, free: 179.4 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002323/2.01, allocations: 1.111 MB / 1.31 GB, free: 179.1 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.115e-05/2.01, allocations: 3.656 kB / 1.31 GB, free: 179.1 MB / 0.8542 GB Notification: Performance of matching and sorting (n=205) (initialization): time 0.009415/2.019, allocations: 3.258 MB / 1.313 GB, free: 178 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 2.24e-05/2.019, allocations: 7.469 kB / 1.313 GB, free: 178 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.773e-05/2.019, allocations: 15.09 kB / 1.313 GB, free: 178 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005243/2.024, allocations: 1.102 MB / 1.314 GB, free: 177.7 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001955/2.026, allocations: 252.7 kB / 1.314 GB, free: 177.7 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02289/2.049, allocations: 11.33 MB / 1.325 GB, free: 171.1 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00209/2.051, allocations: 42.52 kB / 1.325 GB, free: 171 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001936/2.052, allocations: 66.78 kB / 1.325 GB, free: 171 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 65 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (134): * Single equations (assignments): 131 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(5,84.0%) 17,(5,84.0%) 17,(5,88.0%) 25} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003979/2.052, allocations: 144.5 kB / 1.326 GB, free: 170.9 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003401/2.052, allocations: 154.1 kB / 1.326 GB, free: 170.8 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008961/2.061, allocations: 3.034 MB / 1.329 GB, free: 169.8 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.195e-05/2.061, allocations: 15.12 kB / 1.329 GB, free: 169.8 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.765e-05/2.061, allocations: 11.53 kB / 1.329 GB, free: 169.8 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.338e-05/2.062, allocations: 7.594 kB / 1.329 GB, free: 169.8 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01631/2.078, allocations: 5.619 MB / 1.334 GB, free: 167.6 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.994e-05/2.078, allocations: 8.219 kB / 1.334 GB, free: 167.6 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001297/2.079, allocations: 133.4 kB / 1.334 GB, free: 167.6 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005039/2.084, allocations: 1.031 MB / 1.335 GB, free: 167.3 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002165/2.085, allocations: 6.469 kB / 1.335 GB, free: 167.3 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02306/2.108, allocations: 11.01 MB / 1.346 GB, free: 160.8 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.065e-05/2.108, allocations: 6.375 kB / 1.346 GB, free: 160.8 MB / 0.8542 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.008694/2.116, allocations: 3.266 MB / 1.349 GB, free: 159.2 MB / 0.8542 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.008909/2.125, allocations: 3.673 MB / 1.353 GB, free: 157.3 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001262/2.127, allocations: 405.7 kB / 1.353 GB, free: 157 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003837/2.127, allocations: 12.88 kB / 1.353 GB, free: 157 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001372/2.128, allocations: 29.69 kB / 1.353 GB, free: 157 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002168/2.129, allocations: 79.66 kB / 1.353 GB, free: 157 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001276/2.129, allocations: 35.25 kB / 1.353 GB, free: 157 MB / 0.8542 GB Notification: Performance of sort global known variables: time 0.001204/2.13, allocations: 0.629 MB / 1.354 GB, free: 156.7 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.003579/2.134, allocations: 0.5694 MB / 1.355 GB, free: 156.7 MB / 0.8542 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (70): * Single equations (assignments): 67 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(5,84.0%) 17,(5,88.0%) 25,(5,84.0%) 17} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002923/2.134, allocations: 117.6 kB / 1.355 GB, free: 156.6 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.007133/2.141, allocations: 2.809 MB / 1.358 GB, free: 155.5 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 7.223e-06/2.141, allocations: 2.938 kB / 1.358 GB, free: 155.5 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.004815/2.146, allocations: 1.702 MB / 1.359 GB, free: 154.7 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00302/2.149, allocations: 374.4 kB / 1.36 GB, free: 154.6 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01249/2.161, allocations: 4.348 MB / 1.364 GB, free: 152.9 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004045/2.166, allocations: 2.419 MB / 1.366 GB, free: 151.9 MB / 0.8542 GB Notification: Performance of SimCode: time 1.964e-06/2.166, allocations: 0 / 1.366 GB, free: 151.9 MB / 0.8542 GB (rm -f Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe ; mkfifo Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe >> ../files/Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL_N_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL_N.fmu > Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe 2>&1)