Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.RadiantSystems.Heating.Validation.HighMassSupplyTemperature_TRoom.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.RadiantSystems.Heating.Validation.HighMassSupplyTemperature_TRoom,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_RadiantSystems_Heating_Validation_HighMassSupplyTemperature_TRoom",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.RadiantSystems.Heating.Validation.HighMassSupplyTemperature_TRoom,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_RadiantSystems_Heating_Validation_HighMassSupplyTemperature_TRoom",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.385/1.385, 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.0009538/0.0009538, allocations: 177.3 kB / 366.3 MB, free: 1.949 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.083/1.083, allocations: 205.1 MB / 0.6256 GB, free: 5.797 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.0008207/0.0008205, allocations: 89.52 kB / 0.7395 GB, free: 39.63 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2049/0.2057, allocations: 122.4 MB / 0.8591 GB, free: 13.23 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5102/0.716, allocations: 116.3 MB / 0.9726 GB, free: 68.69 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1521/0.8681, allocations: 144.3 MB / 1.114 GB, free: 4.133 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000237/0.8684, allocations: 91.88 kB / 1.114 GB, free: 4.043 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: 56 * Number of variables: 56 Notification: Performance of Generate backend data structure: time 0.02465/0.8931, allocations: 9.992 MB / 1.123 GB, free: 10.02 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 5.039e-05/0.8932, allocations: 8 kB / 1.123 GB, free: 10.02 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001028/0.8933, allocations: 47.38 kB / 1.123 GB, free: 9.969 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00061/0.8939, allocations: 376.1 kB / 1.124 GB, free: 9.562 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.026e-05/0.8939, allocations: 11.91 kB / 1.124 GB, free: 9.551 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.325e-05/0.894, allocations: 16 kB / 1.124 GB, free: 9.535 MB / 0.7292 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002944/0.8943, allocations: 149 kB / 1.124 GB, free: 9.391 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003418/0.8946, allocations: 229.7 kB / 1.124 GB, free: 9.152 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.037e-06/0.8946, allocations: 0 / 1.124 GB, free: 9.152 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.177e-05/0.8947, allocations: 1.875 kB / 1.124 GB, free: 9.152 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.122e-05/0.8947, allocations: 8 kB / 1.124 GB, free: 9.145 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00126/0.8959, allocations: 0.888 MB / 1.125 GB, free: 8.215 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004089/0.8964, allocations: 178.7 kB / 1.125 GB, free: 8.031 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001115/0.8965, allocations: 64.86 kB / 1.125 GB, free: 7.965 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 2.199e-05/0.8965, allocations: 4 kB / 1.125 GB, free: 7.961 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000172/0.8967, allocations: 103.4 kB / 1.125 GB, free: 7.848 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=16): time 1.904e-06/0.8967, allocations: 4 kB / 1.125 GB, free: 7.844 MB / 0.7292 GB Notification: Performance of matching and sorting (n=16): time 0.0003412/0.8971, allocations: 166.8 kB / 1.126 GB, free: 7.676 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.147e-05/0.8971, allocations: 85.11 kB / 1.126 GB, free: 7.574 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004441/0.8976, allocations: 342 kB / 1.126 GB, free: 7.23 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 3.231e-05/0.8976, allocations: 25.8 kB / 1.126 GB, free: 7.199 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001174/0.8977, allocations: 172 kB / 1.126 GB, free: 7.027 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 4.524e-05/0.8978, allocations: 47.34 kB / 1.126 GB, free: 6.98 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.581e-05/0.8978, allocations: 0 / 1.126 GB, free: 6.98 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001253/0.8979, allocations: 342.8 kB / 1.127 GB, free: 6.637 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001594/0.8981, allocations: 83.98 kB / 1.127 GB, free: 6.555 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001806/0.8983, allocations: 124.5 kB / 1.127 GB, free: 6.414 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003106/0.8986, allocations: 105 kB / 1.127 GB, free: 6.312 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.8986, allocations: 2.344 kB / 1.127 GB, free: 6.312 MB / 0.7292 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005672/0.8992, allocations: 289.8 kB / 1.127 GB, free: 6.027 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 8.675e-05/0.8993, allocations: 183.4 kB / 1.127 GB, free: 5.836 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.914e-06/0.8993, allocations: 3.984 kB / 1.127 GB, free: 5.832 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.363e-05/0.8993, allocations: 0 / 1.127 GB, free: 5.832 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002344/0.8996, allocations: 51.91 kB / 1.127 GB, free: 5.781 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.121e-06/0.8996, allocations: 4.031 kB / 1.127 GB, free: 5.777 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002317/0.8998, allocations: 31.83 kB / 1.127 GB, free: 5.746 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.006e-05/0.8999, allocations: 13.33 kB / 1.127 GB, free: 5.734 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.037e-05/0.8999, allocations: 8 kB / 1.127 GB, free: 5.727 MB / 0.7292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004484/0.9004, allocations: 212 kB / 1.128 GB, free: 5.52 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.355e-06/0.9004, allocations: 0 / 1.128 GB, free: 5.52 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.747e-06/0.9004, allocations: 0 / 1.128 GB, free: 5.52 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001879/0.9006, allocations: 47.92 kB / 1.128 GB, free: 5.473 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.276e-06/0.9006, allocations: 0 / 1.128 GB, free: 5.473 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001985/0.9008, allocations: 35.84 kB / 1.128 GB, free: 5.438 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.638e-05/0.9008, allocations: 8 kB / 1.128 GB, free: 5.43 MB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,$PRE.TRooMea.tab.nextTimeEvent,TRooMea.tab.nextTimeEvent,$PRE.TRooMea.tab.nextTimeEventScaled,TRooMea.tab.nextTimeEventScaled,$PRE.conHea.hysHea.y,conHea.hysHea.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (29): * Single equations (assignments): 29 * 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 0.000119/0.901, allocations: 113.5 kB / 1.128 GB, free: 5.312 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.258e-05/0.901, allocations: 27.62 kB / 1.128 GB, free: 5.285 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003675/0.9014, allocations: 180.6 kB / 1.128 GB, free: 5.105 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.116e-06/0.9014, allocations: 0 / 1.128 GB, free: 5.105 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.391e-06/0.9014, allocations: 0 / 1.128 GB, free: 5.105 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.532e-06/0.9014, allocations: 7.984 kB / 1.128 GB, free: 5.098 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007119/0.9021, allocations: 0.5776 MB / 1.129 GB, free: 4.473 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.016e-06/0.9022, allocations: 0 / 1.129 GB, free: 4.473 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001397/0.9023, allocations: 28.77 kB / 1.129 GB, free: 4.445 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.061e-06/0.9023, allocations: 4 kB / 1.129 GB, free: 4.441 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.931e-05/0.9023, allocations: 0 / 1.129 GB, free: 4.441 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.825e-06/0.9024, allocations: 0 / 1.129 GB, free: 4.441 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.024e-06/0.9024, allocations: 8.031 kB / 1.129 GB, free: 4.434 MB / 0.7292 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003592/0.9027, allocations: 292 kB / 1.129 GB, free: 4.125 MB / 0.7292 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0005053/0.9033, allocations: 0.6653 MB / 1.13 GB, free: 3.434 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 8.08e-05/0.9033, allocations: 112.7 kB / 1.13 GB, free: 3.305 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.226e-05/0.9034, allocations: 3.906 kB / 1.13 GB, free: 3.301 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000196/0.9036, allocations: 24.81 kB / 1.13 GB, free: 3.277 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.211e-05/0.9037, allocations: 27.86 kB / 1.13 GB, free: 3.25 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.705e-05/0.9037, allocations: 11.98 kB / 1.13 GB, free: 3.238 MB / 0.7292 GB Notification: Performance of sort global known variables: time 0.0002361/0.9039, allocations: 244.6 kB / 1.13 GB, free: 3 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.001679/0.9056, allocations: 135.5 kB / 1.13 GB, free: 2.867 MB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,TRooMea.tab.nextTimeEvent,TRooMea.tab.nextTimeEventScaled,conHea.hysHea.y) * Number of discrete states: 3 (TRooMea.tab.nextTimeEvent,TRooMea.tab.nextTimeEventScaled,conHea.hysHea.y) * Top-level inputs: 0 Notification: Strong component statistics for simulation (17): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0006482/0.9063, allocations: 328.3 kB / 1.13 GB, free: 2.633 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0004613/0.9067, allocations: 297.8 kB / 1.131 GB, free: 2.34 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.9068, allocations: 0 / 1.131 GB, free: 2.34 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0001167/0.9069, allocations: 67.92 kB / 1.131 GB, free: 2.273 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000465/0.9074, allocations: 86.53 kB / 1.131 GB, free: 2.195 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008388/0.9082, allocations: 424.6 kB / 1.131 GB, free: 1.758 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004304/0.9086, allocations: 0.838 MB / 1.132 GB, free: 0.8906 MB / 0.7292 GB Notification: Performance of SimCode: time 2.41e-07/0.9087, allocations: 0 / 1.132 GB, free: 0.8906 MB / 0.7292 GB (rm -f Buildings_8_Buildings.Controls.OBC.RadiantSystems.Heating.Validation.HighMassSupplyTemperature_TRoom.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.RadiantSystems.Heating.Validation.HighMassSupplyTemperature_TRoom.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.RadiantSystems.Heating.Validation.HighMassSupplyTemperature_TRoom.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.RadiantSystems.Heating.Validation.HighMassSupplyTemperature_TRoom.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_RadiantSystems_Heating_Validation_HighMassSupplyTemperature_TRoom_fmu --startTime=0 --stopTime=7200 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_OBC_RadiantSystems_Heating_Validation_HighMassSupplyTemperature_TRoom.fmu > Buildings_8_Buildings.Controls.OBC.RadiantSystems.Heating.Validation.HighMassSupplyTemperature_TRoom.pipe 2>&1)