Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Greater.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.Greater,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Validation_Greater",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.Greater,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Validation_Greater",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.744/1.744, allocations: 390.4 MB / 397.7 MB, free: 10.7 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.0009061/0.0009061, allocations: 187.8 kB / 490.8 MB, free: 11.24 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.131/1.131, allocations: 221.4 MB / 0.7863 GB, free: 13.67 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.0009179/0.000918, allocations: 109.1 kB / 0.9264 GB, free: 4.578 MB / 0.6667 GB Notification: Performance of FrontEnd - loaded program: time 0.2373/0.2383, allocations: 149.2 MB / 1.072 GB, free: 15.5 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5092/0.7475, allocations: 143 MB / 1.212 GB, free: 156 MB / 0.8855 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1347/0.8822, allocations: 149.1 MB / 1.357 GB, free: 42.5 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001562/0.8824, allocations: 76.5 kB / 1.357 GB, free: 42.43 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.004155/0.8866, allocations: 1.533 MB / 1.359 GB, free: 40.9 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 3.196e-05/0.8866, allocations: 8.625 kB / 1.359 GB, free: 40.89 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.325e-05/0.8866, allocations: 12.25 kB / 1.359 GB, free: 40.88 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.938e-05/0.8868, allocations: 186.8 kB / 1.359 GB, free: 40.66 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.399e-05/0.8868, allocations: 4 kB / 1.359 GB, free: 40.66 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.332e-05/0.8868, allocations: 4.781 kB / 1.359 GB, free: 40.65 MB / 0.8855 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001096/0.8869, allocations: 40 kB / 1.359 GB, free: 40.61 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000109/0.887, allocations: 70.38 kB / 1.359 GB, free: 40.54 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.645e-06/0.887, allocations: 4.734 kB / 1.359 GB, free: 40.54 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.252e-05/0.8871, allocations: 4 kB / 1.359 GB, free: 40.53 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.328e-06/0.8871, allocations: 0.6562 kB / 1.359 GB, free: 40.53 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003864/0.8875, allocations: 315.5 kB / 1.359 GB, free: 40.19 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003892/0.8879, allocations: 83.7 kB / 1.36 GB, free: 40.1 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.118e-05/0.8879, allocations: 33.44 kB / 1.36 GB, free: 40.06 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 1.911e-05/0.8879, allocations: 0.9375 kB / 1.36 GB, free: 40.06 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.249e-05/0.888, allocations: 39.09 kB / 1.36 GB, free: 40.02 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=7): time 1.092e-06/0.888, allocations: 0 / 1.36 GB, free: 40.02 MB / 0.8855 GB Notification: Performance of matching and sorting (n=7): time 0.0001961/0.8882, allocations: 82.55 kB / 1.36 GB, free: 39.93 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.494e-05/0.8882, allocations: 52.91 kB / 1.36 GB, free: 39.87 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.899e-05/0.8883, allocations: 105 kB / 1.36 GB, free: 39.76 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 1.055e-05/0.8883, allocations: 29.7 kB / 1.36 GB, free: 39.72 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 1.787e-05/0.8883, allocations: 92.81 kB / 1.36 GB, free: 39.63 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 2.035e-05/0.8883, allocations: 27.59 kB / 1.36 GB, free: 39.6 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.502e-06/0.8883, allocations: 0 / 1.36 GB, free: 39.6 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 3.266e-05/0.8884, allocations: 316.5 kB / 1.36 GB, free: 39.29 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.894e-05/0.8884, allocations: 20 kB / 1.36 GB, free: 39.27 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.563e-05/0.8885, allocations: 20 kB / 1.36 GB, free: 39.25 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.945e-05/0.8885, allocations: 20.58 kB / 1.36 GB, free: 39.23 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.162e-06/0.8885, allocations: 0.6562 kB / 1.36 GB, free: 39.23 MB / 0.8855 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001291/0.8886, allocations: 85.53 kB / 1.36 GB, free: 39.14 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 9.147e-06/0.8887, allocations: 5 kB / 1.36 GB, free: 39.13 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.14e-06/0.8887, allocations: 6.422 kB / 1.36 GB, free: 39.13 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.196e-06/0.8887, allocations: 0 / 1.36 GB, free: 39.13 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001773/0.8889, allocations: 34.75 kB / 1.361 GB, free: 39.1 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.456e-06/0.8889, allocations: 0 / 1.361 GB, free: 39.1 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001376/0.889, allocations: 23.8 kB / 1.361 GB, free: 39.08 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.123e-05/0.889, allocations: 0 / 1.361 GB, free: 39.08 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: 3 (intGre.u1,intGre.u2,intGre.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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.505e-05/0.8891, allocations: 113.5 kB / 1.361 GB, free: 38.96 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.054e-05/0.8891, allocations: 7.891 kB / 1.361 GB, free: 38.96 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.014e-05/0.8892, allocations: 15.75 kB / 1.361 GB, free: 38.95 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.713e-06/0.8892, allocations: 0 / 1.361 GB, free: 38.95 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.926e-06/0.8892, allocations: 0.8125 kB / 1.361 GB, free: 38.95 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.374e-06/0.8892, allocations: 0 / 1.361 GB, free: 38.95 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001227/0.8893, allocations: 178.6 kB / 1.361 GB, free: 38.74 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.8893, allocations: 0 / 1.361 GB, free: 38.74 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001644/0.8895, allocations: 34.72 kB / 1.361 GB, free: 38.71 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.266e-06/0.8895, allocations: 4 kB / 1.361 GB, free: 38.7 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.212e-05/0.8895, allocations: 4.609 kB / 1.361 GB, free: 38.7 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.002e-06/0.8895, allocations: 1.125 kB / 1.361 GB, free: 38.7 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.984e-06/0.8895, allocations: 0 / 1.361 GB, free: 38.7 MB / 0.8855 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001474/0.8897, allocations: 186.2 kB / 1.361 GB, free: 38.5 MB / 0.8855 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0001666/0.8898, allocations: 0.5504 MB / 1.362 GB, free: 37.94 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 1.966e-05/0.8899, allocations: 81.02 kB / 1.362 GB, free: 37.84 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.136e-05/0.8899, allocations: 0.5625 kB / 1.362 GB, free: 37.84 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001681/0.8901, allocations: 26.56 kB / 1.362 GB, free: 37.82 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.608e-05/0.8901, allocations: 24.78 kB / 1.362 GB, free: 37.79 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.009e-05/0.8902, allocations: 4 kB / 1.362 GB, free: 37.79 MB / 0.8855 GB Notification: Performance of sort global known variables: time 2.789e-05/0.8902, allocations: 91.05 kB / 1.362 GB, free: 37.7 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0007558/0.891, allocations: 24.12 kB / 1.362 GB, free: 37.68 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: 3 (intGre.u1,intGre.u2,intGre.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 7 * 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 9.408e-05/0.8911, allocations: 104 kB / 1.362 GB, free: 37.57 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0001205/0.8912, allocations: 56.47 kB / 1.362 GB, free: 37.51 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 1.302e-06/0.8912, allocations: 0.5625 kB / 1.362 GB, free: 37.51 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 6.515e-05/0.8913, allocations: 41.56 kB / 1.362 GB, free: 37.47 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000165/0.8914, allocations: 7.984 kB / 1.362 GB, free: 37.46 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002899/0.8917, allocations: 115.8 kB / 1.362 GB, free: 37.33 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001524/0.8919, allocations: 0.7126 MB / 1.363 GB, free: 36.59 MB / 0.8855 GB Notification: Performance of SimCode: time 2.4e-07/0.8919, allocations: 0.5625 kB / 1.363 GB, free: 36.59 MB / 0.8855 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Greater.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Greater.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Greater.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Greater.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Greater_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Validation_Greater_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Validation_Greater.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Greater.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Greater_res.mat does not exist to compare? outputFormat=mat