Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L_N",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L_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 10.0.0-master/package.mo): time 1.789/1.789, allocations: 390.4 MB / 397.7 MB, free: 11.17 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.0009566/0.0009566, allocations: 187 kB / 490.8 MB, free: 1.879 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.115/1.115, allocations: 221.4 MB / 0.7863 GB, free: 13.62 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008159/0.0008159, allocations: 112.5 kB / 0.9264 GB, free: 14.15 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 0.4185/0.4193, allocations: 149.1 MB / 1.072 GB, free: 182.4 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1798/0.5991, allocations: 143 MB / 1.212 GB, free: 39.95 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5384/1.138, allocations: 182.7 MB / 1.39 GB, free: 15.12 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002351/1.138, allocations: 90.47 kB / 1.39 GB, free: 15.1 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: 1488 * Number of variables: 1488 Notification: Performance of Generate backend data structure: time 0.4564/1.594, allocations: 214.8 MB / 1.6 GB, free: 8.934 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 3.203e-05/1.594, allocations: 12 kB / 1.6 GB, free: 8.922 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00566/1.6, allocations: 1.031 MB / 1.601 GB, free: 7.883 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005713/1.606, allocations: 3.414 MB / 1.604 GB, free: 4.41 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001315/1.606, allocations: 176 kB / 1.604 GB, free: 4.238 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006759/1.607, allocations: 331.8 kB / 1.605 GB, free: 3.914 MB / 1.01 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.008438/1.615, allocations: 5.634 MB / 1.61 GB, free: 14.28 MB / 1.026 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01062/1.626, allocations: 7.866 MB / 1.618 GB, free: 5.98 MB / 1.026 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001225/1.626, allocations: 23.78 kB / 1.618 GB, free: 5.957 MB / 1.026 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000457/1.626, allocations: 16 kB / 1.618 GB, free: 5.941 MB / 1.026 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002415/1.626, allocations: 330.7 kB / 1.618 GB, free: 5.617 MB / 1.026 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0309/1.657, allocations: 39.12 MB / 1.656 GB, free: 10.8 MB / 1.073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00232/1.66, allocations: 2.15 MB / 1.659 GB, free: 8.641 MB / 1.073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002195/1.662, allocations: 1.944 MB / 1.66 GB, free: 6.695 MB / 1.073 GB Notification: Performance of preOpt evalFunc (simulation): time 8.648e-05/1.662, allocations: 18 kB / 1.66 GB, free: 6.676 MB / 1.073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.007e-05/1.662, allocations: 52.56 kB / 1.661 GB, free: 6.617 MB / 1.073 GB Notification: Performance of pre-optimization done (n=179): time 5e-06/1.662, allocations: 0 / 1.661 GB, free: 6.617 MB / 1.073 GB Notification: Performance of matching and sorting (n=182): time 0.009265/1.671, allocations: 6.071 MB / 1.666 GB, free: 0.5156 MB / 1.073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.653e-05/1.671, allocations: 77.41 kB / 1.667 GB, free: 440 kB / 1.073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001211/1.673, allocations: 1.093 MB / 1.668 GB, free: 15.34 MB / 1.089 GB Notification: Performance of collectPreVariables (initialization): time 9.36e-05/1.673, allocations: 25.7 kB / 1.668 GB, free: 15.31 MB / 1.089 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008503/1.674, allocations: 1.991 MB / 1.67 GB, free: 13.29 MB / 1.089 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004047/1.674, allocations: 0.6082 MB / 1.67 GB, free: 12.67 MB / 1.089 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.583e-05/1.674, allocations: 3.938 kB / 1.67 GB, free: 12.67 MB / 1.089 GB Notification: Performance of setup shared object (initialization): time 0.0001437/1.674, allocations: 394.3 kB / 1.671 GB, free: 12.28 MB / 1.089 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001466/1.676, allocations: 1.18 MB / 1.672 GB, free: 11.09 MB / 1.089 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001769/1.677, allocations: 1.842 MB / 1.673 GB, free: 8.938 MB / 1.089 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001789/1.679, allocations: 1.532 MB / 1.675 GB, free: 7.41 MB / 1.089 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.135e-06/1.679, allocations: 8 kB / 1.675 GB, free: 7.402 MB / 1.089 GB Notification: Performance of matching and sorting (n=282) (initialization): time 0.006784/1.686, allocations: 4.411 MB / 1.679 GB, free: 2.965 MB / 1.089 GB Notification: Performance of prepare postOptimizeDAE: time 1.329e-05/1.686, allocations: 11.28 kB / 1.679 GB, free: 2.957 MB / 1.089 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.071e-05/1.686, allocations: 20 kB / 1.679 GB, free: 2.938 MB / 1.089 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003862/1.69, allocations: 1.56 MB / 1.681 GB, free: 1.371 MB / 1.089 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001112/1.691, allocations: 331.4 kB / 1.681 GB, free: 1.047 MB / 1.089 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01877/1.71, allocations: 15.57 MB / 1.696 GB, free: 1.008 MB / 1.104 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00123/1.711, allocations: 47.95 kB / 1.696 GB, free: 0.9609 MB / 1.104 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000177/1.711, allocations: 99.98 kB / 1.697 GB, free: 0.8633 MB / 1.104 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 98 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (174): * Single equations (assignments): 170 * 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 {(14,34.7%) 24,(6,66.7%) 24,(6,66.7%) 16,(6,66.7%) 16} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002771/1.712, allocations: 164.3 kB / 1.697 GB, free: 0.6953 MB / 1.104 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002624/1.712, allocations: 209.5 kB / 1.697 GB, free: 500 kB / 1.104 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006492/1.718, allocations: 4.079 MB / 1.701 GB, free: 12.38 MB / 1.12 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.514e-05/1.718, allocations: 23.94 kB / 1.701 GB, free: 12.35 MB / 1.12 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.435e-05/1.718, allocations: 16 kB / 1.701 GB, free: 12.34 MB / 1.12 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.31e-05/1.718, allocations: 15.91 kB / 1.701 GB, free: 12.32 MB / 1.12 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01216/1.731, allocations: 8.082 MB / 1.709 GB, free: 4.113 MB / 1.12 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.514e-06/1.731, allocations: 4 kB / 1.709 GB, free: 4.109 MB / 1.12 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006866/1.731, allocations: 155.7 kB / 1.709 GB, free: 3.957 MB / 1.12 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003686/1.735, allocations: 1.526 MB / 1.71 GB, free: 2.422 MB / 1.12 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001106/1.735, allocations: 12 kB / 1.71 GB, free: 2.41 MB / 1.12 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01867/1.754, allocations: 15.54 MB / 1.726 GB, free: 2.414 MB / 1.135 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.913e-06/1.754, allocations: 7.938 kB / 1.726 GB, free: 2.406 MB / 1.135 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.006481/1.76, allocations: 4.483 MB / 1.73 GB, free: 13.73 MB / 1.151 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.006502/1.767, allocations: 4.912 MB / 1.735 GB, free: 8.629 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009087/1.768, allocations: 0.5258 MB / 1.735 GB, free: 8.082 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002853/1.768, allocations: 8 kB / 1.735 GB, free: 8.074 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008373/1.769, allocations: 39.94 kB / 1.735 GB, free: 8.035 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001862/1.769, allocations: 101.7 kB / 1.735 GB, free: 7.938 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000127/1.769, allocations: 51.98 kB / 1.736 GB, free: 7.887 MB / 1.151 GB Notification: Performance of sort global known variables: time 0.0009985/1.77, allocations: 0.81 MB / 1.736 GB, free: 7.086 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.003236/1.773, allocations: 0.9023 MB / 1.737 GB, free: 6.184 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 (77): * Single equations (assignments): 73 * 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%) 16,(6,66.7%) 16,(6,66.7%) 24,(14,34.7%) 24} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002231/1.774, allocations: 119 kB / 1.737 GB, free: 6.059 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.006114/1.78, allocations: 4.006 MB / 1.741 GB, free: 2.012 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 3.286e-06/1.78, allocations: 0 / 1.741 GB, free: 2.012 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.2904/2.07, allocations: 2.492 MB / 1.744 GB, free: 430.6 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002759/2.073, allocations: 0.6042 MB / 1.744 GB, free: 430.6 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0161/2.089, allocations: 7.056 MB / 1.751 GB, free: 429 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004486/2.094, allocations: 3.694 MB / 1.755 GB, free: 428.2 MB / 1.151 GB Notification: Performance of SimCode: time 9.02e-07/2.094, allocations: 0 / 1.755 GB, free: 428.2 MB / 1.151 GB (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N_res.mat --tempDir=temp_Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L_N_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L_N.fmu > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N_res.mat does not exist to compare? outputFormat=mat