Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.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: translateModel(Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|criSol.G_TC|criSol.TEnv|criSol.TIn",fileNamePrefix="Buildings_9_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc") translateModel(Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|criSol.G_TC|criSol.TEnv|criSol.TIn",fileNamePrefix="Buildings_9_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc") [: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.104/2.104, allocations: 387.2 MB / 394.5 MB, free: 13.32 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001164/0.001164, allocations: 191.9 kB / 487 MB, free: 0.75 MB / 378.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.524/1.524, allocations: 221.3 MB / 0.7819 GB, free: 6.84 MB / 0.573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001123/0.001123, allocations: 100.7 kB / 0.9213 GB, free: 43.73 MB / 0.6198 GB Notification: Performance of FrontEnd - loaded program: time 8.536e-06/8.636e-06, allocations: 0 / 1.066 GB, free: 7.617 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8639/0.8639, allocations: 142.3 MB / 1.205 GB, free: 72.88 MB / 0.7917 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2039/1.068, allocations: 149.1 MB / 1.351 GB, free: 14.33 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002513/1.068, allocations: 88.42 kB / 1.351 GB, free: 14.25 MB / 0.8542 GB Notification: Performance of FrontEnd: time 0.003447/1.072, allocations: 0.8789 MB / 1.352 GB, free: 13.39 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 7.765e-06/1.072, allocations: 0 / 1.352 GB, free: 13.39 MB / 0.8542 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003866/1.072, allocations: 353.8 kB / 1.352 GB, free: 13 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.599e-05/1.072, allocations: 8.031 kB / 1.352 GB, free: 13 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.012e-05/1.072, allocations: 11.89 kB / 1.352 GB, free: 12.98 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001379/1.072, allocations: 173.4 kB / 1.352 GB, free: 12.78 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.439e-05/1.072, allocations: 0 / 1.352 GB, free: 12.78 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.402e-05/1.072, allocations: 0.5312 kB / 1.352 GB, free: 12.78 MB / 0.8542 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.468e-05/1.072, allocations: 23.91 kB / 1.352 GB, free: 12.75 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.307e-05/1.073, allocations: 48.78 kB / 1.352 GB, free: 12.7 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.346e-06/1.073, allocations: 0 / 1.352 GB, free: 12.7 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.928e-06/1.073, allocations: 0 / 1.352 GB, free: 12.7 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.334e-06/1.073, allocations: 0 / 1.352 GB, free: 12.7 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003789/1.073, allocations: 245.4 kB / 1.353 GB, free: 12.43 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 7.892e-05/1.073, allocations: 38.52 kB / 1.353 GB, free: 12.38 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.646e-05/1.073, allocations: 20.94 kB / 1.353 GB, free: 12.36 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 1.738e-05/1.073, allocations: 3.984 kB / 1.353 GB, free: 12.35 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.98e-05/1.073, allocations: 30.56 kB / 1.353 GB, free: 12.31 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=3): time 1.172e-06/1.073, allocations: 3.938 kB / 1.353 GB, free: 12.31 MB / 0.8542 GB Notification: Performance of matching and sorting (n=3): time 0.0001801/1.073, allocations: 53.59 kB / 1.353 GB, free: 12.25 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.194e-05/1.073, allocations: 55.41 kB / 1.353 GB, free: 12.18 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.488e-05/1.073, allocations: 97.66 kB / 1.353 GB, free: 12.08 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 1.385e-05/1.073, allocations: 29.7 kB / 1.353 GB, free: 12.05 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 3.987e-05/1.074, allocations: 92.12 kB / 1.353 GB, free: 11.95 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 1.638e-05/1.074, allocations: 3.906 kB / 1.353 GB, free: 11.95 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.42e-06/1.074, allocations: 0 / 1.353 GB, free: 11.95 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001128/1.074, allocations: 322.7 kB / 1.353 GB, free: 11.62 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.793e-05/1.074, allocations: 11.98 kB / 1.353 GB, free: 11.61 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.866e-05/1.074, allocations: 8 kB / 1.353 GB, free: 11.61 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.564e-05/1.074, allocations: 8 kB / 1.353 GB, free: 11.6 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.123e-06/1.074, allocations: 0 / 1.353 GB, free: 11.6 MB / 0.8542 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.974e-05/1.074, allocations: 53.69 kB / 1.353 GB, free: 11.54 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.135e-05/1.074, allocations: 4 kB / 1.353 GB, free: 11.54 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.013e-06/1.074, allocations: 4.906 kB / 1.353 GB, free: 11.53 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.068e-05/1.074, allocations: 1.781 kB / 1.353 GB, free: 11.53 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001324/1.074, allocations: 11.98 kB / 1.353 GB, free: 11.52 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.358e-06/1.074, allocations: 4 kB / 1.353 GB, free: 11.52 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.214e-05/1.074, allocations: 11.94 kB / 1.353 GB, free: 11.5 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.061e-05/1.074, allocations: 3.984 kB / 1.353 GB, free: 11.5 MB / 0.8542 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 (3): * Single equations (assignments): 3 * 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 6.396e-05/1.074, allocations: 101 kB / 1.353 GB, free: 11.39 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.96e-05/1.074, allocations: 7.906 kB / 1.353 GB, free: 11.39 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.64e-05/1.074, allocations: 8.188 kB / 1.353 GB, free: 11.38 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.482e-06/1.074, allocations: 7.938 kB / 1.354 GB, free: 11.37 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.422e-06/1.074, allocations: 4.672 kB / 1.354 GB, free: 11.36 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.326e-06/1.074, allocations: 0 / 1.354 GB, free: 11.36 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001458/1.074, allocations: 150.1 kB / 1.354 GB, free: 11.18 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.61e-07/1.074, allocations: 4 kB / 1.354 GB, free: 11.18 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.397e-05/1.075, allocations: 12.55 kB / 1.354 GB, free: 11.16 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.553e-06/1.075, allocations: 0 / 1.354 GB, free: 11.16 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.896e-06/1.075, allocations: 0 / 1.354 GB, free: 11.16 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.575e-06/1.075, allocations: 4 kB / 1.354 GB, free: 11.16 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.907e-06/1.075, allocations: 4.625 kB / 1.354 GB, free: 11.16 MB / 0.8542 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001357/1.075, allocations: 155.4 kB / 1.354 GB, free: 10.99 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 4.231e-05/1.075, allocations: 83.17 kB / 1.354 GB, free: 10.89 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.698e-05/1.075, allocations: 0 / 1.354 GB, free: 10.89 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.908e-05/1.075, allocations: 4 kB / 1.354 GB, free: 10.89 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.928e-05/1.075, allocations: 7.984 kB / 1.354 GB, free: 10.88 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.959e-06/1.075, allocations: 0.6875 kB / 1.354 GB, free: 10.88 MB / 0.8542 GB Notification: Performance of sort global known variables: time 4.398e-05/1.075, allocations: 87.83 kB / 1.354 GB, free: 10.79 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0002118/1.075, allocations: 8 kB / 1.354 GB, free: 10.79 MB / 0.8542 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (3): * Single equations (assignments): 3 * 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.0001306/1.075, allocations: 107.2 kB / 1.354 GB, free: 10.67 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 8.724e-05/1.075, allocations: 20 kB / 1.354 GB, free: 10.65 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/1.075, allocations: 0 / 1.354 GB, free: 10.65 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 2.928e-05/1.076, allocations: 12 kB / 1.354 GB, free: 10.64 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001398/1.076, allocations: 6.312 kB / 1.354 GB, free: 10.64 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002709/1.076, allocations: 90.41 kB / 1.354 GB, free: 10.52 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002945/1.076, allocations: 0.6993 MB / 1.355 GB, free: 9.801 MB / 0.8542 GB Notification: Performance of SimCode: time 2e-07/1.076, allocations: 0 / 1.355 GB, free: 9.801 MB / 0.8542 GB Notification: Performance of Templates: time 0.002317/1.079, allocations: 484.1 kB / 1.355 GB, free: 9.363 MB / 0.8542 GB make -j1 -f Buildings_9_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.makefile (rm -f Buildings_9_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.pipe ; mkfifo Buildings_9_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.pipe >> ../files/Buildings_9_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.sim & ./Buildings_9_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_SolarCollectors_Controls_BaseClasses_Examples_GCritCalc.csv","../files/Buildings_9_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches