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.Min.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.Min,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Integers_Validation_Min",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.Min,fileNamePrefix="Buildings_maint_8_0_x_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.0.1-maint.8.0.x/package.mo): time 1.338/1.338, allocations: 285.5 MB / 292.8 MB, free: 14.35 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009727/0.0009726, allocations: 191.2 kB / 361.1 MB, free: 11.7 MB / 302.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.015/1.015, allocations: 205.1 MB / 0.6195 GB, free: 3 MB / 462.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007629/0.0007629, allocations: 94.62 kB / 0.7325 GB, free: 53.89 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.1636/0.1644, allocations: 121.5 MB / 0.8512 GB, free: 9.617 MB / 0.5919 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1655/0.3299, allocations: 115.3 MB / 0.9638 GB, free: 6.121 MB / 0.7012 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.3868/0.7167, allocations: 137 MB / 1.098 GB, free: 14.09 MB / 0.7012 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001602/0.7169, allocations: 75.42 kB / 1.098 GB, free: 14.02 MB / 0.7012 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.003975/0.7209, allocations: 1.506 MB / 1.099 GB, free: 12.51 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 3.427e-05/0.7209, allocations: 9.875 kB / 1.099 GB, free: 12.5 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.448e-05/0.721, allocations: 7.906 kB / 1.099 GB, free: 12.5 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.43e-05/0.7211, allocations: 173 kB / 1.099 GB, free: 12.29 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.289e-05/0.7211, allocations: 4.625 kB / 1.099 GB, free: 12.29 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.408e-05/0.7211, allocations: 4 kB / 1.099 GB, free: 12.28 MB / 0.7012 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001074/0.7212, allocations: 48.92 kB / 1.099 GB, free: 12.23 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001051/0.7213, allocations: 72.78 kB / 1.099 GB, free: 12.16 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.374e-06/0.7213, allocations: 5.969 kB / 1.099 GB, free: 12.16 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.315e-05/0.7214, allocations: 0 / 1.099 GB, free: 12.16 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.919e-06/0.7214, allocations: 5 kB / 1.099 GB, free: 12.16 MB / 0.7012 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003965/0.7218, allocations: 326.9 kB / 1.1 GB, free: 11.8 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003977/0.7222, allocations: 88.22 kB / 1.1 GB, free: 11.71 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.851e-05/0.7222, allocations: 25.48 kB / 1.1 GB, free: 11.68 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 2.104e-05/0.7223, allocations: 0 / 1.1 GB, free: 11.68 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.024e-05/0.7223, allocations: 35.34 kB / 1.1 GB, free: 11.64 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=7): time 9.42e-07/0.7223, allocations: 0.8125 kB / 1.1 GB, free: 11.64 MB / 0.7012 GB Notification: Performance of matching and sorting (n=7): time 0.0001951/0.7225, allocations: 81.58 kB / 1.1 GB, free: 11.55 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.489e-05/0.7225, allocations: 60.09 kB / 1.1 GB, free: 11.48 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.972e-05/0.7226, allocations: 115.3 kB / 1.1 GB, free: 11.36 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 1.05e-05/0.7226, allocations: 25.7 kB / 1.1 GB, free: 11.33 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 2.135e-05/0.7226, allocations: 88.12 kB / 1.1 GB, free: 11.24 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 2.002e-05/0.7226, allocations: 20.84 kB / 1.1 GB, free: 11.22 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.542e-06/0.7227, allocations: 0 / 1.1 GB, free: 11.22 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 4.255e-05/0.7227, allocations: 320.8 kB / 1.101 GB, free: 10.9 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.922e-05/0.7227, allocations: 19.98 kB / 1.101 GB, free: 10.88 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.48e-05/0.7228, allocations: 20 kB / 1.101 GB, free: 10.86 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.057e-05/0.7228, allocations: 23.98 kB / 1.101 GB, free: 10.84 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.432e-06/0.7228, allocations: 0.75 kB / 1.101 GB, free: 10.84 MB / 0.7012 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001325/0.723, allocations: 88.34 kB / 1.101 GB, free: 10.75 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 1.148e-05/0.723, allocations: 7.938 kB / 1.101 GB, free: 10.74 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.488e-06/0.723, allocations: 0.5625 kB / 1.101 GB, free: 10.74 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.047e-05/0.723, allocations: 0.625 kB / 1.101 GB, free: 10.74 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001879/0.7232, allocations: 45.86 kB / 1.101 GB, free: 10.7 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.657e-06/0.7232, allocations: 0 / 1.101 GB, free: 10.7 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001233/0.7234, allocations: 23.89 kB / 1.101 GB, free: 10.68 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.137e-05/0.7234, allocations: 5.5 kB / 1.101 GB, free: 10.67 MB / 0.7012 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 4.734e-05/0.7234, allocations: 101.8 kB / 1.101 GB, free: 10.57 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.022e-05/0.7235, allocations: 7.906 kB / 1.101 GB, free: 10.56 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001754/0.7236, allocations: 98.02 kB / 1.101 GB, free: 10.46 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-06/0.7237, allocations: 4 kB / 1.101 GB, free: 10.46 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.557e-06/0.7237, allocations: 0 / 1.101 GB, free: 10.46 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.846e-06/0.7237, allocations: 0 / 1.101 GB, free: 10.46 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001236/0.7238, allocations: 174.1 kB / 1.101 GB, free: 10.25 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.7238, allocations: 0 / 1.101 GB, free: 10.25 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001677/0.724, allocations: 35.91 kB / 1.101 GB, free: 10.21 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.805e-06/0.724, allocations: 7.984 kB / 1.101 GB, free: 10.21 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.053e-05/0.724, allocations: 0 / 1.101 GB, free: 10.21 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.724, allocations: 4 kB / 1.101 GB, free: 10.2 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.684e-06/0.724, allocations: 0 / 1.101 GB, free: 10.2 MB / 0.7012 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001427/0.7242, allocations: 182 kB / 1.101 GB, free: 10.01 MB / 0.7012 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0001822/0.7244, allocations: 0.5556 MB / 1.102 GB, free: 9.438 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 2.335e-05/0.7244, allocations: 88.7 kB / 1.102 GB, free: 9.336 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.312e-05/0.7244, allocations: 0 / 1.102 GB, free: 9.336 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001595/0.7246, allocations: 23.97 kB / 1.102 GB, free: 9.312 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.748e-05/0.7247, allocations: 19.97 kB / 1.102 GB, free: 9.293 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.055e-05/0.7247, allocations: 4.625 kB / 1.102 GB, free: 9.289 MB / 0.7012 GB Notification: Performance of sort global known variables: time 2.714e-05/0.7247, allocations: 95.22 kB / 1.102 GB, free: 9.195 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.0007575/0.7255, allocations: 15.98 kB / 1.102 GB, free: 9.18 MB / 0.7012 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 9.735e-05/0.7256, allocations: 112.2 kB / 1.102 GB, free: 9.059 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.0001174/0.7257, allocations: 55.97 kB / 1.102 GB, free: 9.004 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 1.353e-06/0.7257, allocations: 0 / 1.102 GB, free: 9.004 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 6.47e-05/0.7258, allocations: 43.92 kB / 1.102 GB, free: 8.961 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001748/0.726, allocations: 6.812 kB / 1.102 GB, free: 8.957 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002876/0.7262, allocations: 116.3 kB / 1.103 GB, free: 8.82 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001466/0.7264, allocations: 0.7082 MB / 1.103 GB, free: 8.086 MB / 0.7012 GB Notification: Performance of SimCode: time 2.5e-07/0.7264, allocations: 0 / 1.103 GB, free: 8.086 MB / 0.7012 GB (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Min.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Min.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Min.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Min.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Integers_Validation_Min_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Integers_Validation_Min.fmu > Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Min.pipe 2>&1)