Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.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.Integers.Validation.GreaterThreshold,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Validation_GreaterThreshold",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Validation_GreaterThreshold",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.66 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.0009873/0.0009873, allocations: 176.7 kB / 490.8 MB, free: 11.19 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.109/1.109, allocations: 221.4 MB / 0.7863 GB, free: 13.57 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.0008585/0.0008585, allocations: 95.69 kB / 0.9264 GB, free: 4.508 MB / 0.6667 GB Notification: Performance of FrontEnd - loaded program: time 0.2333/0.2342, allocations: 149.1 MB / 1.072 GB, free: 15.44 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5034/0.7376, allocations: 143 MB / 1.212 GB, free: 155.9 MB / 0.8855 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1329/0.8705, allocations: 149.1 MB / 1.357 GB, free: 42.54 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001662/0.8707, allocations: 67.95 kB / 1.357 GB, free: 42.47 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.002603/0.8733, allocations: 0.9939 MB / 1.358 GB, free: 41.46 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 3.281e-05/0.8734, allocations: 12.88 kB / 1.358 GB, free: 41.45 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.052e-05/0.8734, allocations: 3.906 kB / 1.358 GB, free: 41.44 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.64e-05/0.8735, allocations: 169.4 kB / 1.358 GB, free: 41.24 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.238e-05/0.8735, allocations: 0.7812 kB / 1.358 GB, free: 41.24 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.27e-05/0.8735, allocations: 4 kB / 1.358 GB, free: 41.23 MB / 0.8855 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.907e-05/0.8736, allocations: 28.64 kB / 1.358 GB, free: 41.21 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.871e-05/0.8737, allocations: 51.03 kB / 1.359 GB, free: 41.15 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.642e-06/0.8737, allocations: 3.984 kB / 1.359 GB, free: 41.15 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.598e-06/0.8737, allocations: 0 / 1.359 GB, free: 41.15 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.957e-06/0.8737, allocations: 0 / 1.359 GB, free: 41.15 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002871/0.874, allocations: 263.4 kB / 1.359 GB, free: 40.86 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 7.465e-05/0.8741, allocations: 47.81 kB / 1.359 GB, free: 40.8 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.973e-05/0.8741, allocations: 24.83 kB / 1.359 GB, free: 40.77 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 1.176e-05/0.8742, allocations: 0.7188 kB / 1.359 GB, free: 40.77 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.043e-05/0.8742, allocations: 35.19 kB / 1.359 GB, free: 40.73 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=4): time 9.92e-07/0.8742, allocations: 0.5312 kB / 1.359 GB, free: 40.73 MB / 0.8855 GB Notification: Performance of matching and sorting (n=4): time 0.0001452/0.8743, allocations: 58.33 kB / 1.359 GB, free: 40.67 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.342e-05/0.8744, allocations: 55.95 kB / 1.359 GB, free: 40.6 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.61e-05/0.8744, allocations: 102 kB / 1.359 GB, free: 40.5 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 7.895e-06/0.8744, allocations: 25.7 kB / 1.359 GB, free: 40.47 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 1.646e-05/0.8744, allocations: 84.05 kB / 1.359 GB, free: 40.38 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 1.488e-05/0.8745, allocations: 16.7 kB / 1.359 GB, free: 40.37 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.959e-06/0.8745, allocations: 0 / 1.359 GB, free: 40.37 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 3.506e-05/0.8745, allocations: 315.9 kB / 1.36 GB, free: 40.05 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.329e-05/0.8745, allocations: 12 kB / 1.36 GB, free: 40.04 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.989e-05/0.8746, allocations: 8.625 kB / 1.36 GB, free: 40.03 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.491e-05/0.8746, allocations: 12.89 kB / 1.36 GB, free: 40.02 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.192e-06/0.8746, allocations: 0 / 1.36 GB, free: 40.02 MB / 0.8855 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.316e-05/0.8747, allocations: 65.06 kB / 1.36 GB, free: 39.95 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 7.343e-06/0.8747, allocations: 4.938 kB / 1.36 GB, free: 39.95 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.607e-06/0.8747, allocations: 2.125 kB / 1.36 GB, free: 39.95 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.444e-06/0.8747, allocations: 0.5938 kB / 1.36 GB, free: 39.95 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001193/0.8749, allocations: 17.92 kB / 1.36 GB, free: 39.93 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.386e-06/0.8749, allocations: 0 / 1.36 GB, free: 39.93 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.291e-05/0.875, allocations: 13.52 kB / 1.36 GB, free: 39.92 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.386e-06/0.875, allocations: 4 kB / 1.36 GB, free: 39.92 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: 2 (intGreThr.u,intGreThr.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * 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.069e-05/0.875, allocations: 113.6 kB / 1.36 GB, free: 39.8 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.601e-05/0.875, allocations: 3.938 kB / 1.36 GB, free: 39.8 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.883e-05/0.8751, allocations: 12 kB / 1.36 GB, free: 39.79 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.924e-06/0.8751, allocations: 4.578 kB / 1.36 GB, free: 39.79 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/0.8751, allocations: 3.906 kB / 1.36 GB, free: 39.78 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.655e-06/0.8751, allocations: 0.6875 kB / 1.36 GB, free: 39.78 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.867e-05/0.8752, allocations: 151.2 kB / 1.36 GB, free: 39.6 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.32e-07/0.8752, allocations: 0 / 1.36 GB, free: 39.6 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.281e-05/0.8753, allocations: 17.61 kB / 1.36 GB, free: 39.58 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.423e-06/0.8753, allocations: 0 / 1.36 GB, free: 39.58 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.825e-06/0.8753, allocations: 0 / 1.36 GB, free: 39.58 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.324e-06/0.8753, allocations: 6.438 kB / 1.36 GB, free: 39.58 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.994e-06/0.8753, allocations: 4.484 kB / 1.36 GB, free: 39.57 MB / 0.8855 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 9.809e-05/0.8754, allocations: 153.5 kB / 1.36 GB, free: 39.41 MB / 0.8855 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.000116/0.8756, allocations: 0.5288 MB / 1.361 GB, free: 38.86 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 1.637e-05/0.8756, allocations: 85.02 kB / 1.361 GB, free: 38.76 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.556e-05/0.8756, allocations: 0 / 1.361 GB, free: 38.76 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001183/0.8757, allocations: 14.3 kB / 1.361 GB, free: 38.75 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.634e-05/0.8758, allocations: 11.98 kB / 1.361 GB, free: 38.74 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.961e-06/0.8758, allocations: 0 / 1.361 GB, free: 38.74 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.935e-05/0.8758, allocations: 84.03 kB / 1.361 GB, free: 38.66 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0007465/0.8766, allocations: 16.81 kB / 1.361 GB, free: 38.64 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: 2 (intGreThr.u,intGreThr.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 4 * 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.38e-05/0.8767, allocations: 104.3 kB / 1.361 GB, free: 38.53 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 8.019e-05/0.8767, allocations: 28 kB / 1.361 GB, free: 38.5 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 1.293e-06/0.8768, allocations: 0.5625 kB / 1.361 GB, free: 38.5 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 3.721e-05/0.8768, allocations: 23.92 kB / 1.361 GB, free: 38.48 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001575/0.877, allocations: 8.188 kB / 1.361 GB, free: 38.48 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002075/0.8772, allocations: 81.23 kB / 1.361 GB, free: 38.38 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001249/0.8773, allocations: 0.7003 MB / 1.362 GB, free: 37.65 MB / 0.8855 GB Notification: Performance of SimCode: time 2.61e-07/0.8773, allocations: 0 / 1.362 GB, free: 37.65 MB / 0.8855 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Validation_GreaterThreshold_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Validation_GreaterThreshold.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold_res.mat does not exist to compare? outputFormat=mat