Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R_N",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R_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 9.1.1-maint.9.1.x/package.mo): time 1.773/1.773, allocations: 387.2 MB / 394.5 MB, free: 13.64 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009184/0.0009184, allocations: 189.2 kB / 487 MB, free: 5.348 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.12/1.12, allocations: 221.3 MB / 0.7819 GB, free: 1.43 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008532/0.0008533, allocations: 92.67 kB / 0.9213 GB, free: 2.676 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.4395/0.4404, allocations: 148.5 MB / 1.066 GB, free: 168.2 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1953/0.6357, allocations: 142.3 MB / 1.205 GB, free: 26.14 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5628/1.199, allocations: 182.3 MB / 1.383 GB, free: 10.2 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002257/1.199, allocations: 92.56 kB / 1.383 GB, free: 10.15 MB / 0.823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1524 * Number of variables: 1524 Notification: Performance of Generate backend data structure: time 0.4632/1.662, allocations: 217.6 MB / 1.596 GB, free: 13.63 MB / 1.026 GB Notification: Performance of prepare preOptimizeDAE: time 3.835e-05/1.662, allocations: 8.219 kB / 1.596 GB, free: 13.62 MB / 1.026 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006827/1.669, allocations: 1.136 MB / 1.597 GB, free: 12.48 MB / 1.026 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008415/1.677, allocations: 3.716 MB / 1.601 GB, free: 8.711 MB / 1.026 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002445/1.678, allocations: 188 kB / 1.601 GB, free: 8.527 MB / 1.026 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001245/1.679, allocations: 331.9 kB / 1.601 GB, free: 8.203 MB / 1.026 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01071/1.69, allocations: 5.888 MB / 1.607 GB, free: 2.312 MB / 1.026 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01802/1.708, allocations: 8.048 MB / 1.615 GB, free: 9.824 MB / 1.042 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002291/1.708, allocations: 19.81 kB / 1.615 GB, free: 9.805 MB / 1.042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001591/1.71, allocations: 16 kB / 1.615 GB, free: 9.789 MB / 1.042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002731/1.71, allocations: 307 kB / 1.615 GB, free: 9.488 MB / 1.042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03881/1.749, allocations: 40.41 MB / 1.655 GB, free: 13.36 MB / 1.089 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003652/1.752, allocations: 2.865 MB / 1.657 GB, free: 10.47 MB / 1.089 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002551/1.755, allocations: 2.114 MB / 1.659 GB, free: 8.359 MB / 1.089 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001023/1.755, allocations: 25.94 kB / 1.66 GB, free: 8.332 MB / 1.089 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.458e-05/1.755, allocations: 60.56 kB / 1.66 GB, free: 8.266 MB / 1.089 GB Notification: Performance of pre-optimization done (n=209): time 3.927e-06/1.755, allocations: 3.938 kB / 1.66 GB, free: 8.262 MB / 1.089 GB Notification: Performance of matching and sorting (n=212): time 0.009669/1.765, allocations: 6.46 MB / 1.666 GB, free: 1.77 MB / 1.089 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.711e-05/1.765, allocations: 73.41 kB / 1.666 GB, free: 1.688 MB / 1.089 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001558/1.766, allocations: 1.329 MB / 1.667 GB, free: 340 kB / 1.089 GB Notification: Performance of collectPreVariables (initialization): time 0.0001125/1.767, allocations: 25.7 kB / 1.667 GB, free: 308 kB / 1.089 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009822/1.768, allocations: 2.059 MB / 1.669 GB, free: 14.21 MB / 1.104 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005495/1.768, allocations: 0.7005 MB / 1.67 GB, free: 13.5 MB / 1.104 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001118/1.768, allocations: 0 / 1.67 GB, free: 13.5 MB / 1.104 GB Notification: Performance of setup shared object (initialization): time 0.0001786/1.768, allocations: 407.2 kB / 1.67 GB, free: 13.1 MB / 1.104 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001649/1.77, allocations: 1.297 MB / 1.672 GB, free: 11.8 MB / 1.104 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002036/1.772, allocations: 2.073 MB / 1.674 GB, free: 9.367 MB / 1.104 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00197/1.774, allocations: 1.676 MB / 1.675 GB, free: 7.695 MB / 1.104 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.807e-06/1.774, allocations: 8 kB / 1.675 GB, free: 7.688 MB / 1.104 GB Notification: Performance of matching and sorting (n=327) (initialization): time 0.006807/1.781, allocations: 4.707 MB / 1.68 GB, free: 2.957 MB / 1.104 GB Notification: Performance of prepare postOptimizeDAE: time 1.566e-05/1.781, allocations: 7.984 kB / 1.68 GB, free: 2.949 MB / 1.104 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.408e-05/1.781, allocations: 24 kB / 1.68 GB, free: 2.926 MB / 1.104 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003183/1.784, allocations: 1.437 MB / 1.681 GB, free: 1.48 MB / 1.104 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001437/1.786, allocations: 423.3 kB / 1.682 GB, free: 1.066 MB / 1.104 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01787/1.803, allocations: 15.52 MB / 1.697 GB, free: 1.078 MB / 1.12 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001724/1.805, allocations: 59.94 kB / 1.697 GB, free: 1.02 MB / 1.12 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001835/1.805, allocations: 112 kB / 1.697 GB, free: 0.9102 MB / 1.12 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 113 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (219): * Single equations (assignments): 215 * 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 {(6,66.7%) 32,(6,66.7%) 24,(4,100.0%) 18,(4,100.0%) 18} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003524/1.806, allocations: 172.2 kB / 1.697 GB, free: 0.7344 MB / 1.12 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003293/1.806, allocations: 264.9 kB / 1.697 GB, free: 484 kB / 1.12 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006496/1.813, allocations: 4.319 MB / 1.702 GB, free: 12.12 MB / 1.135 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.76e-05/1.813, allocations: 20 kB / 1.702 GB, free: 12.1 MB / 1.135 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.526e-05/1.813, allocations: 16 kB / 1.702 GB, free: 12.09 MB / 1.135 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.838e-05/1.813, allocations: 15.95 kB / 1.702 GB, free: 12.07 MB / 1.135 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.013/1.826, allocations: 8.714 MB / 1.71 GB, free: 3.23 MB / 1.135 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.766e-06/1.826, allocations: 7.938 kB / 1.71 GB, free: 3.223 MB / 1.135 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009676/1.827, allocations: 211.7 kB / 1.71 GB, free: 3.016 MB / 1.135 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003092/1.83, allocations: 1.407 MB / 1.712 GB, free: 1.598 MB / 1.135 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001153/1.83, allocations: 4 kB / 1.712 GB, free: 1.594 MB / 1.135 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0177/1.848, allocations: 15.49 MB / 1.727 GB, free: 1.641 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.931e-06/1.848, allocations: 4 kB / 1.727 GB, free: 1.637 MB / 1.151 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.3979/2.246, allocations: 4.754 MB / 1.732 GB, free: 244.9 MB / 1.151 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.005116/2.251, allocations: 5.173 MB / 1.737 GB, free: 243.7 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009761/2.252, allocations: 0.6022 MB / 1.737 GB, free: 243.6 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003607/2.252, allocations: 7.344 kB / 1.737 GB, free: 243.6 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00105/2.253, allocations: 52.14 kB / 1.737 GB, free: 243.6 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001988/2.253, allocations: 106.7 kB / 1.737 GB, free: 243.6 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000127/2.253, allocations: 64.53 kB / 1.737 GB, free: 243.6 MB / 1.151 GB Notification: Performance of sort global known variables: time 0.001019/2.254, allocations: 0.9693 MB / 1.738 GB, free: 243.5 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.002901/2.257, allocations: 1.008 MB / 1.739 GB, free: 243.5 MB / 1.151 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 (107): * Single equations (assignments): 103 * 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 {(4,100.0%) 18,(6,66.7%) 24,(6,66.7%) 32,(4,100.0%) 18} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002338/2.258, allocations: 130.1 kB / 1.74 GB, free: 243.4 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.00489/2.263, allocations: 4.214 MB / 1.744 GB, free: 242.9 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 3.577e-06/2.263, allocations: 0 / 1.744 GB, free: 242.9 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.003238/2.266, allocations: 2.561 MB / 1.746 GB, free: 242.5 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002476/2.268, allocations: 0.6621 MB / 1.747 GB, free: 242.5 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01193/2.28, allocations: 7.549 MB / 1.754 GB, free: 240.8 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003486/2.284, allocations: 3.85 MB / 1.758 GB, free: 240 MB / 1.151 GB Notification: Performance of SimCode: time 8.31e-07/2.284, allocations: 0 / 1.758 GB, free: 240 MB / 1.151 GB (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N_res.mat --tempDir=temp_Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R_N_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R_N.fmu > Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N_res.mat does not exist to compare? outputFormat=mat