Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Sort.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Sort,fileNamePrefix="Buildings_8_0_0_Buildings_Controls_OBC_CDL_Continuous_Validation_Sort",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Sort,fileNamePrefix="Buildings_8_0_0_Buildings_Controls_OBC_CDL_Continuous_Validation_Sort",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.0/package.mo): time 2.129/2.129, allocations: 284.8 MB / 292.1 MB, free: 10.77 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.001567/0.001567, allocations: 191.4 kB / 360.3 MB, free: 7.539 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.69/1.69, allocations: 205.1 MB / 0.6187 GB, free: 13.22 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.001283/0.001282, allocations: 91.59 kB / 0.7317 GB, free: 45.12 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2455/0.2469, allocations: 121.4 MB / 0.8502 GB, free: 3.922 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5611/0.808, allocations: 115.2 MB / 0.9628 GB, free: 78.59 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2053/1.013, allocations: 136.9 MB / 1.097 GB, free: 3.945 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002577/1.014, allocations: 72.66 kB / 1.097 GB, free: 3.875 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.01776/1.031, allocations: 3.746 MB / 1.1 GB, free: 160 kB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.314e-05/1.031, allocations: 8.5 kB / 1.1 GB, free: 152 kB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.592e-05/1.032, allocations: 15.81 kB / 1.1 GB, free: 136 kB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003475/1.032, allocations: 210.6 kB / 1.1 GB, free: 15.89 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.271e-05/1.032, allocations: 0.7969 kB / 1.1 GB, free: 15.89 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.6e-05/1.032, allocations: 4 kB / 1.1 GB, free: 15.88 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002992/1.032, allocations: 83.98 kB / 1.101 GB, free: 15.8 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003084/1.033, allocations: 117.6 kB / 1.101 GB, free: 15.68 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.033e-05/1.033, allocations: 0 / 1.101 GB, free: 15.68 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.051e-05/1.033, allocations: 0 / 1.101 GB, free: 15.68 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.185e-06/1.033, allocations: 0.5156 kB / 1.101 GB, free: 15.68 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00154/1.034, allocations: 0.4942 MB / 1.101 GB, free: 15.15 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001918/1.034, allocations: 85.16 kB / 1.101 GB, free: 15.06 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001735/1.035, allocations: 68.84 kB / 1.101 GB, free: 14.99 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 4.563e-05/1.035, allocations: 4 kB / 1.101 GB, free: 14.98 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.724e-05/1.035, allocations: 44.02 kB / 1.101 GB, free: 14.93 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=15): time 2.415e-06/1.035, allocations: 0.5156 kB / 1.101 GB, free: 14.93 MB / 0.7136 GB Notification: Performance of matching and sorting (n=15): time 0.0005516/1.035, allocations: 157.6 kB / 1.101 GB, free: 14.77 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.954e-05/1.035, allocations: 51.41 kB / 1.102 GB, free: 14.71 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001423/1.035, allocations: 135.8 kB / 1.102 GB, free: 14.57 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.506e-05/1.036, allocations: 25.7 kB / 1.102 GB, free: 14.54 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 6.585e-05/1.036, allocations: 104.3 kB / 1.102 GB, free: 14.43 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 6.429e-05/1.036, allocations: 43.36 kB / 1.102 GB, free: 14.39 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.25e-05/1.036, allocations: 0 / 1.102 GB, free: 14.39 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001532/1.036, allocations: 322.8 kB / 1.102 GB, free: 14.07 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00015/1.036, allocations: 55.98 kB / 1.102 GB, free: 14.01 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001486/1.036, allocations: 51.98 kB / 1.102 GB, free: 13.96 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002112/1.036, allocations: 67.14 kB / 1.102 GB, free: 13.9 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/1.036, allocations: 4 kB / 1.102 GB, free: 13.89 MB / 0.7136 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004746/1.037, allocations: 173.5 kB / 1.102 GB, free: 13.72 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.651e-05/1.037, allocations: 5.094 kB / 1.102 GB, free: 13.71 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.069e-05/1.037, allocations: 4 kB / 1.102 GB, free: 13.71 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.256e-05/1.037, allocations: 0 / 1.102 GB, free: 13.71 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004946/1.037, allocations: 57.17 kB / 1.103 GB, free: 13.66 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.24e-06/1.038, allocations: 0 / 1.103 GB, free: 13.66 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004176/1.038, allocations: 59.8 kB / 1.103 GB, free: 13.6 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.76e-05/1.038, allocations: 11.94 kB / 1.103 GB, free: 13.59 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: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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 9.952e-05/1.038, allocations: 105.5 kB / 1.103 GB, free: 13.48 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.724e-05/1.038, allocations: 12.52 kB / 1.103 GB, free: 13.46 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005697/1.039, allocations: 202.6 kB / 1.103 GB, free: 13.27 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.422e-06/1.039, allocations: 0.8906 kB / 1.103 GB, free: 13.27 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.935e-06/1.039, allocations: 4 kB / 1.103 GB, free: 13.26 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.987e-06/1.039, allocations: 0 / 1.103 GB, free: 13.26 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003834/1.039, allocations: 217.8 kB / 1.103 GB, free: 13.01 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-05/1.039, allocations: 5.562 kB / 1.103 GB, free: 13.01 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004627/1.04, allocations: 51.95 kB / 1.103 GB, free: 12.96 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.064e-05/1.04, allocations: 5.031 kB / 1.103 GB, free: 12.95 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.8e-05/1.04, allocations: 7.938 kB / 1.103 GB, free: 12.95 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.735e-06/1.04, allocations: 0 / 1.103 GB, free: 12.95 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.425e-06/1.04, allocations: 0 / 1.103 GB, free: 12.95 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0005048/1.04, allocations: 275.4 kB / 1.103 GB, free: 12.66 MB / 0.7136 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0006453/1.041, allocations: 0.6413 MB / 1.104 GB, free: 12 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 6.324e-05/1.041, allocations: 92.92 kB / 1.104 GB, free: 11.89 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.887e-05/1.041, allocations: 0 / 1.104 GB, free: 11.89 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004544/1.042, allocations: 53.45 kB / 1.104 GB, free: 11.84 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.216e-05/1.042, allocations: 16.48 kB / 1.104 GB, free: 11.82 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.461e-05/1.042, allocations: 4 kB / 1.104 GB, free: 11.82 MB / 0.7136 GB Notification: Performance of sort global known variables: time 9.755e-05/1.042, allocations: 105.5 kB / 1.104 GB, free: 11.72 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.001217/1.043, allocations: 47.84 kB / 1.104 GB, free: 11.67 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: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.0002536/1.043, allocations: 111.2 kB / 1.104 GB, free: 11.55 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0004419/1.044, allocations: 199.4 kB / 1.105 GB, free: 11.34 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.494e-06/1.044, allocations: 0 / 1.105 GB, free: 11.34 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0002448/1.044, allocations: 139.3 kB / 1.105 GB, free: 11.2 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003309/1.044, allocations: 22.61 kB / 1.105 GB, free: 11.18 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006813/1.045, allocations: 211.3 kB / 1.105 GB, free: 10.95 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004756/1.046, allocations: 0.7428 MB / 1.106 GB, free: 10.17 MB / 0.7136 GB Notification: Performance of SimCode: time 1.002e-06/1.046, allocations: 0.9375 kB / 1.106 GB, free: 10.17 MB / 0.7136 GB (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Sort.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Sort.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Sort.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Sort.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Controls_OBC_CDL_Continuous_Validation_Sort_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Controls_OBC_CDL_Continuous_Validation_Sort.fmu > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Sort.pipe 2>&1)