Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.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.CDL.Integers.Sources.Validation.Constant,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Integers_Sources_Validation_Constant",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Integers_Sources_Validation_Constant",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.835/1.835, allocations: 387.2 MB / 394.5 MB, free: 13.65 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.0009522/0.0009522, allocations: 180.5 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.17/1.17, allocations: 221.3 MB / 0.7819 GB, free: 1.418 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.0008682/0.0008682, allocations: 113.7 kB / 0.9213 GB, free: 2.668 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.4297/0.4306, allocations: 148.5 MB / 1.066 GB, free: 168.2 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1899/0.6204, allocations: 142.3 MB / 1.205 GB, free: 26.15 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5371/1.158, allocations: 147.5 MB / 1.349 GB, free: 15.99 MB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001682/1.158, allocations: 69.17 kB / 1.349 GB, free: 15.99 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0004881/1.158, allocations: 361.7 kB / 1.35 GB, free: 15.65 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.661e-05/1.158, allocations: 9.5 kB / 1.35 GB, free: 15.65 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.214e-05/1.158, allocations: 0 / 1.35 GB, free: 15.65 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.053e-05/1.158, allocations: 165.3 kB / 1.35 GB, free: 15.45 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.366e-06/1.158, allocations: 1.281 kB / 1.35 GB, free: 15.45 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.716e-06/1.158, allocations: 4.031 kB / 1.35 GB, free: 15.45 MB / 0.8073 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 3.472e-05/1.159, allocations: 4.906 kB / 1.35 GB, free: 15.45 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 3.699e-05/1.159, allocations: 28.02 kB / 1.35 GB, free: 15.42 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.32e-06/1.159, allocations: 1.125 kB / 1.35 GB, free: 15.42 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.733e-06/1.159, allocations: 0.5 kB / 1.35 GB, free: 15.42 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.827e-06/1.159, allocations: 0.5 kB / 1.35 GB, free: 15.42 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001668/1.159, allocations: 365.5 kB / 1.35 GB, free: 15.04 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 4.041e-05/1.159, allocations: 178 kB / 1.351 GB, free: 14.86 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.631e-05/1.159, allocations: 80.14 kB / 1.351 GB, free: 14.77 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.112e-05/1.159, allocations: 75.28 kB / 1.351 GB, free: 14.7 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.866e-05/1.159, allocations: 110.5 kB / 1.351 GB, free: 14.59 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=0): time 1.142e-06/1.159, allocations: 0 / 1.351 GB, free: 14.59 MB / 0.8073 GB Notification: Performance of matching and sorting (n=0): time 6.281e-05/1.159, allocations: 28.53 kB / 1.351 GB, free: 14.55 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.546e-05/1.159, allocations: 56.59 kB / 1.351 GB, free: 14.49 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.084e-05/1.159, allocations: 87.52 kB / 1.351 GB, free: 14.4 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 4.709e-06/1.159, allocations: 25.7 kB / 1.351 GB, free: 14.37 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 1.747e-05/1.159, allocations: 82.59 kB / 1.351 GB, free: 14.29 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 1.322e-06/1.159, allocations: 0 / 1.351 GB, free: 14.29 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.7e-07/1.159, allocations: 0 / 1.351 GB, free: 14.29 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 3.767e-05/1.159, allocations: 315.7 kB / 1.351 GB, free: 13.97 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.186e-06/1.159, allocations: 0 / 1.351 GB, free: 13.97 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.465e-06/1.159, allocations: 4.062 kB / 1.351 GB, free: 13.96 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.162e-05/1.159, allocations: 80.28 kB / 1.351 GB, free: 13.89 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.869e-06/1.159, allocations: 79.22 kB / 1.352 GB, free: 13.81 MB / 0.8073 GB Notification: Performance of matching and sorting (n=0) (initialization): time 4.944e-05/1.159, allocations: 30.42 kB / 1.352 GB, free: 13.78 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.101e-05/1.159, allocations: 7.031 kB / 1.352 GB, free: 13.78 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.062e-05/1.159, allocations: 75.28 kB / 1.352 GB, free: 13.71 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.926e-05/1.159, allocations: 157.5 kB / 1.352 GB, free: 13.55 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.033e-05/1.159, allocations: 76.66 kB / 1.352 GB, free: 13.48 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.748e-05/1.159, allocations: 155.3 kB / 1.352 GB, free: 13.33 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.771e-05/1.159, allocations: 82.33 kB / 1.352 GB, free: 13.25 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.237e-06/1.159, allocations: 79.22 kB / 1.352 GB, free: 13.17 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 (0): * Single equations (assignments): 0 * 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 4.615e-05/1.159, allocations: 261 kB / 1.352 GB, free: 12.91 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.341e-05/1.159, allocations: 104.1 kB / 1.352 GB, free: 12.81 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.536e-05/1.16, allocations: 117.1 kB / 1.353 GB, free: 12.69 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.014e-05/1.16, allocations: 180.1 kB / 1.353 GB, free: 12.51 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.292e-05/1.16, allocations: 179.1 kB / 1.353 GB, free: 12.33 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.235e-05/1.16, allocations: 185.9 kB / 1.353 GB, free: 12.14 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.794e-05/1.16, allocations: 382 kB / 1.353 GB, free: 11.73 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.344e-05/1.16, allocations: 102.3 kB / 1.354 GB, free: 11.62 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.43e-05/1.16, allocations: 114.8 kB / 1.354 GB, free: 11.51 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.12e-05/1.16, allocations: 181.5 kB / 1.354 GB, free: 11.33 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.302e-05/1.16, allocations: 181.6 kB / 1.354 GB, free: 11.15 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.171e-05/1.16, allocations: 181.6 kB / 1.354 GB, free: 10.96 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.348e-05/1.16, allocations: 179.2 kB / 1.354 GB, free: 10.79 MB / 0.8073 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 5.509e-05/1.16, allocations: 304.2 kB / 1.355 GB, free: 10.47 MB / 0.8073 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.000105/1.16, allocations: 0.6659 MB / 1.355 GB, free: 25.79 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 6.552e-05/1.16, allocations: 192.9 kB / 1.356 GB, free: 25.58 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.804e-05/1.16, allocations: 183.4 kB / 1.356 GB, free: 25.39 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.33e-05/1.16, allocations: 101 kB / 1.356 GB, free: 25.29 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.401e-05/1.16, allocations: 183 kB / 1.356 GB, free: 25.11 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.156e-05/1.16, allocations: 102.4 kB / 1.356 GB, free: 25 MB / 0.823 GB Notification: Performance of sort global known variables: time 2.438e-05/1.16, allocations: 75.28 kB / 1.356 GB, free: 24.93 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0007701/1.161, allocations: 5.281 kB / 1.356 GB, free: 24.92 MB / 0.823 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 (0): * Single equations (assignments): 0 * 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.0001212/1.161, allocations: 178 kB / 1.356 GB, free: 24.76 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 2.245e-05/1.161, allocations: 0 / 1.356 GB, free: 24.76 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/1.161, allocations: 0 / 1.356 GB, free: 24.76 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 2.054e-06/1.161, allocations: 5.312 kB / 1.356 GB, free: 24.75 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002522/1.162, allocations: 0.528 MB / 1.357 GB, free: 24.23 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001808/1.162, allocations: 118.2 kB / 1.357 GB, free: 24.09 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001863/1.162, allocations: 0.6831 MB / 1.358 GB, free: 23.39 MB / 0.823 GB Notification: Performance of SimCode: time 2.5e-07/1.162, allocations: 0 / 1.358 GB, free: 23.39 MB / 0.823 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Integers_Sources_Validation_Constant_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Integers_Sources_Validation_Constant.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant_res.mat does not exist to compare? outputFormat=mat