Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.Min.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.Min,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Integers_Validation_Min",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.Min,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Integers_Validation_Min",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.1.4-maint.8.1.x/package.mo): time 1.374/1.374, allocations: 289.8 MB / 297.1 MB, free: 6.625 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.0008934/0.0008933, allocations: 173.3 kB / 366.3 MB, free: 1.945 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.048/1.048, allocations: 205.1 MB / 0.6256 GB, free: 5.801 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.0008438/0.0008439, allocations: 86.8 kB / 0.7395 GB, free: 39.6 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.1857/0.1865, allocations: 122.4 MB / 0.8591 GB, free: 13.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.412/0.5986, allocations: 116.3 MB / 0.9727 GB, free: 68.31 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1346/0.7332, allocations: 138 MB / 1.107 GB, free: 10.39 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001724/0.7335, allocations: 72.45 kB / 1.108 GB, free: 10.32 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.004367/0.7378, allocations: 1.509 MB / 1.109 GB, free: 8.789 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.013e-05/0.7379, allocations: 8 kB / 1.109 GB, free: 8.781 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.317e-05/0.7379, allocations: 7.906 kB / 1.109 GB, free: 8.773 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001134/0.738, allocations: 177.6 kB / 1.109 GB, free: 8.562 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.263e-05/0.7381, allocations: 4 kB / 1.109 GB, free: 8.559 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.534e-05/0.7381, allocations: 8 kB / 1.109 GB, free: 8.551 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000116/0.7382, allocations: 47.98 kB / 1.109 GB, free: 8.504 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000117/0.7383, allocations: 73.66 kB / 1.109 GB, free: 8.426 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.471e-06/0.7383, allocations: 0 / 1.109 GB, free: 8.426 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.231e-05/0.7384, allocations: 0.5 kB / 1.109 GB, free: 8.426 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.148e-06/0.7384, allocations: 0 / 1.109 GB, free: 8.426 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004501/0.7388, allocations: 325.1 kB / 1.11 GB, free: 8.07 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004139/0.7392, allocations: 86.66 kB / 1.11 GB, free: 7.977 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.048e-05/0.7393, allocations: 25.7 kB / 1.11 GB, free: 7.949 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.129e-05/0.7393, allocations: 4 kB / 1.11 GB, free: 7.945 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.671e-05/0.7394, allocations: 39 kB / 1.11 GB, free: 7.898 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=7): time 1.473e-06/0.7394, allocations: 4 kB / 1.11 GB, free: 7.895 MB / 0.7136 GB Notification: Performance of matching and sorting (n=7): time 0.0002008/0.7396, allocations: 81.73 kB / 1.11 GB, free: 7.809 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.51e-05/0.7396, allocations: 55.41 kB / 1.11 GB, free: 7.742 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.653e-05/0.7397, allocations: 108.9 kB / 1.11 GB, free: 7.629 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.356e-05/0.7397, allocations: 25.7 kB / 1.11 GB, free: 7.598 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 3.235e-05/0.7397, allocations: 92.12 kB / 1.11 GB, free: 7.504 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.288e-05/0.7398, allocations: 25.34 kB / 1.11 GB, free: 7.48 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.144e-06/0.7398, allocations: 0 / 1.11 GB, free: 7.48 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 7.083e-05/0.7398, allocations: 310.8 kB / 1.11 GB, free: 7.168 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.352e-05/0.7399, allocations: 31.97 kB / 1.11 GB, free: 7.137 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.911e-05/0.7399, allocations: 20 kB / 1.11 GB, free: 7.117 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.334e-05/0.74, allocations: 22.17 kB / 1.111 GB, free: 7.098 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.203e-06/0.74, allocations: 0 / 1.111 GB, free: 7.098 MB / 0.7136 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001432/0.7401, allocations: 85.53 kB / 1.111 GB, free: 7.008 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 9.788e-06/0.7402, allocations: 7.938 kB / 1.111 GB, free: 7 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.967e-06/0.7402, allocations: 0 / 1.111 GB, free: 7 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.445e-06/0.7402, allocations: 4 kB / 1.111 GB, free: 6.996 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000201/0.7404, allocations: 36.58 kB / 1.111 GB, free: 6.961 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.096e-06/0.7404, allocations: 0 / 1.111 GB, free: 6.961 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000134/0.7405, allocations: 27.89 kB / 1.111 GB, free: 6.934 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.041e-05/0.7406, allocations: 0 / 1.111 GB, free: 6.934 MB / 0.7136 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 (min1.u1,min1.u2,min1.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 5.976e-05/0.7406, allocations: 107.6 kB / 1.111 GB, free: 6.824 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.091e-05/0.7407, allocations: 3.906 kB / 1.111 GB, free: 6.82 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001893/0.7409, allocations: 102 kB / 1.111 GB, free: 6.711 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.935e-06/0.7409, allocations: 4.562 kB / 1.111 GB, free: 6.707 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.206e-06/0.7409, allocations: 8 kB / 1.111 GB, free: 6.699 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.535e-06/0.7409, allocations: 0 / 1.111 GB, free: 6.699 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001528/0.741, allocations: 174.1 kB / 1.111 GB, free: 6.492 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.41e-07/0.741, allocations: 0 / 1.111 GB, free: 6.492 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001832/0.7412, allocations: 31.97 kB / 1.111 GB, free: 6.461 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.216e-06/0.7412, allocations: 8.828 kB / 1.111 GB, free: 6.453 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.089e-05/0.7413, allocations: 4 kB / 1.111 GB, free: 6.449 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/0.7413, allocations: 0 / 1.111 GB, free: 6.449 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.402e-06/0.7413, allocations: 0 / 1.111 GB, free: 6.449 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001688/0.7414, allocations: 180.7 kB / 1.111 GB, free: 6.262 MB / 0.7136 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.000233/0.7417, allocations: 0.5622 MB / 1.112 GB, free: 5.68 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 3.072e-05/0.7417, allocations: 81.02 kB / 1.112 GB, free: 5.582 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.081e-05/0.7418, allocations: 4 kB / 1.112 GB, free: 5.578 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001702/0.7419, allocations: 19.97 kB / 1.112 GB, free: 5.559 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.789e-05/0.742, allocations: 28.7 kB / 1.112 GB, free: 5.531 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.018e-05/0.742, allocations: 4 kB / 1.112 GB, free: 5.527 MB / 0.7136 GB Notification: Performance of sort global known variables: time 3.819e-05/0.7421, allocations: 93.52 kB / 1.112 GB, free: 5.438 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0008194/0.7429, allocations: 19.98 kB / 1.112 GB, free: 5.418 MB / 0.7136 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 (min1.u1,min1.u2,min1.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 0.0001089/0.743, allocations: 107.2 kB / 1.112 GB, free: 5.305 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001323/0.7431, allocations: 59.92 kB / 1.112 GB, free: 5.246 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.523e-06/0.7432, allocations: 0 / 1.112 GB, free: 5.246 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 6.993e-05/0.7432, allocations: 35.98 kB / 1.112 GB, free: 5.211 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002069/0.7434, allocations: 12.94 kB / 1.112 GB, free: 5.199 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003252/0.7438, allocations: 111.4 kB / 1.112 GB, free: 5.066 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002857/0.7441, allocations: 0.7075 MB / 1.113 GB, free: 4.332 MB / 0.7136 GB Notification: Performance of SimCode: time 2.7e-07/0.7441, allocations: 0 / 1.113 GB, free: 4.332 MB / 0.7136 GB (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.Min.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.Min.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.Min.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.Min.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_CDL_Integers_Validation_Min_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_OBC_CDL_Integers_Validation_Min.fmu > Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.Min.pipe 2>&1)