Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface.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.Fluid.Movers.BaseClasses.Validation.PowerInterface,fileNamePrefix="Buildings_9_Buildings_Fluid_Movers_BaseClasses_Validation_PowerInterface",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface,fileNamePrefix="Buildings_9_Buildings_Fluid_Movers_BaseClasses_Validation_PowerInterface",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 2.083/2.083, allocations: 387.2 MB / 394.5 MB, free: 13.7 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.001243/0.001243, allocations: 184.3 kB / 487 MB, free: 5.379 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.388/1.388, allocations: 221.3 MB / 0.7819 GB, free: 1.402 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.001/0.0009999, allocations: 98.8 kB / 0.9213 GB, free: 2.648 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.5862/0.5873, allocations: 148.5 MB / 1.066 GB, free: 168.2 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2595/0.8468, allocations: 142.3 MB / 1.205 GB, free: 26.15 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6669/1.514, allocations: 149.4 MB / 1.351 GB, free: 15.82 MB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001803/1.514, allocations: 78.28 kB / 1.351 GB, free: 15.82 MB / 0.8073 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.009126/1.523, allocations: 3.27 MB / 1.354 GB, free: 15.28 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.519e-05/1.523, allocations: 9.406 kB / 1.354 GB, free: 15.28 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000854/1.524, allocations: 112.9 kB / 1.355 GB, free: 15.26 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.185e-05/1.524, allocations: 165.8 kB / 1.355 GB, free: 15.07 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.724e-05/1.524, allocations: 2.625 kB / 1.355 GB, free: 15.07 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.145e-05/1.524, allocations: 8.219 kB / 1.355 GB, free: 15.06 MB / 0.8073 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001686/1.524, allocations: 67.69 kB / 1.355 GB, free: 15.06 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001664/1.525, allocations: 98.89 kB / 1.355 GB, free: 15.02 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.572e-06/1.525, allocations: 0 / 1.355 GB, free: 15.02 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.453e-05/1.525, allocations: 1.188 kB / 1.355 GB, free: 15.02 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.4e-06/1.525, allocations: 1.719 kB / 1.355 GB, free: 15.02 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000974/1.526, allocations: 432.3 kB / 1.355 GB, free: 14.76 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001205/1.526, allocations: 63.72 kB / 1.355 GB, free: 14.74 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.348e-05/1.526, allocations: 31.75 kB / 1.355 GB, free: 14.73 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 2.312e-05/1.526, allocations: 1.375 kB / 1.355 GB, free: 14.73 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.085e-05/1.526, allocations: 34.62 kB / 1.355 GB, free: 14.69 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=5): time 1.072e-06/1.526, allocations: 0.9375 kB / 1.355 GB, free: 14.69 MB / 0.8073 GB Notification: Performance of matching and sorting (n=5): time 0.0002411/1.526, allocations: 94.22 kB / 1.356 GB, free: 14.64 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.687e-05/1.526, allocations: 57.12 kB / 1.356 GB, free: 14.58 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.381e-05/1.526, allocations: 115.5 kB / 1.356 GB, free: 14.49 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.396e-05/1.526, allocations: 26.45 kB / 1.356 GB, free: 14.46 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 3.286e-05/1.526, allocations: 105.3 kB / 1.356 GB, free: 14.36 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 1.736e-05/1.526, allocations: 16.55 kB / 1.356 GB, free: 14.35 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.508e-06/1.526, allocations: 0 / 1.356 GB, free: 14.35 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 4.4e-05/1.526, allocations: 318.6 kB / 1.356 GB, free: 14.04 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.683e-05/1.526, allocations: 30.05 kB / 1.356 GB, free: 14.04 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.554e-05/1.526, allocations: 31.39 kB / 1.356 GB, free: 14.03 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.084e-05/1.526, allocations: 19.27 kB / 1.356 GB, free: 14.03 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.383e-06/1.526, allocations: 0 / 1.356 GB, free: 14.03 MB / 0.8073 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001724/1.527, allocations: 102.2 kB / 1.356 GB, free: 14 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 2.613e-05/1.527, allocations: 98 kB / 1.356 GB, free: 13.9 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.268e-06/1.527, allocations: 0.9688 kB / 1.356 GB, free: 13.9 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.767e-06/1.527, allocations: 0 / 1.356 GB, free: 13.9 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003386/1.527, allocations: 51.3 kB / 1.356 GB, free: 13.89 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.018e-06/1.527, allocations: 0.875 kB / 1.356 GB, free: 13.89 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000262/1.527, allocations: 31.91 kB / 1.356 GB, free: 13.89 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.822e-05/1.527, allocations: 4.344 kB / 1.356 GB, free: 13.89 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 7.534e-06/1.527, allocations: 10.62 kB / 1.356 GB, free: 13.89 MB / 0.8073 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 7.311e-05/1.527, allocations: 32.67 kB / 1.357 GB, free: 13.88 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.71e-07/1.527, allocations: 0 / 1.357 GB, free: 13.88 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.553e-06/1.527, allocations: 1.219 kB / 1.357 GB, free: 13.88 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.709e-05/1.528, allocations: 18.31 kB / 1.357 GB, free: 13.88 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.549e-06/1.528, allocations: 10.05 kB / 1.357 GB, free: 13.88 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.168e-05/1.528, allocations: 12.27 kB / 1.357 GB, free: 13.87 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.48e-06/1.528, allocations: 3.016 kB / 1.357 GB, free: 13.87 MB / 0.8073 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.555e-05/1.528, allocations: 103.3 kB / 1.357 GB, free: 13.77 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.5e-05/1.528, allocations: 11.41 kB / 1.357 GB, free: 13.76 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.907e-05/1.528, allocations: 16.64 kB / 1.357 GB, free: 13.75 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.906e-06/1.528, allocations: 5.078 kB / 1.357 GB, free: 13.75 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/1.528, allocations: 3.906 kB / 1.357 GB, free: 13.75 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.175e-06/1.528, allocations: 1.344 kB / 1.357 GB, free: 13.75 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000394/1.528, allocations: 365 kB / 1.357 GB, free: 13.46 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.415e-06/1.528, allocations: 2.109 kB / 1.357 GB, free: 13.46 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003007/1.529, allocations: 44.03 kB / 1.357 GB, free: 13.45 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.995e-06/1.529, allocations: 1.719 kB / 1.357 GB, free: 13.45 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.534e-05/1.529, allocations: 3.031 kB / 1.357 GB, free: 13.45 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.375e-06/1.529, allocations: 2.859 kB / 1.357 GB, free: 13.45 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/1.529, allocations: 4 kB / 1.357 GB, free: 13.45 MB / 0.8073 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001811/1.529, allocations: 230.9 kB / 1.357 GB, free: 13.26 MB / 0.8073 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002191/1.529, allocations: 0.5887 MB / 1.358 GB, free: 12.7 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 5.583e-05/1.529, allocations: 94.48 kB / 1.358 GB, free: 12.6 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.834e-05/1.529, allocations: 1.062 kB / 1.358 GB, free: 12.6 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002965/1.529, allocations: 31.92 kB / 1.358 GB, free: 12.6 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.509e-05/1.529, allocations: 8.938 kB / 1.358 GB, free: 12.59 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.38e-05/1.53, allocations: 7.766 kB / 1.358 GB, free: 12.59 MB / 0.8073 GB Notification: Performance of sort global known variables: time 3.908e-05/1.53, allocations: 99.89 kB / 1.358 GB, free: 12.52 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.001423/1.531, allocations: 40.83 kB / 1.358 GB, free: 12.5 MB / 0.8073 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 5 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001046/1.531, allocations: 97.77 kB / 1.358 GB, free: 12.41 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0001949/1.531, allocations: 84.92 kB / 1.358 GB, free: 12.41 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/1.531, allocations: 3.938 kB / 1.358 GB, free: 12.41 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 6.85e-05/1.531, allocations: 29.3 kB / 1.358 GB, free: 12.41 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001664/1.532, allocations: 2.938 kB / 1.358 GB, free: 12.41 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007463/1.532, allocations: 193 kB / 1.359 GB, free: 12.3 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001997/1.533, allocations: 0.7213 MB / 1.359 GB, free: 11.59 MB / 0.8073 GB Notification: Performance of SimCode: time 2.4e-07/1.533, allocations: 0 / 1.359 GB, free: 11.59 MB / 0.8073 GB (rm -f Buildings_9_Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface.pipe ; mkfifo Buildings_9_Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface.pipe >> ../files/Buildings_9_Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Movers_BaseClasses_Validation_PowerInterface_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_Movers_BaseClasses_Validation_PowerInterface.fmu > Buildings_9_Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface_res.mat does not exist to compare? outputFormat=mat