Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.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.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly,fileNamePrefix="Buildings_8_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_TSetOnly",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly,fileNamePrefix="Buildings_8_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_TSetOnly",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.741/1.741, allocations: 289.8 MB / 297.1 MB, free: 6.707 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.001082/0.001082, allocations: 179.9 kB / 366.3 MB, free: 2.035 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.689/1.689, allocations: 205.1 MB / 0.6256 GB, free: 5.887 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.0009822/0.0009821, allocations: 89.83 kB / 0.7395 GB, free: 39.72 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2869/0.2879, allocations: 122.4 MB / 0.8591 GB, free: 13.34 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7701/1.058, allocations: 116.3 MB / 0.9726 GB, free: 68.34 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.347/5.405, allocations: 2.068 GB / 3.041 GB, free: 8.258 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002669/5.405, allocations: 91.89 kB / 3.041 GB, free: 8.168 MB / 0.948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 222 * Number of variables: 222 Notification: Performance of Generate backend data structure: time 3.694/9.1, allocations: 1.012 GB / 4.053 GB, free: 73.57 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.469e-05/9.1, allocations: 8 kB / 4.053 GB, free: 73.57 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004682/9.104, allocations: 0.7746 MB / 4.053 GB, free: 72.79 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002986/9.107, allocations: 1.031 MB / 4.054 GB, free: 71.7 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.577e-05/9.107, allocations: 31.91 kB / 4.054 GB, free: 71.67 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001737/9.108, allocations: 60 kB / 4.054 GB, free: 71.61 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001684/9.109, allocations: 0.9723 MB / 4.055 GB, free: 70.64 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001538/9.111, allocations: 1.129 MB / 4.056 GB, free: 69.45 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.313e-05/9.111, allocations: 0 / 4.056 GB, free: 69.45 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.804e-05/9.111, allocations: 4 kB / 4.056 GB, free: 69.45 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.938e-05/9.111, allocations: 49.98 kB / 4.057 GB, free: 69.4 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007016/9.118, allocations: 5.153 MB / 4.062 GB, free: 64.01 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001331/9.119, allocations: 0.8834 MB / 4.062 GB, free: 63.12 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006209/9.12, allocations: 497.4 kB / 4.063 GB, free: 62.63 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001282/9.121, allocations: 0.9488 MB / 4.064 GB, free: 61.5 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007985/9.122, allocations: 0.5886 MB / 4.064 GB, free: 60.89 MB / 0.948 GB Notification: Performance of pre-optimization done (n=82): time 4.699e-06/9.122, allocations: 0 / 4.064 GB, free: 60.89 MB / 0.948 GB Notification: Performance of matching and sorting (n=82): time 0.002755/9.125, allocations: 1.158 MB / 4.066 GB, free: 59.73 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.946e-05/9.125, allocations: 68.06 kB / 4.066 GB, free: 59.65 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009933/9.126, allocations: 0.8479 MB / 4.066 GB, free: 58.79 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001043/9.126, allocations: 33.7 kB / 4.066 GB, free: 58.75 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002889/9.126, allocations: 415.8 kB / 4.067 GB, free: 58.33 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002307/9.127, allocations: 272 kB / 4.067 GB, free: 58.06 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.824e-05/9.127, allocations: 0 / 4.067 GB, free: 58.06 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 8.715e-05/9.127, allocations: 338 kB / 4.067 GB, free: 57.73 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005773/9.127, allocations: 421.8 kB / 4.068 GB, free: 57.32 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007497/9.128, allocations: 0.7327 MB / 4.069 GB, free: 56.45 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006773/9.129, allocations: 486.6 kB / 4.069 GB, free: 55.98 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.951e-06/9.129, allocations: 4 kB / 4.069 GB, free: 55.97 MB / 0.948 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.001898/9.131, allocations: 1.192 MB / 4.07 GB, free: 54.77 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 2.051e-05/9.131, allocations: 8.156 kB / 4.07 GB, free: 54.76 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.49e-05/9.131, allocations: 11.94 kB / 4.07 GB, free: 54.75 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.957e-05/9.131, allocations: 12 kB / 4.07 GB, free: 54.74 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001673/9.133, allocations: 331.5 kB / 4.071 GB, free: 54.41 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.624e-05/9.133, allocations: 19.92 kB / 4.071 GB, free: 54.39 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001554/9.134, allocations: 199 kB / 4.071 GB, free: 54.2 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001378/9.134, allocations: 55.95 kB / 4.071 GB, free: 54.14 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition3,$PRE.setHeaHigPow.nextTimeEvent,$whenCondition2,$PRE.setCooLimPow.nextTimeEvent,$whenCondition1,$PRE.setHeaCooUnl.nextTimeEvent,setHeaHigPow.nextTimeEvent,$PRE.setHeaHigPow.nextTimeEventScaled,setHeaHigPow.nextTimeEventScaled,setCooLimPow.nextTimeEvent,$PRE.setCooLimPow.nextTimeEventScaled,setCooLimPow.nextTimeEventScaled,setHeaCooUnl.nextTimeEvent,$PRE.setHeaCooUnl.nextTimeEventScaled,setHeaCooUnl.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (117): * Single equations (assignments): 117 * 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.0002345/9.135, allocations: 138.7 kB / 4.071 GB, free: 54 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001884/9.135, allocations: 122.5 kB / 4.071 GB, free: 53.88 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002185/9.137, allocations: 1.214 MB / 4.072 GB, free: 52.66 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.072e-05/9.137, allocations: 8 kB / 4.072 GB, free: 52.65 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.715e-06/9.137, allocations: 3.906 kB / 4.072 GB, free: 52.65 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.062e-05/9.137, allocations: 3.984 kB / 4.072 GB, free: 52.64 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00408/9.141, allocations: 2.623 MB / 4.075 GB, free: 49.93 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.022e-06/9.141, allocations: 4 kB / 4.075 GB, free: 49.93 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001498/9.143, allocations: 268.1 kB / 4.075 GB, free: 49.67 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.275e-05/9.143, allocations: 8 kB / 4.075 GB, free: 49.66 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001016/9.143, allocations: 27.95 kB / 4.075 GB, free: 49.63 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.097e-06/9.143, allocations: 11.94 kB / 4.075 GB, free: 49.62 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.929e-06/9.143, allocations: 4 kB / 4.075 GB, free: 49.62 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002653/9.145, allocations: 2.159 MB / 4.077 GB, free: 47.31 MB / 0.948 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.003735/9.149, allocations: 3.325 MB / 4.08 GB, free: 43.83 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006737/9.15, allocations: 335.2 kB / 4.081 GB, free: 43.48 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002264/9.15, allocations: 11.92 kB / 4.081 GB, free: 43.47 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001312/9.151, allocations: 135.9 kB / 4.081 GB, free: 43.34 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001222/9.152, allocations: 68.42 kB / 4.081 GB, free: 43.27 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001015/9.152, allocations: 39.95 kB / 4.081 GB, free: 43.23 MB / 0.948 GB Notification: Performance of sort global known variables: time 0.0007759/9.152, allocations: 0.6446 MB / 4.082 GB, free: 42.58 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.002624/9.155, allocations: 0.6711 MB / 4.082 GB, free: 41.91 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 3 (heaHigPow.T,cooLimPow.T,heaCooUnl.T) * Number of discrete variables: 9 ($whenCondition3,$whenCondition2,$whenCondition1,setHeaHigPow.nextTimeEvent,setHeaHigPow.nextTimeEventScaled,setCooLimPow.nextTimeEvent,setCooLimPow.nextTimeEventScaled,setHeaCooUnl.nextTimeEvent,setHeaCooUnl.nextTimeEventScaled) * Number of discrete states: 6 (setHeaHigPow.nextTimeEvent,setCooLimPow.nextTimeEvent,setHeaCooUnl.nextTimeEvent,setHeaCooUnl.nextTimeEventScaled,setCooLimPow.nextTimeEventScaled,setHeaHigPow.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (88): * Single equations (assignments): 82 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 6 * 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.002944/9.158, allocations: 2.133 MB / 4.084 GB, free: 39.74 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.001709/9.16, allocations: 1.031 MB / 4.085 GB, free: 38.71 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 3.576e-06/9.16, allocations: 1.875 kB / 4.085 GB, free: 38.71 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0008084/9.161, allocations: 0.5419 MB / 4.086 GB, free: 38.17 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002476/9.163, allocations: 420.3 kB / 4.086 GB, free: 37.77 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004554/9.168, allocations: 2.072 MB / 4.088 GB, free: 35.61 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001235/9.169, allocations: 1.374 MB / 4.09 GB, free: 34.2 MB / 0.948 GB Notification: Performance of SimCode: time 1.283e-06/9.169, allocations: 0 / 4.09 GB, free: 34.2 MB / 0.948 GB (rm -f Buildings_8_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.pipe ; mkfifo Buildings_8_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.pipe >> ../files/Buildings_8_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_TSetOnly_fmu --startTime=0 --stopTime=1200 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_TSetOnly.fmu > Buildings_8_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.pipe 2>&1)