Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Average.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.Controls.OBC.CDL.Continuous.Validation.Average,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Continuous_Validation_Average",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Average,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Continuous_Validation_Average",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.756/1.756, allocations: 390.4 MB / 397.7 MB, free: 10.59 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.0009698/0.0009698, allocations: 180.6 kB / 490.8 MB, free: 11.14 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.11/1.11, allocations: 221.4 MB / 0.7863 GB, free: 13.52 MB / 0.5886 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008284/0.0008283, allocations: 84.44 kB / 0.9264 GB, free: 4.484 MB / 0.6667 GB Notification: Performance of FrontEnd - loaded program: time 0.2339/0.2348, allocations: 149.2 MB / 1.072 GB, free: 15.4 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5208/0.7556, allocations: 143 MB / 1.212 GB, free: 155.9 MB / 0.8855 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1403/0.8959, allocations: 148.8 MB / 1.357 GB, free: 42.73 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001673/0.8961, allocations: 67.95 kB / 1.357 GB, free: 42.67 MB / 0.8855 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.002186/0.8983, allocations: 0.8756 MB / 1.358 GB, free: 41.78 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 3.27e-05/0.8984, allocations: 8.719 kB / 1.358 GB, free: 41.77 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.905e-05/0.8984, allocations: 3.906 kB / 1.358 GB, free: 41.77 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.169e-05/0.8985, allocations: 171 kB / 1.358 GB, free: 41.57 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.219e-05/0.8985, allocations: 0 / 1.358 GB, free: 41.57 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.049e-05/0.8985, allocations: 4.75 kB / 1.358 GB, free: 41.56 MB / 0.8855 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.97e-05/0.8986, allocations: 16 kB / 1.358 GB, free: 41.55 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.856e-05/0.8987, allocations: 43.16 kB / 1.358 GB, free: 41.5 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.848e-06/0.8987, allocations: 11.3 kB / 1.358 GB, free: 41.49 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.038e-05/0.8987, allocations: 0 / 1.358 GB, free: 41.49 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.08e-06/0.8987, allocations: 4.812 kB / 1.358 GB, free: 41.49 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004231/0.8992, allocations: 290 kB / 1.358 GB, free: 41.18 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 5.891e-05/0.8992, allocations: 31.64 kB / 1.358 GB, free: 41.14 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.931e-05/0.8993, allocations: 17.61 kB / 1.358 GB, free: 41.12 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 1.232e-05/0.8993, allocations: 0 / 1.358 GB, free: 41.12 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.116e-05/0.8993, allocations: 36.33 kB / 1.359 GB, free: 41.07 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=3): time 8.12e-07/0.8993, allocations: 0 / 1.359 GB, free: 41.07 MB / 0.8855 GB Notification: Performance of matching and sorting (n=3): time 0.0001449/0.8995, allocations: 53.55 kB / 1.359 GB, free: 41.02 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.478e-05/0.8995, allocations: 56.75 kB / 1.359 GB, free: 40.95 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.865e-05/0.8995, allocations: 101 kB / 1.359 GB, free: 40.84 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 8.556e-06/0.8995, allocations: 25.7 kB / 1.359 GB, free: 40.81 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 1.841e-05/0.8996, allocations: 81.67 kB / 1.359 GB, free: 40.73 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 1.585e-05/0.8996, allocations: 11.81 kB / 1.359 GB, free: 40.72 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.218e-06/0.8996, allocations: 0 / 1.359 GB, free: 40.72 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 4.346e-05/0.8997, allocations: 320.3 kB / 1.359 GB, free: 40.4 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.015e-05/0.8997, allocations: 8 kB / 1.359 GB, free: 40.39 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.814e-05/0.8997, allocations: 8 kB / 1.359 GB, free: 40.38 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.035e-05/0.8997, allocations: 4.719 kB / 1.359 GB, free: 40.38 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.292e-06/0.8997, allocations: 0 / 1.359 GB, free: 40.38 MB / 0.8855 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.323e-05/0.8998, allocations: 56.31 kB / 1.359 GB, free: 40.32 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.091e-05/0.8998, allocations: 7.281 kB / 1.359 GB, free: 40.32 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.258e-06/0.8998, allocations: 8.844 kB / 1.359 GB, free: 40.31 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.013e-05/0.8998, allocations: 0 / 1.359 GB, free: 40.31 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001359/0.9, allocations: 22.45 kB / 1.359 GB, free: 40.29 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.497e-06/0.9, allocations: 0.5312 kB / 1.359 GB, free: 40.29 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.011e-05/0.9001, allocations: 22.86 kB / 1.359 GB, free: 40.27 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.464e-06/0.9001, allocations: 0 / 1.359 GB, free: 40.27 MB / 0.8855 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 4.043e-05/0.9002, allocations: 105.1 kB / 1.359 GB, free: 40.16 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.55e-05/0.9002, allocations: 7.906 kB / 1.359 GB, free: 40.16 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.108e-05/0.9002, allocations: 12.89 kB / 1.359 GB, free: 40.14 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.172e-06/0.9002, allocations: 0 / 1.359 GB, free: 40.14 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.227e-06/0.9002, allocations: 0 / 1.359 GB, free: 40.14 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.605e-06/0.9002, allocations: 0.6875 kB / 1.359 GB, free: 40.14 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.846e-05/0.9003, allocations: 146.1 kB / 1.36 GB, free: 39.96 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.9003, allocations: 4.031 kB / 1.36 GB, free: 39.96 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001054/0.9005, allocations: 22.27 kB / 1.36 GB, free: 39.95 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.512e-06/0.9005, allocations: 0.9375 kB / 1.36 GB, free: 39.95 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.207e-06/0.9005, allocations: 3.984 kB / 1.36 GB, free: 39.94 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.894e-06/0.9005, allocations: 10.09 kB / 1.36 GB, free: 39.93 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.462e-06/0.9005, allocations: 0 / 1.36 GB, free: 39.93 MB / 0.8855 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 8.819e-05/0.9006, allocations: 148.5 kB / 1.36 GB, free: 39.77 MB / 0.8855 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0001128/0.9007, allocations: 0.5212 MB / 1.36 GB, free: 39.23 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 1.559e-05/0.9007, allocations: 81.64 kB / 1.36 GB, free: 39.14 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.398e-05/0.9007, allocations: 4.406 kB / 1.36 GB, free: 39.13 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000123/0.9009, allocations: 19.05 kB / 1.36 GB, free: 39.12 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.328e-05/0.9009, allocations: 7.984 kB / 1.36 GB, free: 39.11 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.917e-06/0.9009, allocations: 0 / 1.36 GB, free: 39.11 MB / 0.8855 GB Notification: Performance of sort global known variables: time 2.124e-05/0.901, allocations: 88.2 kB / 1.36 GB, free: 39.02 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0007289/0.9017, allocations: 11.94 kB / 1.36 GB, free: 39.01 MB / 0.8855 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 8.468e-05/0.9018, allocations: 96.47 kB / 1.361 GB, free: 38.91 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 7.689e-05/0.9019, allocations: 28.84 kB / 1.361 GB, free: 38.88 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 3.566e-06/0.9019, allocations: 0 / 1.361 GB, free: 38.88 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 2.755e-05/0.9019, allocations: 16.98 kB / 1.361 GB, free: 38.87 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001589/0.9021, allocations: 0.9688 kB / 1.361 GB, free: 38.87 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002193/0.9023, allocations: 81.67 kB / 1.361 GB, free: 38.77 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001307/0.9024, allocations: 0.6937 MB / 1.361 GB, free: 38.05 MB / 0.8855 GB Notification: Performance of SimCode: time 2.9e-07/0.9024, allocations: 0 / 1.361 GB, free: 38.05 MB / 0.8855 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Average.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Average.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Average.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Average.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Average_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Continuous_Validation_Average_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Continuous_Validation_Average.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Average.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Average_res.mat does not exist to compare? outputFormat=mat