Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_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_RL_N,fileNamePrefix="Buildings_9_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_9_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 9.1.1-maint.9.1.x/package.mo): time 1.801/1.801, allocations: 387.2 MB / 394.5 MB, free: 13.68 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.000922/0.000922, allocations: 185.3 kB / 487 MB, free: 5.371 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.164/1.164, allocations: 221.3 MB / 0.7819 GB, free: 1.406 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.0008313/0.0008314, allocations: 101.8 kB / 0.9213 GB, free: 2.664 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.4582/0.4591, allocations: 148.5 MB / 1.066 GB, free: 168.2 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2003/0.6594, allocations: 142.3 MB / 1.205 GB, free: 26.15 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5347/1.194, allocations: 207.1 MB / 1.408 GB, free: 2.336 MB / 0.8386 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002228/1.194, allocations: 98.64 kB / 1.408 GB, free: 2.281 MB / 0.8386 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.2653/1.46, allocations: 122.5 MB / 1.527 GB, free: 5.246 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.364e-05/1.46, allocations: 8 kB / 1.527 GB, free: 5.238 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004435/1.464, allocations: 0.6479 MB / 1.528 GB, free: 4.586 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004801/1.469, allocations: 2.075 MB / 1.53 GB, free: 2.449 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001311/1.469, allocations: 96 kB / 1.53 GB, free: 2.355 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008731/1.47, allocations: 172 kB / 1.53 GB, free: 2.188 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.006678/1.477, allocations: 3.085 MB / 1.533 GB, free: 15.09 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008905/1.486, allocations: 4.228 MB / 1.537 GB, free: 10.62 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.68e-05/1.486, allocations: 11.88 kB / 1.537 GB, free: 10.61 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005291/1.486, allocations: 8 kB / 1.537 GB, free: 10.6 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001798/1.486, allocations: 177.8 kB / 1.538 GB, free: 10.42 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02199/1.508, allocations: 21.04 MB / 1.558 GB, free: 3.402 MB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00145/1.51, allocations: 1.177 MB / 1.559 GB, free: 2.207 MB / 0.9792 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001391/1.511, allocations: 1.031 MB / 1.56 GB, free: 1.172 MB / 0.9792 GB Notification: Performance of preOpt evalFunc (simulation): time 6.312e-05/1.511, allocations: 16.94 kB / 1.56 GB, free: 1.156 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.741e-05/1.511, allocations: 47.56 kB / 1.56 GB, free: 1.102 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=107): time 3.026e-06/1.511, allocations: 0 / 1.56 GB, free: 1.102 MB / 0.9792 GB Notification: Performance of matching and sorting (n=138): time 0.009052/1.521, allocations: 4.797 MB / 1.565 GB, free: 12.3 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.688e-05/1.521, allocations: 64.72 kB / 1.565 GB, free: 12.22 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001078/1.522, allocations: 0.8306 MB / 1.566 GB, free: 11.38 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 7.747e-05/1.522, allocations: 25.7 kB / 1.566 GB, free: 11.35 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005988/1.522, allocations: 1.131 MB / 1.567 GB, free: 10.2 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 0.000328/1.523, allocations: 457.1 kB / 1.567 GB, free: 9.75 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.425e-05/1.523, allocations: 0 / 1.567 GB, free: 9.75 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 0.0001246/1.523, allocations: 377.8 kB / 1.568 GB, free: 9.375 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001078/1.524, allocations: 0.8668 MB / 1.569 GB, free: 8.508 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001307/1.525, allocations: 1.316 MB / 1.57 GB, free: 7 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001398/1.527, allocations: 1.111 MB / 1.571 GB, free: 5.887 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.326e-06/1.527, allocations: 8 kB / 1.571 GB, free: 5.879 MB / 0.9948 GB Notification: Performance of matching and sorting (n=205) (initialization): time 0.005572/1.532, allocations: 3.259 MB / 1.574 GB, free: 2.602 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 1.547e-05/1.532, allocations: 4 kB / 1.574 GB, free: 2.598 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.932e-05/1.532, allocations: 16 kB / 1.574 GB, free: 2.582 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002949/1.535, allocations: 1.112 MB / 1.575 GB, free: 1.465 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009482/1.536, allocations: 251.6 kB / 1.576 GB, free: 1.219 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01437/1.551, allocations: 11.33 MB / 1.587 GB, free: 5.539 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001258/1.552, allocations: 39.95 kB / 1.587 GB, free: 5.5 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002144/1.552, allocations: 64 kB / 1.587 GB, free: 5.438 MB / 1.01 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.0003105/1.552, allocations: 151.3 kB / 1.587 GB, free: 5.285 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003669/1.553, allocations: 150.2 kB / 1.587 GB, free: 5.137 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005283/1.558, allocations: 3.037 MB / 1.59 GB, free: 2.07 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.194e-05/1.558, allocations: 12 kB / 1.59 GB, free: 2.059 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.917e-05/1.558, allocations: 15.91 kB / 1.59 GB, free: 2.043 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.133e-05/1.558, allocations: 15.97 kB / 1.59 GB, free: 2.027 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00975/1.568, allocations: 5.604 MB / 1.596 GB, free: 12.31 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.045e-06/1.568, allocations: 4 kB / 1.596 GB, free: 12.31 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00059/1.569, allocations: 135.8 kB / 1.596 GB, free: 12.18 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002748/1.571, allocations: 1.033 MB / 1.597 GB, free: 11.14 MB / 1.026 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.616e-05/1.571, allocations: 4 kB / 1.597 GB, free: 11.13 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01364/1.585, allocations: 11.02 MB / 1.607 GB, free: 15.77 MB / 1.042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.807e-06/1.585, allocations: 7.938 kB / 1.607 GB, free: 15.76 MB / 1.042 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.005076/1.59, allocations: 3.264 MB / 1.611 GB, free: 12.34 MB / 1.042 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.004994/1.595, allocations: 3.672 MB / 1.614 GB, free: 8.488 MB / 1.042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008244/1.596, allocations: 411 kB / 1.615 GB, free: 8.066 MB / 1.042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003585/1.596, allocations: 4 kB / 1.615 GB, free: 8.062 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008357/1.597, allocations: 31.95 kB / 1.615 GB, free: 8.031 MB / 1.042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001517/1.597, allocations: 84.73 kB / 1.615 GB, free: 7.949 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.405e-05/1.598, allocations: 36 kB / 1.615 GB, free: 7.914 MB / 1.042 GB Notification: Performance of sort global known variables: time 0.0009302/1.599, allocations: 0.6282 MB / 1.615 GB, free: 7.281 MB / 1.042 GB Notification: Performance of remove unused functions: time 0.002546/1.601, allocations: 0.5703 MB / 1.616 GB, free: 6.711 MB / 1.042 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.0002066/1.601, allocations: 111.1 kB / 1.616 GB, free: 6.594 MB / 1.042 GB Notification: Performance of simCode: created initialization part: time 0.004522/1.606, allocations: 2.81 MB / 1.619 GB, free: 3.754 MB / 1.042 GB Notification: Performance of simCode: created event and clocks part: time 3.917e-06/1.606, allocations: 0 / 1.619 GB, free: 3.754 MB / 1.042 GB Notification: Performance of simCode: created simulation system equations: time 0.00301/1.609, allocations: 1.697 MB / 1.62 GB, free: 2.027 MB / 1.042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001873/1.611, allocations: 388.7 kB / 1.621 GB, free: 1.656 MB / 1.042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009055/1.62, allocations: 4.352 MB / 1.625 GB, free: 13.18 MB / 1.057 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002829/1.623, allocations: 2.417 MB / 1.627 GB, free: 10.73 MB / 1.057 GB Notification: Performance of SimCode: time 4.91e-07/1.623, allocations: 3.938 kB / 1.627 GB, free: 10.73 MB / 1.057 GB (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N_res.mat --tempDir=temp_Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL_N_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL_N.fmu > Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N_res.mat does not exist to compare? outputFormat=mat