Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.Shade.Validation.Shade_H.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.Controls.OBC.Shade.Validation.Shade_H,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_Shade_Validation_Shade_H",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.Shade.Validation.Shade_H,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_Shade_Validation_Shade_H",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.839/1.839, allocations: 387.2 MB / 394.5 MB, free: 4.555 MB / 306.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001073/0.001073, allocations: 173.3 kB / 487 MB, free: 11.11 MB / 402.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.156/1.156, allocations: 221.3 MB / 0.7819 GB, free: 4.035 MB / 0.5497 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008249/0.0008249, allocations: 102.2 kB / 0.9213 GB, free: 5.125 MB / 0.6903 GB Notification: Performance of FrontEnd - loaded program: time 0.3787/0.3796, allocations: 148.5 MB / 1.066 GB, free: 141 MB / 0.7216 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1855/0.5651, allocations: 142.3 MB / 1.205 GB, free: 14.7 MB / 0.7372 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.4924/1.058, allocations: 148.3 MB / 1.35 GB, free: 3.797 MB / 0.8153 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001733/1.058, allocations: 59.97 kB / 1.35 GB, free: 3.738 MB / 0.8153 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.003049/1.061, allocations: 1.138 MB / 1.351 GB, free: 2.566 MB / 0.8153 GB Notification: Performance of prepare preOptimizeDAE: time 3.3e-05/1.061, allocations: 8 kB / 1.351 GB, free: 2.559 MB / 0.8153 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.297e-05/1.061, allocations: 7.906 kB / 1.351 GB, free: 2.551 MB / 0.8153 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001366/1.061, allocations: 174.9 kB / 1.351 GB, free: 2.34 MB / 0.8153 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.151e-05/1.061, allocations: 0 / 1.351 GB, free: 2.34 MB / 0.8153 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.48e-05/1.061, allocations: 7.906 kB / 1.351 GB, free: 2.332 MB / 0.8153 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.867e-05/1.061, allocations: 20 kB / 1.351 GB, free: 2.312 MB / 0.8153 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.292e-05/1.061, allocations: 49.67 kB / 1.352 GB, free: 2.258 MB / 0.8153 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.212e-06/1.061, allocations: 4 kB / 1.352 GB, free: 2.254 MB / 0.8153 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.146e-05/1.061, allocations: 7.984 kB / 1.352 GB, free: 2.246 MB / 0.8153 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.288e-06/1.061, allocations: 0 / 1.352 GB, free: 2.246 MB / 0.8153 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003769/1.062, allocations: 277.3 kB / 1.352 GB, free: 1.938 MB / 0.8153 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001288/1.062, allocations: 38.58 kB / 1.352 GB, free: 1.891 MB / 0.8153 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.069e-05/1.062, allocations: 13.02 kB / 1.352 GB, free: 1.875 MB / 0.8153 GB Notification: Performance of preOpt evalFunc (simulation): time 1.419e-05/1.062, allocations: 3.984 kB / 1.352 GB, free: 1.871 MB / 0.8153 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.74e-05/1.062, allocations: 31.31 kB / 1.352 GB, free: 1.832 MB / 0.8153 GB Notification: Performance of pre-optimization done (n=3): time 1.392e-06/1.062, allocations: 0 / 1.352 GB, free: 1.832 MB / 0.8153 GB Notification: Performance of matching and sorting (n=3): time 0.0001481/1.062, allocations: 57.53 kB / 1.352 GB, free: 1.77 MB / 0.8153 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.202e-05/1.062, allocations: 59.41 kB / 1.352 GB, free: 1.699 MB / 0.8153 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.213e-05/1.062, allocations: 103 kB / 1.352 GB, free: 1.594 MB / 0.8153 GB Notification: Performance of collectPreVariables (initialization): time 1.636e-05/1.062, allocations: 25.7 kB / 1.352 GB, free: 1.562 MB / 0.8153 GB Notification: Performance of collectInitialEqns (initialization): time 4.558e-05/1.062, allocations: 96.03 kB / 1.352 GB, free: 1.465 MB / 0.8153 GB Notification: Performance of collectInitialBindings (initialization): time 1.493e-05/1.062, allocations: 3.906 kB / 1.352 GB, free: 1.461 MB / 0.8153 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.998e-06/1.062, allocations: 1.531 kB / 1.352 GB, free: 1.461 MB / 0.8153 GB Notification: Performance of setup shared object (initialization): time 9.338e-05/1.062, allocations: 318.8 kB / 1.353 GB, free: 1.141 MB / 0.8153 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.416e-05/1.062, allocations: 12 kB / 1.353 GB, free: 1.129 MB / 0.8153 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.725e-05/1.062, allocations: 29.72 kB / 1.353 GB, free: 1.094 MB / 0.8153 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.178e-05/1.062, allocations: 4 kB / 1.353 GB, free: 1.09 MB / 0.8153 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.253e-06/1.062, allocations: 0.75 kB / 1.353 GB, free: 1.09 MB / 0.8153 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.495e-05/1.063, allocations: 57.59 kB / 1.353 GB, free: 1.027 MB / 0.8153 GB Notification: Performance of prepare postOptimizeDAE: time 9.688e-06/1.063, allocations: 4 kB / 1.353 GB, free: 1.023 MB / 0.8153 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.46e-06/1.063, allocations: 0 / 1.353 GB, free: 1.023 MB / 0.8153 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.516e-06/1.063, allocations: 3.938 kB / 1.353 GB, free: 1.02 MB / 0.8153 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.31e-05/1.063, allocations: 11.98 kB / 1.353 GB, free: 1.008 MB / 0.8153 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.206e-06/1.063, allocations: 0 / 1.353 GB, free: 1.008 MB / 0.8153 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.778e-05/1.063, allocations: 16.78 kB / 1.353 GB, free: 0.9922 MB / 0.8153 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.244e-06/1.063, allocations: 3.938 kB / 1.353 GB, free: 0.9883 MB / 0.8153 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 ($PRE.shaH.hys.y,shaH.hys.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * 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.591e-05/1.063, allocations: 114.1 kB / 1.353 GB, free: 0.8711 MB / 0.8153 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.713e-05/1.063, allocations: 3.906 kB / 1.353 GB, free: 0.8672 MB / 0.8153 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.214e-05/1.063, allocations: 12 kB / 1.353 GB, free: 0.8516 MB / 0.8153 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.523e-06/1.063, allocations: 4 kB / 1.353 GB, free: 0.8477 MB / 0.8153 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.347e-06/1.063, allocations: 0 / 1.353 GB, free: 0.8477 MB / 0.8153 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.314e-06/1.063, allocations: 0 / 1.353 GB, free: 0.8477 MB / 0.8153 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001595/1.063, allocations: 154.2 kB / 1.353 GB, free: 0.6602 MB / 0.8153 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/1.063, allocations: 4 kB / 1.353 GB, free: 0.6562 MB / 0.8153 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.88e-05/1.063, allocations: 4 kB / 1.353 GB, free: 0.6523 MB / 0.8153 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.694e-06/1.063, allocations: 0 / 1.353 GB, free: 0.6523 MB / 0.8153 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.356e-06/1.063, allocations: 0 / 1.353 GB, free: 0.6523 MB / 0.8153 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.575e-06/1.063, allocations: 7.844 kB / 1.353 GB, free: 0.6445 MB / 0.8153 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/1.063, allocations: 0 / 1.353 GB, free: 0.6445 MB / 0.8153 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001179/1.063, allocations: 159.4 kB / 1.353 GB, free: 484 kB / 0.8153 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002081/1.064, allocations: 0.5157 MB / 1.354 GB, free: 15.94 MB / 0.8309 GB Notification: Performance of postOpt removeConstants (simulation): time 3.181e-05/1.064, allocations: 77.11 kB / 1.354 GB, free: 15.84 MB / 0.8309 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.023e-05/1.064, allocations: 7.906 kB / 1.354 GB, free: 15.84 MB / 0.8309 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001139/1.064, allocations: 15.98 kB / 1.354 GB, free: 15.82 MB / 0.8309 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.779e-05/1.064, allocations: 7.984 kB / 1.354 GB, free: 15.81 MB / 0.8309 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.218e-06/1.064, allocations: 0 / 1.354 GB, free: 15.81 MB / 0.8309 GB Notification: Performance of sort global known variables: time 4.237e-05/1.064, allocations: 87.28 kB / 1.354 GB, free: 15.73 MB / 0.8309 GB Notification: Performance of remove unused functions: time 0.0007464/1.065, allocations: 8 kB / 1.354 GB, free: 15.72 MB / 0.8309 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (shaH.hys.y) * Number of discrete states: 1 (shaH.hys.y) * 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 9.163e-05/1.065, allocations: 99.23 kB / 1.354 GB, free: 15.61 MB / 0.8309 GB Notification: Performance of simCode: created initialization part: time 9.735e-05/1.065, allocations: 35.94 kB / 1.354 GB, free: 15.58 MB / 0.8309 GB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/1.065, allocations: 0 / 1.354 GB, free: 15.58 MB / 0.8309 GB Notification: Performance of simCode: created simulation system equations: time 2.849e-05/1.065, allocations: 12 kB / 1.354 GB, free: 15.57 MB / 0.8309 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001633/1.065, allocations: 7.891 kB / 1.354 GB, free: 15.56 MB / 0.8309 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002322/1.065, allocations: 79.83 kB / 1.354 GB, free: 15.45 MB / 0.8309 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002644/1.066, allocations: 0.6954 MB / 1.355 GB, free: 14.73 MB / 0.8309 GB Notification: Performance of SimCode: time 2.7e-07/1.066, allocations: 8 kB / 1.355 GB, free: 14.73 MB / 0.8309 GB (rm -f Buildings_9_Buildings.Controls.OBC.Shade.Validation.Shade_H.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.Shade.Validation.Shade_H.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.Shade.Validation.Shade_H.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.Shade.Validation.Shade_H.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.Shade.Validation.Shade_H_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_Shade_Validation_Shade_H_fmu --startTime=0 --stopTime=1800 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_Shade_Validation_Shade_H.fmu > Buildings_9_Buildings.Controls.OBC.Shade.Validation.Shade_H.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Controls.OBC.Shade.Validation.Shade_H_res.mat does not exist to compare? outputFormat=mat