Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Average.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.Continuous.Validation.Average,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Average",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Average,fileNamePrefix="Buildings_9_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 9.1.1-maint.9.1.x/package.mo): time 1.823/1.823, allocations: 387.2 MB / 394.5 MB, free: 13.61 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.0009351/0.0009352, allocations: 185.2 kB / 487 MB, free: 5.309 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.174/1.174, allocations: 221.3 MB / 0.7819 GB, free: 1.312 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.0008392/0.0008392, allocations: 89.94 kB / 0.9213 GB, free: 2.574 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.4172/0.4181, allocations: 148.5 MB / 1.066 GB, free: 168.1 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1899/0.6079, allocations: 142.3 MB / 1.205 GB, free: 26.09 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5158/1.124, allocations: 148 MB / 1.35 GB, free: 15.69 MB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001854/1.124, allocations: 71.08 kB / 1.35 GB, free: 15.68 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.002387/1.126, allocations: 0.8688 MB / 1.351 GB, free: 15.3 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.313e-05/1.126, allocations: 8.906 kB / 1.351 GB, free: 15.3 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.642e-05/1.126, allocations: 6.406 kB / 1.351 GB, free: 15.3 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.918e-05/1.127, allocations: 167.3 kB / 1.351 GB, free: 15.1 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.696e-06/1.127, allocations: 1.281 kB / 1.351 GB, free: 15.1 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.796e-06/1.127, allocations: 1.344 kB / 1.351 GB, free: 15.1 MB / 0.8073 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.194e-05/1.127, allocations: 20.31 kB / 1.351 GB, free: 15.1 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.359e-05/1.127, allocations: 48.38 kB / 1.351 GB, free: 15.06 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.841e-06/1.127, allocations: 0 / 1.351 GB, free: 15.06 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.478e-06/1.127, allocations: 1.438 kB / 1.351 GB, free: 15.06 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.158e-06/1.127, allocations: 0 / 1.351 GB, free: 15.06 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000388/1.127, allocations: 283 kB / 1.351 GB, free: 14.82 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 5.819e-05/1.127, allocations: 39.61 kB / 1.351 GB, free: 14.79 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.908e-05/1.127, allocations: 16.14 kB / 1.351 GB, free: 14.79 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.173e-05/1.127, allocations: 1.281 kB / 1.351 GB, free: 14.79 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.332e-05/1.127, allocations: 34.5 kB / 1.351 GB, free: 14.74 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=3): time 1.012e-06/1.127, allocations: 1.312 kB / 1.351 GB, free: 14.74 MB / 0.8073 GB Notification: Performance of matching and sorting (n=3): time 0.000149/1.127, allocations: 56.83 kB / 1.351 GB, free: 14.7 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.841e-05/1.127, allocations: 51.41 kB / 1.351 GB, free: 14.64 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.456e-05/1.128, allocations: 106.3 kB / 1.352 GB, free: 14.55 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 9.237e-06/1.128, allocations: 25.7 kB / 1.352 GB, free: 14.52 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 2.23e-05/1.128, allocations: 86.22 kB / 1.352 GB, free: 14.43 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 1.788e-05/1.128, allocations: 12.5 kB / 1.352 GB, free: 14.43 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.967e-06/1.128, allocations: 0 / 1.352 GB, free: 14.43 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 4.243e-05/1.128, allocations: 317.4 kB / 1.352 GB, free: 14.11 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.136e-05/1.128, allocations: 3.75 kB / 1.352 GB, free: 14.11 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.884e-05/1.128, allocations: 8.812 kB / 1.352 GB, free: 14.11 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.232e-05/1.128, allocations: 12.73 kB / 1.352 GB, free: 14.11 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.162e-06/1.128, allocations: 1.344 kB / 1.352 GB, free: 14.11 MB / 0.8073 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.772e-05/1.128, allocations: 59.78 kB / 1.352 GB, free: 14.07 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.077e-05/1.128, allocations: 6.781 kB / 1.352 GB, free: 14.07 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.576e-06/1.128, allocations: 0 / 1.352 GB, free: 14.07 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.109e-05/1.128, allocations: 1.281 kB / 1.352 GB, free: 14.07 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001482/1.128, allocations: 25 kB / 1.352 GB, free: 14.06 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.757e-06/1.128, allocations: 1.312 kB / 1.352 GB, free: 14.06 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.288e-05/1.128, allocations: 18.48 kB / 1.352 GB, free: 14.06 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.302e-06/1.128, allocations: 0 / 1.352 GB, free: 14.06 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 (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.508e-05/1.128, allocations: 109 kB / 1.352 GB, free: 13.95 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.706e-05/1.128, allocations: 7.938 kB / 1.352 GB, free: 13.95 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.499e-05/1.128, allocations: 7.562 kB / 1.352 GB, free: 13.95 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.133e-06/1.128, allocations: 1.281 kB / 1.352 GB, free: 13.95 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.075e-06/1.128, allocations: 0 / 1.352 GB, free: 13.95 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.829e-06/1.128, allocations: 2.984 kB / 1.352 GB, free: 13.95 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001032/1.128, allocations: 145 kB / 1.352 GB, free: 13.79 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.82e-07/1.128, allocations: 1.203 kB / 1.352 GB, free: 13.79 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001093/1.128, allocations: 29.81 kB / 1.352 GB, free: 13.78 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.343e-06/1.128, allocations: 0 / 1.352 GB, free: 13.78 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.324e-06/1.129, allocations: 4.375 kB / 1.352 GB, free: 13.78 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.273e-06/1.129, allocations: 320 / 1.352 GB, free: 13.78 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.775e-06/1.129, allocations: 1.281 kB / 1.352 GB, free: 13.78 MB / 0.8073 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 8.688e-05/1.129, allocations: 152.9 kB / 1.353 GB, free: 13.64 MB / 0.8073 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0001237/1.129, allocations: 0.5123 MB / 1.353 GB, free: 13.14 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 1.898e-05/1.129, allocations: 82.3 kB / 1.353 GB, free: 13.04 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.371e-05/1.129, allocations: 0 / 1.353 GB, free: 13.04 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001236/1.129, allocations: 21.7 kB / 1.353 GB, free: 13.04 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.326e-05/1.129, allocations: 12.91 kB / 1.353 GB, free: 13.03 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.318e-06/1.129, allocations: 1.312 kB / 1.353 GB, free: 13.03 MB / 0.8073 GB Notification: Performance of sort global known variables: time 2.34e-05/1.129, allocations: 89.77 kB / 1.353 GB, free: 12.95 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0007356/1.13, allocations: 9.562 kB / 1.353 GB, free: 12.95 MB / 0.8073 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.847e-05/1.13, allocations: 107.6 kB / 1.353 GB, free: 12.86 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 7.327e-05/1.13, allocations: 20.42 kB / 1.353 GB, free: 12.86 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 1.282e-06/1.13, allocations: 0 / 1.353 GB, free: 12.86 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 2.796e-05/1.13, allocations: 11.19 kB / 1.353 GB, free: 12.86 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001571/1.13, allocations: 9.609 kB / 1.353 GB, free: 12.85 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001895/1.13, allocations: 71.39 kB / 1.353 GB, free: 12.79 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001206/1.13, allocations: 0.7066 MB / 1.354 GB, free: 12.07 MB / 0.8073 GB Notification: Performance of SimCode: time 2.51e-07/1.13, allocations: 0 / 1.354 GB, free: 12.07 MB / 0.8073 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Average.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Average.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Average.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Average.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Average_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Average_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Average.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Average.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Average_res.mat does not exist to compare? outputFormat=mat