Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.Equal,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Integers_Validation_Equal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.Equal,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Integers_Validation_Equal",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 8.0.1-maint.8.0.x/package.mo): time 1.341/1.341, allocations: 285.5 MB / 292.8 MB, free: 10.44 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009371/0.0009373, allocations: 185.2 kB / 361.1 MB, free: 7.098 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.012/1.012, allocations: 205.1 MB / 0.6195 GB, free: 10.32 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000743/0.0007429, allocations: 94.78 kB / 0.7326 GB, free: 44.27 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.1729/0.1736, allocations: 121.4 MB / 0.8512 GB, free: 2.918 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4081/0.5817, allocations: 115.3 MB / 0.9638 GB, free: 77.9 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1358/0.7175, allocations: 140.9 MB / 1.101 GB, free: 15.14 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001666/0.7177, allocations: 82.06 kB / 1.101 GB, free: 15.06 MB / 0.7136 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.02727/0.745, allocations: 10.89 MB / 1.112 GB, free: 4.242 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.206e-05/0.7451, allocations: 8.5 kB / 1.112 GB, free: 4.234 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.324e-05/0.7452, allocations: 31.62 kB / 1.112 GB, free: 4.203 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006108/0.7458, allocations: 399.5 kB / 1.112 GB, free: 3.77 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.717e-05/0.7458, allocations: 4 kB / 1.112 GB, free: 3.766 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.114e-05/0.7458, allocations: 8 kB / 1.112 GB, free: 3.758 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001245/0.746, allocations: 61.92 kB / 1.113 GB, free: 3.699 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001443/0.7461, allocations: 101.6 kB / 1.113 GB, free: 3.594 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.113e-06/0.7461, allocations: 0 / 1.113 GB, free: 3.594 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.425e-05/0.7462, allocations: 0 / 1.113 GB, free: 3.594 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.001e-06/0.7462, allocations: 3.906 kB / 1.113 GB, free: 3.59 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006343/0.7468, allocations: 481.2 kB / 1.113 GB, free: 3.082 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001736/0.747, allocations: 118.7 kB / 1.113 GB, free: 2.957 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.091e-05/0.7471, allocations: 48.84 kB / 1.113 GB, free: 2.906 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.437e-05/0.7471, allocations: 3.984 kB / 1.113 GB, free: 2.902 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001243/0.7472, allocations: 105.1 kB / 1.113 GB, free: 2.789 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=13): time 1.583e-06/0.7472, allocations: 4 kB / 1.113 GB, free: 2.785 MB / 0.7136 GB Notification: Performance of matching and sorting (n=13): time 0.0002641/0.7475, allocations: 147.5 kB / 1.113 GB, free: 2.637 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.421e-05/0.7475, allocations: 55.31 kB / 1.114 GB, free: 2.57 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004644/0.748, allocations: 458.1 kB / 1.114 GB, free: 2.113 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.095e-05/0.748, allocations: 29.7 kB / 1.114 GB, free: 2.078 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 6.972e-05/0.7481, allocations: 128.3 kB / 1.114 GB, free: 1.949 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 3.469e-05/0.7482, allocations: 35.55 kB / 1.114 GB, free: 1.914 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.5e-05/0.7482, allocations: 0 / 1.114 GB, free: 1.914 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001228/0.7483, allocations: 350.8 kB / 1.115 GB, free: 1.562 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001895/0.7485, allocations: 108.5 kB / 1.115 GB, free: 1.453 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001724/0.7487, allocations: 147.3 kB / 1.115 GB, free: 1.301 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000346/0.749, allocations: 144.7 kB / 1.115 GB, free: 1.16 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.749, allocations: 0 / 1.115 GB, free: 1.16 MB / 0.7136 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0006132/0.7497, allocations: 357 kB / 1.115 GB, free: 0.8047 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.189e-05/0.7497, allocations: 5.875 kB / 1.115 GB, free: 0.8008 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.03e-06/0.7497, allocations: 0 / 1.115 GB, free: 0.8008 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.24e-05/0.7497, allocations: 4 kB / 1.115 GB, free: 0.7969 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000227/0.7499, allocations: 55.91 kB / 1.115 GB, free: 0.7422 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.668e-06/0.75, allocations: 0 / 1.115 GB, free: 0.7422 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001403/0.7501, allocations: 15.83 kB / 1.115 GB, free: 0.7266 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.685e-05/0.7501, allocations: 16 kB / 1.115 GB, free: 0.7109 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 13 ($whenCondition2,$PRE.timTabLin1.tab.nextTimeEvent,$whenCondition1,$PRE.timTabLin.tab.nextTimeEvent,intEqu.u1,intEqu.u2,intEqu.y,timTabLin.tab.nextTimeEvent,$PRE.timTabLin.tab.nextTimeEventScaled,timTabLin.tab.nextTimeEventScaled,timTabLin1.tab.nextTimeEvent,$PRE.timTabLin1.tab.nextTimeEventScaled,timTabLin1.tab.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (33): * Single equations (assignments): 33 * 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 8.688e-05/0.7502, allocations: 125.8 kB / 1.115 GB, free: 0.582 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.67e-05/0.7503, allocations: 31.53 kB / 1.115 GB, free: 0.5508 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002892/0.7506, allocations: 174.9 kB / 1.116 GB, free: 388 kB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.224e-06/0.7506, allocations: 0 / 1.116 GB, free: 388 kB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.407e-06/0.7506, allocations: 1.688 kB / 1.116 GB, free: 388 kB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.409e-06/0.7506, allocations: 4 kB / 1.116 GB, free: 384 kB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002295/0.7509, allocations: 281.9 kB / 1.116 GB, free: 64 kB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.956e-06/0.7509, allocations: 5.438 kB / 1.116 GB, free: 60 kB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.024e-05/0.7509, allocations: 19.92 kB / 1.116 GB, free: 40 kB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.274e-06/0.751, allocations: 0 / 1.116 GB, free: 40 kB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.403e-05/0.751, allocations: 4 kB / 1.116 GB, free: 36 kB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.333e-06/0.751, allocations: 0 / 1.116 GB, free: 36 kB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.751, allocations: 0 / 1.116 GB, free: 36 kB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002478/0.7512, allocations: 191.7 kB / 1.116 GB, free: 15.83 MB / 0.7292 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003241/0.7516, allocations: 0.5673 MB / 1.117 GB, free: 15.24 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 9.549e-05/0.7517, allocations: 120.6 kB / 1.117 GB, free: 15.11 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.02e-05/0.7517, allocations: 4 kB / 1.117 GB, free: 15.1 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001048/0.7518, allocations: 10.98 kB / 1.117 GB, free: 15.09 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.901e-05/0.7519, allocations: 15.98 kB / 1.117 GB, free: 15.08 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.523e-05/0.7519, allocations: 7.984 kB / 1.117 GB, free: 15.07 MB / 0.7292 GB Notification: Performance of sort global known variables: time 0.0002911/0.7522, allocations: 300.6 kB / 1.117 GB, free: 14.78 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0008645/0.7531, allocations: 75.92 kB / 1.117 GB, free: 14.7 MB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition2,$whenCondition1,intEqu.u1,intEqu.u2,intEqu.y,timTabLin.tab.nextTimeEvent,timTabLin.tab.nextTimeEventScaled,timTabLin1.tab.nextTimeEvent,timTabLin1.tab.nextTimeEventScaled) * Number of discrete states: 4 (timTabLin.tab.nextTimeEvent,timTabLin1.tab.nextTimeEvent,timTabLin.tab.nextTimeEventScaled,timTabLin1.tab.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.0005616/0.7537, allocations: 323.2 kB / 1.117 GB, free: 14.5 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0002838/0.754, allocations: 187.8 kB / 1.118 GB, free: 14.32 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.754, allocations: 0 / 1.118 GB, free: 14.32 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0001005/0.7541, allocations: 63.92 kB / 1.118 GB, free: 14.25 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000373/0.7545, allocations: 77.78 kB / 1.118 GB, free: 14.18 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006959/0.7552, allocations: 424.9 kB / 1.118 GB, free: 13.75 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003855/0.7556, allocations: 0.8304 MB / 1.119 GB, free: 12.89 MB / 0.7292 GB Notification: Performance of SimCode: time 2.91e-07/0.7556, allocations: 3.938 kB / 1.119 GB, free: 12.88 MB / 0.7292 GB (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Integers_Validation_Equal_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Integers_Validation_Equal.fmu > Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.pipe 2>&1)