Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.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.Fluid.Interfaces.Examples.PrescribedOutlet,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet,fileNamePrefix="Buildings_8_0_0_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 8.0.0/package.mo): time 2.703/2.703, allocations: 284.8 MB / 292.1 MB, free: 10.72 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.001675/0.001675, allocations: 185.2 kB / 360.3 MB, free: 7.52 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.901/1.901, allocations: 205.1 MB / 0.6187 GB, free: 13.21 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.001233/0.001233, allocations: 92.11 kB / 0.7317 GB, free: 45.11 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2917/0.293, allocations: 121.4 MB / 0.8502 GB, free: 3.934 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7133/1.006, allocations: 115.2 MB / 0.9627 GB, free: 78.37 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.364/6.371, allocations: 2.067 GB / 3.03 GB, free: 273.3 MB / 0.9324 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003005/6.371, allocations: 86.33 kB / 3.03 GB, free: 273.3 MB / 0.9324 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 2.762/9.133, allocations: 0.6817 GB / 3.711 GB, free: 18.56 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.217e-05/9.133, allocations: 12.5 kB / 3.711 GB, free: 18.55 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01017/9.143, allocations: 0.9814 MB / 3.712 GB, free: 17.56 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006239/9.15, allocations: 1.141 MB / 3.713 GB, free: 16.36 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.162e-05/9.15, allocations: 28 kB / 3.714 GB, free: 16.34 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004639/9.15, allocations: 56 kB / 3.714 GB, free: 16.28 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003899/9.154, allocations: 1.105 MB / 3.715 GB, free: 15.18 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004211/9.158, allocations: 1.165 MB / 3.716 GB, free: 13.98 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.095e-05/9.159, allocations: 0 / 3.716 GB, free: 13.98 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001766/9.159, allocations: 7.938 kB / 3.716 GB, free: 13.97 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.576e-05/9.159, allocations: 57.91 kB / 3.716 GB, free: 13.91 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0151/9.174, allocations: 4.868 MB / 3.721 GB, free: 8.855 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002769/9.177, allocations: 1.038 MB / 3.722 GB, free: 7.805 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00152/9.178, allocations: 0.5933 MB / 3.722 GB, free: 7.207 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001836/9.18, allocations: 0.9606 MB / 3.723 GB, free: 6.062 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001873/9.182, allocations: 0.6798 MB / 3.724 GB, free: 5.367 MB / 0.948 GB Notification: Performance of pre-optimization done (n=95): time 4.018e-06/9.182, allocations: 0 / 3.724 GB, free: 5.367 MB / 0.948 GB Notification: Performance of matching and sorting (n=95): time 0.005705/9.188, allocations: 1.325 MB / 3.725 GB, free: 4.035 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.131e-05/9.188, allocations: 64.19 kB / 3.725 GB, free: 3.961 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00174/9.19, allocations: 0.8262 MB / 3.726 GB, free: 3.117 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0003507/9.19, allocations: 33.7 kB / 3.726 GB, free: 3.078 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003375/9.19, allocations: 376.6 kB / 3.726 GB, free: 2.703 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004542/9.191, allocations: 315.4 kB / 3.727 GB, free: 2.391 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001293/9.191, allocations: 0 / 3.727 GB, free: 2.391 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 9.802e-05/9.191, allocations: 341.9 kB / 3.727 GB, free: 2.051 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001408/9.193, allocations: 497.7 kB / 3.727 GB, free: 1.562 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001705/9.194, allocations: 0.7385 MB / 3.728 GB, free: 0.7266 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00236/9.197, allocations: 0.5304 MB / 3.729 GB, free: 204 kB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.423e-05/9.197, allocations: 0 / 3.729 GB, free: 204 kB / 0.948 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.4127/9.61, allocations: 1.302 MB / 3.73 GB, free: 274.4 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 2.407e-05/9.61, allocations: 6.5 kB / 3.73 GB, free: 274.4 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.761e-05/9.61, allocations: 3.438 kB / 3.73 GB, free: 274.4 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.471e-05/9.61, allocations: 7.594 kB / 3.73 GB, free: 274.4 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004072/9.614, allocations: 380.9 kB / 3.73 GB, free: 274.4 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.864e-05/9.614, allocations: 13.84 kB / 3.73 GB, free: 274.4 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003801/9.618, allocations: 235 kB / 3.731 GB, free: 274.4 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004369/9.618, allocations: 57.89 kB / 3.731 GB, free: 274.4 MB / 0.948 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.0004206/9.619, allocations: 138.3 kB / 3.731 GB, free: 274.3 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004247/9.619, allocations: 116.5 kB / 3.731 GB, free: 274.3 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004705/9.624, allocations: 1.393 MB / 3.732 GB, free: 274.2 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.961e-05/9.624, allocations: 11.31 kB / 3.732 GB, free: 274.2 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.028e-05/9.624, allocations: 2.812 kB / 3.732 GB, free: 274.2 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.779e-05/9.624, allocations: 6.531 kB / 3.732 GB, free: 274.2 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008735/9.633, allocations: 2.915 MB / 3.735 GB, free: 273.8 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-05/9.633, allocations: 3.969 kB / 3.735 GB, free: 273.8 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003931/9.637, allocations: 331.3 kB / 3.735 GB, free: 273.8 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.692e-05/9.637, allocations: 10.22 kB / 3.735 GB, free: 273.8 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000305/9.637, allocations: 29.08 kB / 3.735 GB, free: 273.8 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.131e-05/9.637, allocations: 9.797 kB / 3.735 GB, free: 273.8 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.735e-06/9.637, allocations: 10.81 kB / 3.735 GB, free: 273.8 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.005989/9.643, allocations: 2.44 MB / 3.738 GB, free: 273.2 MB / 0.948 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.01011/9.653, allocations: 3.71 MB / 3.741 GB, free: 272.2 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001514/9.655, allocations: 356.6 kB / 3.742 GB, free: 272 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006532/9.656, allocations: 7.859 kB / 3.742 GB, free: 272 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003695/9.659, allocations: 183.2 kB / 3.742 GB, free: 272 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003592/9.66, allocations: 67.25 kB / 3.742 GB, free: 272 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002836/9.66, allocations: 47.86 kB / 3.742 GB, free: 272 MB / 0.948 GB Notification: Performance of sort global known variables: time 0.001421/9.661, allocations: 0.6375 MB / 3.743 GB, free: 271.9 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.004368/9.666, allocations: 0.6871 MB / 3.743 GB, free: 271.9 MB / 0.948 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.004218/9.67, allocations: 2.129 MB / 3.745 GB, free: 271.5 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.003696/9.674, allocations: 1.194 MB / 3.747 GB, free: 271.4 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.071e-05/9.674, allocations: 3.938 kB / 3.747 GB, free: 271.4 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.001797/9.676, allocations: 0.6362 MB / 3.747 GB, free: 271.4 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004355/9.68, allocations: 426.3 kB / 3.748 GB, free: 271.4 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03203/9.712, allocations: 3.149 MB / 3.751 GB, free: 270.9 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002262/9.714, allocations: 1.402 MB / 3.752 GB, free: 270.2 MB / 0.948 GB Notification: Performance of SimCode: time 1.382e-06/9.714, allocations: 0 / 3.752 GB, free: 270.2 MB / 0.948 GB (rm -f Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_fmu --startTime=0 --stopTime=1200 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet.fmu > Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.pipe 2>&1)