Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet",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 7.0.3-maint.7.0.x/package.mo): time 1.228/1.228, allocations: 249.4 MB / 256.7 MB, free: 7.074 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001155/0.001155, allocations: 188.5 kB / 316 MB, free: 3.523 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.112/1.112, allocations: 205.2 MB / 0.5667 GB, free: 15.6 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008223/0.0008223, allocations: 75.41 kB / 0.671 GB, free: 4.742 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.3164/0.3172, allocations: 112.5 MB / 0.7808 GB, free: 103 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1489/0.4661, allocations: 106.3 MB / 0.8847 GB, free: 12.54 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.546/4.012, allocations: 2.186 GB / 3.071 GB, free: 217.9 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002292/4.012, allocations: 87.94 kB / 3.071 GB, free: 217.8 MB / 0.8698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 226 * Number of variables: 226 Notification: Performance of Generate backend data structure: time 1.872/5.884, allocations: 0.6594 GB / 3.731 GB, free: 168.1 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 3.771e-05/5.884, allocations: 11.34 kB / 3.731 GB, free: 168.1 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005088/5.889, allocations: 0.9849 MB / 3.731 GB, free: 168 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002864/5.892, allocations: 1.136 MB / 3.733 GB, free: 167.7 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.514e-05/5.892, allocations: 29.41 kB / 3.733 GB, free: 167.7 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000164/5.893, allocations: 64.06 kB / 3.733 GB, free: 167.7 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001632/5.894, allocations: 1.106 MB / 3.734 GB, free: 167.7 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001558/5.896, allocations: 1.155 MB / 3.735 GB, free: 167.6 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.231e-05/5.896, allocations: 3.094 kB / 3.735 GB, free: 167.6 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001022/5.896, allocations: 7.031 kB / 3.735 GB, free: 167.6 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.654e-05/5.896, allocations: 46.14 kB / 3.735 GB, free: 167.6 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007259/5.903, allocations: 4.88 MB / 3.74 GB, free: 165.8 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001324/5.905, allocations: 1.037 MB / 3.741 GB, free: 165.7 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000715/5.905, allocations: 0.5951 MB / 3.741 GB, free: 165.7 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001067/5.906, allocations: 0.9502 MB / 3.742 GB, free: 164.8 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008543/5.907, allocations: 0.695 MB / 3.743 GB, free: 164.7 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=95): time 2.876e-06/5.907, allocations: 0 / 3.743 GB, free: 164.7 MB / 0.8698 GB Notification: Performance of matching and sorting (n=95): time 0.002822/5.91, allocations: 1.322 MB / 3.744 GB, free: 164.6 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.347e-05/5.91, allocations: 62.56 kB / 3.744 GB, free: 164.5 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001185/5.911, allocations: 0.8293 MB / 3.745 GB, free: 164.4 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 9.962e-05/5.911, allocations: 28.98 kB / 3.745 GB, free: 164.4 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002059/5.912, allocations: 374.9 kB / 3.745 GB, free: 164.1 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002277/5.912, allocations: 314.3 kB / 3.746 GB, free: 163.9 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.487e-05/5.912, allocations: 0 / 3.746 GB, free: 163.9 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 7.057e-05/5.912, allocations: 345.8 kB / 3.746 GB, free: 163.6 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000671/5.913, allocations: 493.3 kB / 3.747 GB, free: 163.6 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008384/5.914, allocations: 0.7357 MB / 3.747 GB, free: 163.4 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007249/5.914, allocations: 0.5258 MB / 3.748 GB, free: 163.4 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.078e-06/5.914, allocations: 1.031 kB / 3.748 GB, free: 163.4 MB / 0.8698 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.002076/5.916, allocations: 1.308 MB / 3.749 GB, free: 163.3 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.419e-05/5.916, allocations: 7.906 kB / 3.749 GB, free: 163.3 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.083e-05/5.916, allocations: 9.375 kB / 3.749 GB, free: 163.2 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.011e-05/5.916, allocations: 11.72 kB / 3.749 GB, free: 163.2 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001948/5.918, allocations: 366.5 kB / 3.749 GB, free: 163.2 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.33e-05/5.918, allocations: 13.44 kB / 3.749 GB, free: 163.2 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001745/5.92, allocations: 245.2 kB / 3.75 GB, free: 163.2 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001457/5.92, allocations: 54.08 kB / 3.75 GB, free: 163.2 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * 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 (121): * Single equations (assignments): 121 * 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.0002201/5.921, allocations: 134.5 kB / 3.75 GB, free: 163.1 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001932/5.921, allocations: 118.8 kB / 3.75 GB, free: 163 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002679/5.923, allocations: 1.405 MB / 3.751 GB, free: 162.9 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.224e-05/5.923, allocations: 9.594 kB / 3.751 GB, free: 162.9 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.6e-06/5.923, allocations: 0 / 3.751 GB, free: 162.9 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.132e-05/5.923, allocations: 8.547 kB / 3.751 GB, free: 162.9 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004769/5.928, allocations: 2.91 MB / 3.754 GB, free: 161.7 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.174e-06/5.928, allocations: 4.188 kB / 3.754 GB, free: 161.7 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001888/5.93, allocations: 334.8 kB / 3.755 GB, free: 161.7 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.568e-05/5.93, allocations: 8.062 kB / 3.755 GB, free: 161.7 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001103/5.93, allocations: 27.39 kB / 3.755 GB, free: 161.7 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.027e-06/5.93, allocations: 7.562 kB / 3.755 GB, free: 161.7 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.921e-06/5.93, allocations: 12.75 kB / 3.755 GB, free: 161.7 MB / 0.8698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003422/5.934, allocations: 2.44 MB / 3.757 GB, free: 160.4 MB / 0.8698 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.005725/5.94, allocations: 3.708 MB / 3.761 GB, free: 158.4 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008414/5.94, allocations: 351.4 kB / 3.761 GB, free: 158.2 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002607/5.941, allocations: 13.38 kB / 3.761 GB, free: 158.2 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001652/5.942, allocations: 187.2 kB / 3.761 GB, free: 158.2 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001553/5.942, allocations: 61.64 kB / 3.761 GB, free: 158.2 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001268/5.943, allocations: 47.58 kB / 3.761 GB, free: 158.1 MB / 0.8698 GB Notification: Performance of sort global known variables: time 0.0008899/5.943, allocations: 0.6409 MB / 3.762 GB, free: 157.9 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.002537/5.946, allocations: 0.6853 MB / 3.763 GB, free: 157.5 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 6 (heaHigPow.T,heaHigPow.Xi,cooLimPow.T,cooLimPow.Xi,heaCooUnl.T,heaCooUnl.Xi) * 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 (101): * Single equations (assignments): 95 * 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.002854/5.949, allocations: 2.131 MB / 3.765 GB, free: 156.9 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.002046/5.951, allocations: 1.199 MB / 3.766 GB, free: 156.5 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 2.776e-06/5.951, allocations: 0 / 3.766 GB, free: 156.5 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0009705/5.952, allocations: 0.639 MB / 3.766 GB, free: 156.3 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002008/5.954, allocations: 427.7 kB / 3.767 GB, free: 156.2 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01697/5.971, allocations: 3.149 MB / 3.77 GB, free: 155.3 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001965/5.973, allocations: 1.412 MB / 3.771 GB, free: 154.6 MB / 0.8698 GB Notification: Performance of SimCode: time 1.503e-06/5.973, allocations: 0 / 3.771 GB, free: 154.6 MB / 0.8698 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_fmu --startTime=0 --stopTime=1200 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet.fmu > Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.pipe 2>&1)