Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Round.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.Round,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Continuous_Validation_Round",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Round,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Continuous_Validation_Round",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.772/1.772, allocations: 390.4 MB / 397.7 MB, free: 10.68 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.0009508/0.0009508, allocations: 188.3 kB / 490.8 MB, free: 11.2 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.1/1.1, allocations: 221.4 MB / 0.7863 GB, free: 13.56 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.0008327/0.0008327, allocations: 98.27 kB / 0.9264 GB, free: 4.504 MB / 0.6667 GB Notification: Performance of FrontEnd - loaded program: time 0.235/0.2359, allocations: 149.2 MB / 1.072 GB, free: 15.41 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5117/0.7475, allocations: 143 MB / 1.212 GB, free: 156 MB / 0.8855 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1354/0.883, allocations: 148.9 MB / 1.357 GB, free: 42.74 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001837/0.8832, allocations: 71.94 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.003252/0.8864, allocations: 1.19 MB / 1.358 GB, free: 41.46 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 3.248e-05/0.8865, allocations: 12 kB / 1.358 GB, free: 41.45 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.232e-05/0.8865, allocations: 9.469 kB / 1.358 GB, free: 41.45 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001019/0.8866, allocations: 179 kB / 1.359 GB, free: 41.23 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.405e-05/0.8867, allocations: 4 kB / 1.359 GB, free: 41.23 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.112e-05/0.8867, allocations: 0.5625 kB / 1.359 GB, free: 41.23 MB / 0.8855 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.16e-05/0.8868, allocations: 40.86 kB / 1.359 GB, free: 41.19 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.517e-05/0.8869, allocations: 65.14 kB / 1.359 GB, free: 41.12 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.412e-06/0.8869, allocations: 0.7188 kB / 1.359 GB, free: 41.12 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.073e-05/0.8869, allocations: 0 / 1.359 GB, free: 41.12 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.619e-06/0.8869, allocations: 0.6562 kB / 1.359 GB, free: 41.12 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004585/0.8874, allocations: 328.7 kB / 1.359 GB, free: 40.77 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001068/0.8875, allocations: 67.72 kB / 1.359 GB, free: 40.69 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.265e-05/0.8875, allocations: 21.7 kB / 1.359 GB, free: 40.67 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 1.61e-05/0.8876, allocations: 8.25 kB / 1.359 GB, free: 40.66 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.423e-05/0.8876, allocations: 39.77 kB / 1.359 GB, free: 40.62 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=6): time 1.042e-06/0.8876, allocations: 0 / 1.359 GB, free: 40.62 MB / 0.8855 GB Notification: Performance of matching and sorting (n=6): time 0.0001885/0.8878, allocations: 73.59 kB / 1.359 GB, free: 40.54 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.456e-05/0.8878, allocations: 56.72 kB / 1.359 GB, free: 40.47 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.628e-05/0.8879, allocations: 105 kB / 1.359 GB, free: 40.36 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 1.044e-05/0.8879, allocations: 29.7 kB / 1.359 GB, free: 40.33 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 1.617e-05/0.8879, allocations: 81.48 kB / 1.359 GB, free: 40.25 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 2.079e-05/0.8879, allocations: 27.64 kB / 1.359 GB, free: 40.22 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.751e-06/0.888, allocations: 0 / 1.359 GB, free: 40.22 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 3.832e-05/0.888, allocations: 315.4 kB / 1.36 GB, free: 39.9 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.241e-05/0.888, allocations: 16.56 kB / 1.36 GB, free: 39.89 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.02e-05/0.8881, allocations: 21.52 kB / 1.36 GB, free: 39.87 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.44e-05/0.8881, allocations: 13.81 kB / 1.36 GB, free: 39.86 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.132e-06/0.8881, allocations: 0 / 1.36 GB, free: 39.86 MB / 0.8855 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001108/0.8882, allocations: 81.53 kB / 1.36 GB, free: 39.77 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 8.386e-06/0.8882, allocations: 4.625 kB / 1.36 GB, free: 39.77 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.068e-06/0.8883, allocations: 4.547 kB / 1.36 GB, free: 39.76 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.335e-06/0.8883, allocations: 0 / 1.36 GB, free: 39.76 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001466/0.8884, allocations: 21.83 kB / 1.36 GB, free: 39.74 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.028e-06/0.8884, allocations: 3.906 kB / 1.36 GB, free: 39.74 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.767e-05/0.8885, allocations: 13.77 kB / 1.36 GB, free: 39.73 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.518e-06/0.8885, allocations: 0 / 1.36 GB, free: 39.73 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 (6): * Single equations (assignments): 6 * 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.027e-05/0.8886, allocations: 109.2 kB / 1.36 GB, free: 39.62 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.837e-05/0.8886, allocations: 3.906 kB / 1.36 GB, free: 39.61 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.259e-05/0.8886, allocations: 13.69 kB / 1.36 GB, free: 39.61 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.473e-06/0.8887, allocations: 0 / 1.36 GB, free: 39.61 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.885e-06/0.8887, allocations: 0 / 1.36 GB, free: 39.61 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.365e-06/0.8887, allocations: 0.9688 kB / 1.36 GB, free: 39.61 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001202/0.8888, allocations: 176.6 kB / 1.36 GB, free: 39.4 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.8888, allocations: 112 / 1.36 GB, free: 39.4 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001194/0.8889, allocations: 33.53 kB / 1.36 GB, free: 39.37 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.8889, allocations: 0 / 1.36 GB, free: 39.37 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.618e-06/0.8889, allocations: 0.5 kB / 1.36 GB, free: 39.37 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.889, allocations: 0.875 kB / 1.36 GB, free: 39.37 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.873e-06/0.889, allocations: 0 / 1.36 GB, free: 39.37 MB / 0.8855 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001244/0.8891, allocations: 172.9 kB / 1.36 GB, free: 39.18 MB / 0.8855 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0001488/0.8892, allocations: 0.544 MB / 1.361 GB, free: 38.62 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 1.897e-05/0.8893, allocations: 89.75 kB / 1.361 GB, free: 38.52 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.93e-05/0.8893, allocations: 0 / 1.361 GB, free: 38.52 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001223/0.8894, allocations: 15.31 kB / 1.361 GB, free: 38.51 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.181e-05/0.8895, allocations: 16.47 kB / 1.361 GB, free: 38.49 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.423e-06/0.8895, allocations: 0.5312 kB / 1.361 GB, free: 38.49 MB / 0.8855 GB Notification: Performance of sort global known variables: time 3.258e-05/0.8895, allocations: 96.33 kB / 1.361 GB, free: 38.4 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0007494/0.8903, allocations: 15.92 kB / 1.361 GB, free: 38.39 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 (6): * Single equations (assignments): 6 * 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.0001099/0.8904, allocations: 99.84 kB / 1.361 GB, free: 38.28 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0001041/0.8905, allocations: 45.16 kB / 1.361 GB, free: 38.23 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 1.212e-06/0.8905, allocations: 0 / 1.361 GB, free: 38.23 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 5.294e-05/0.8906, allocations: 31.92 kB / 1.361 GB, free: 38.2 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000167/0.8908, allocations: 12.53 kB / 1.361 GB, free: 38.19 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003007/0.8911, allocations: 108.7 kB / 1.361 GB, free: 38.06 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001574/0.8912, allocations: 0.7047 MB / 1.362 GB, free: 37.33 MB / 0.8855 GB Notification: Performance of SimCode: time 2.51e-07/0.8912, allocations: 0 / 1.362 GB, free: 37.33 MB / 0.8855 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Round.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Round.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Round.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Round.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Round_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Continuous_Validation_Round_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Continuous_Validation_Round.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Round.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Round_res.mat does not exist to compare? outputFormat=mat