Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.GreaterEqualThreshold.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.Obsolete.Controls.OBC.CDL.Continuous.Validation.GreaterEqualThreshold,fileNamePrefix="Buildings_latest_Buildings_Obsolete_Controls_OBC_CDL_Continuous_Validation_GreaterEqualThreshold",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.GreaterEqualThreshold,fileNamePrefix="Buildings_latest_Buildings_Obsolete_Controls_OBC_CDL_Continuous_Validation_GreaterEqualThreshold",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.918/1.918, allocations: 390.4 MB / 397.7 MB, free: 1.918 MB / 307 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009852/0.0009852, allocations: 191 kB / 490.8 MB, free: 7.48 MB / 403 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.239/1.239, allocations: 221.3 MB / 0.7863 GB, free: 224 kB / 0.5498 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009194/0.0009195, allocations: 100.6 kB / 0.9264 GB, free: 0.6094 MB / 0.6904 GB Notification: Performance of FrontEnd - loaded program: time 0.4697/0.4706, allocations: 149.2 MB / 1.072 GB, free: 137.4 MB / 0.7217 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2297/0.7003, allocations: 143 MB / 1.212 GB, free: 10.45 MB / 0.7373 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6193/1.32, allocations: 149.3 MB / 1.357 GB, free: 12.68 MB / 0.8311 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001978/1.32, allocations: 87.94 kB / 1.358 GB, free: 12.6 MB / 0.8311 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.001661/1.322, allocations: 0.6709 MB / 1.358 GB, free: 11.89 MB / 0.8311 GB Notification: Performance of prepare preOptimizeDAE: time 3.085e-05/1.322, allocations: 8 kB / 1.358 GB, free: 11.89 MB / 0.8311 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.762e-05/1.322, allocations: 8.938 kB / 1.358 GB, free: 11.88 MB / 0.8311 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001069/1.322, allocations: 165.6 kB / 1.358 GB, free: 11.68 MB / 0.8311 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.029e-05/1.322, allocations: 0 / 1.358 GB, free: 11.68 MB / 0.8311 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.977e-06/1.322, allocations: 4 kB / 1.358 GB, free: 11.68 MB / 0.8311 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.121e-05/1.322, allocations: 11.94 kB / 1.358 GB, free: 11.66 MB / 0.8311 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.62e-05/1.322, allocations: 33.69 kB / 1.358 GB, free: 11.62 MB / 0.8311 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.766e-06/1.322, allocations: 3.906 kB / 1.358 GB, free: 11.62 MB / 0.8311 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.945e-06/1.322, allocations: 0 / 1.358 GB, free: 11.62 MB / 0.8311 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.65e-06/1.322, allocations: 8 kB / 1.358 GB, free: 11.61 MB / 0.8311 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003578/1.322, allocations: 237.5 kB / 1.359 GB, free: 11.34 MB / 0.8311 GB Notification: Performance of preOpt comSubExp (simulation): time 4.955e-05/1.322, allocations: 26.58 kB / 1.359 GB, free: 11.31 MB / 0.8311 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.652e-05/1.322, allocations: 16.86 kB / 1.359 GB, free: 11.29 MB / 0.8311 GB Notification: Performance of preOpt evalFunc (simulation): time 1.31e-05/1.322, allocations: 0 / 1.359 GB, free: 11.29 MB / 0.8311 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.112e-05/1.322, allocations: 42.45 kB / 1.359 GB, free: 11.24 MB / 0.8311 GB Notification: Performance of pre-optimization done (n=2): time 1.192e-06/1.322, allocations: 0 / 1.359 GB, free: 11.24 MB / 0.8311 GB Notification: Performance of matching and sorting (n=2): time 0.0001461/1.323, allocations: 41.69 kB / 1.359 GB, free: 11.19 MB / 0.8311 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.946e-05/1.323, allocations: 51.41 kB / 1.359 GB, free: 11.13 MB / 0.8311 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.457e-05/1.323, allocations: 93.03 kB / 1.359 GB, free: 11.03 MB / 0.8311 GB Notification: Performance of collectPreVariables (initialization): time 1.343e-05/1.323, allocations: 29.7 kB / 1.359 GB, free: 11 MB / 0.8311 GB Notification: Performance of collectInitialEqns (initialization): time 3.665e-05/1.323, allocations: 80.14 kB / 1.359 GB, free: 10.91 MB / 0.8311 GB Notification: Performance of collectInitialBindings (initialization): time 1.827e-05/1.323, allocations: 11.89 kB / 1.359 GB, free: 10.9 MB / 0.8311 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.005e-06/1.323, allocations: 0 / 1.359 GB, free: 10.9 MB / 0.8311 GB Notification: Performance of setup shared object (initialization): time 9.663e-05/1.323, allocations: 310.8 kB / 1.359 GB, free: 10.59 MB / 0.8311 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.823e-05/1.323, allocations: 11.94 kB / 1.359 GB, free: 10.58 MB / 0.8311 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.1e-05/1.323, allocations: 0 / 1.359 GB, free: 10.58 MB / 0.8311 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.882e-05/1.323, allocations: 12.06 kB / 1.359 GB, free: 10.57 MB / 0.8311 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.403e-06/1.323, allocations: 0 / 1.359 GB, free: 10.57 MB / 0.8311 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.303e-05/1.323, allocations: 42.17 kB / 1.359 GB, free: 10.52 MB / 0.8311 GB Notification: Performance of prepare postOptimizeDAE: time 1.194e-05/1.323, allocations: 8 kB / 1.359 GB, free: 10.51 MB / 0.8311 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.198e-06/1.323, allocations: 0 / 1.359 GB, free: 10.51 MB / 0.8311 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.044e-05/1.323, allocations: 0 / 1.359 GB, free: 10.51 MB / 0.8311 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.065e-05/1.323, allocations: 11.98 kB / 1.359 GB, free: 10.5 MB / 0.8311 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.597e-06/1.323, allocations: 32 / 1.359 GB, free: 10.5 MB / 0.8311 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.12e-05/1.323, allocations: 19.92 kB / 1.359 GB, free: 10.48 MB / 0.8311 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.438e-06/1.323, allocations: 0 / 1.359 GB, free: 10.48 MB / 0.8311 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (greEquThr.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * 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.104e-05/1.323, allocations: 105 kB / 1.36 GB, free: 10.38 MB / 0.8311 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.61e-05/1.323, allocations: 7.906 kB / 1.36 GB, free: 10.37 MB / 0.8311 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.908e-05/1.323, allocations: 3.312 kB / 1.36 GB, free: 10.37 MB / 0.8311 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.212e-06/1.323, allocations: 4 kB / 1.36 GB, free: 10.36 MB / 0.8311 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/1.323, allocations: 3.984 kB / 1.36 GB, free: 10.36 MB / 0.8311 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/1.323, allocations: 3.984 kB / 1.36 GB, free: 10.36 MB / 0.8311 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001213/1.324, allocations: 138.1 kB / 1.36 GB, free: 10.18 MB / 0.8311 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.01e-07/1.324, allocations: 0 / 1.36 GB, free: 10.18 MB / 0.8311 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.312e-05/1.324, allocations: 11.98 kB / 1.36 GB, free: 10.17 MB / 0.8311 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.956e-06/1.324, allocations: 4 kB / 1.36 GB, free: 10.17 MB / 0.8311 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.992e-06/1.324, allocations: 0 / 1.36 GB, free: 10.17 MB / 0.8311 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.42e-07/1.324, allocations: 4 kB / 1.36 GB, free: 10.16 MB / 0.8311 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.945e-06/1.324, allocations: 0.625 kB / 1.36 GB, free: 10.16 MB / 0.8311 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 9.497e-05/1.324, allocations: 135.4 kB / 1.36 GB, free: 10.02 MB / 0.8311 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0001933/1.324, allocations: 0.5039 MB / 1.36 GB, free: 9.492 MB / 0.8311 GB Notification: Performance of postOpt removeConstants (simulation): time 3.359e-05/1.324, allocations: 89.02 kB / 1.36 GB, free: 9.387 MB / 0.8311 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.519e-05/1.324, allocations: 4 kB / 1.36 GB, free: 9.383 MB / 0.8311 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.48e-05/1.324, allocations: 11.98 kB / 1.36 GB, free: 9.371 MB / 0.8311 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.644e-05/1.324, allocations: 3.938 kB / 1.36 GB, free: 9.367 MB / 0.8311 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.795e-06/1.324, allocations: 0 / 1.36 GB, free: 9.367 MB / 0.8311 GB Notification: Performance of sort global known variables: time 3.37e-05/1.324, allocations: 87.27 kB / 1.361 GB, free: 9.281 MB / 0.8311 GB Notification: Performance of remove unused functions: time 0.0007613/1.325, allocations: 8 kB / 1.361 GB, free: 9.273 MB / 0.8311 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 (greEquThr.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * 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.0001269/1.325, allocations: 103.1 kB / 1.361 GB, free: 9.164 MB / 0.8311 GB Notification: Performance of simCode: created initialization part: time 7.317e-05/1.325, allocations: 16 kB / 1.361 GB, free: 9.148 MB / 0.8311 GB Notification: Performance of simCode: created event and clocks part: time 1.272e-06/1.325, allocations: 3.938 kB / 1.361 GB, free: 9.145 MB / 0.8311 GB Notification: Performance of simCode: created simulation system equations: time 2.048e-05/1.325, allocations: 4 kB / 1.361 GB, free: 9.141 MB / 0.8311 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001647/1.325, allocations: 3.328 kB / 1.361 GB, free: 9.141 MB / 0.8311 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002071/1.326, allocations: 70.52 kB / 1.361 GB, free: 9.055 MB / 0.8311 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002575/1.326, allocations: 0.6919 MB / 1.361 GB, free: 8.336 MB / 0.8311 GB Notification: Performance of SimCode: time 2.21e-07/1.326, allocations: 0 / 1.361 GB, free: 8.336 MB / 0.8311 GB (rm -f Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.GreaterEqualThreshold.pipe ; mkfifo Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.GreaterEqualThreshold.pipe ; head -c 1048576 < Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.GreaterEqualThreshold.pipe >> ../files/Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.GreaterEqualThreshold.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.GreaterEqualThreshold_res.mat --tempDir=temp_Buildings_latest_Buildings_Obsolete_Controls_OBC_CDL_Continuous_Validation_GreaterEqualThreshold_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Obsolete_Controls_OBC_CDL_Continuous_Validation_GreaterEqualThreshold.fmu > Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.GreaterEqualThreshold.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.GreaterEqualThreshold_res.mat does not exist to compare? outputFormat=mat