Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.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_X_wSetOnly,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_X_wSetOnly",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_X_wSetOnly",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.418/2.418, allocations: 284.8 MB / 292.1 MB, free: 10.82 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.00326/0.00326, allocations: 181.3 kB / 360.3 MB, free: 7.559 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.041/2.041, 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.001228/0.001228, allocations: 94.52 kB / 0.7317 GB, free: 45.15 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.3036/0.3048, allocations: 121.4 MB / 0.8502 GB, free: 3.953 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6856/0.9905, allocations: 115.2 MB / 0.9627 GB, free: 78.25 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.197/6.187, allocations: 2.067 GB / 3.03 GB, free: 272.9 MB / 0.9323 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004552/6.188, allocations: 81.34 kB / 3.03 GB, free: 272.9 MB / 0.9323 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 4.744/10.93, allocations: 1.012 GB / 4.042 GB, free: 45.14 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.569e-05/10.93, allocations: 12 kB / 4.042 GB, free: 45.13 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007815/10.94, allocations: 0.7629 MB / 4.042 GB, free: 44.37 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004846/10.94, allocations: 1.04 MB / 4.043 GB, free: 43.27 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.356e-05/10.94, allocations: 28 kB / 4.043 GB, free: 43.25 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003567/10.95, allocations: 59.98 kB / 4.044 GB, free: 43.19 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003201/10.95, allocations: 0.9333 MB / 4.044 GB, free: 42.25 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003099/10.95, allocations: 1.147 MB / 4.046 GB, free: 41.03 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.711e-05/10.95, allocations: 0 / 4.046 GB, free: 41.03 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001948/10.95, allocations: 11.97 kB / 4.046 GB, free: 41.02 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.565e-05/10.95, allocations: 49.98 kB / 4.046 GB, free: 40.97 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01407/10.97, allocations: 5.684 MB / 4.051 GB, free: 35.05 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002395/10.97, allocations: 0.8761 MB / 4.052 GB, free: 34.16 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00125/10.97, allocations: 495 kB / 4.053 GB, free: 33.68 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001239/10.97, allocations: 0.589 MB / 4.053 GB, free: 32.98 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001617/10.97, allocations: 0.5807 MB / 4.054 GB, free: 32.38 MB / 0.948 GB Notification: Performance of pre-optimization done (n=80): time 4.538e-06/10.97, allocations: 4 kB / 4.054 GB, free: 32.38 MB / 0.948 GB Notification: Performance of matching and sorting (n=80): time 0.004187/10.98, allocations: 1.084 MB / 4.055 GB, free: 31.29 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.097e-05/10.98, allocations: 68.05 kB / 4.055 GB, free: 31.21 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001849/10.98, allocations: 0.8562 MB / 4.056 GB, free: 30.34 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0003543/10.98, allocations: 29.7 kB / 4.056 GB, free: 30.3 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005502/10.98, allocations: 415.7 kB / 4.056 GB, free: 29.89 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004507/10.98, allocations: 272.1 kB / 4.056 GB, free: 29.62 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001115/10.98, allocations: 0 / 4.056 GB, free: 29.62 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 9.257e-05/10.98, allocations: 337.9 kB / 4.057 GB, free: 29.29 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001167/10.98, allocations: 429.8 kB / 4.057 GB, free: 28.87 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001427/10.98, allocations: 0.7353 MB / 4.058 GB, free: 27.98 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001442/10.98, allocations: 481.1 kB / 4.058 GB, free: 27.52 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.039e-05/10.98, allocations: 3.938 kB / 4.058 GB, free: 27.52 MB / 0.948 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.003646/10.99, allocations: 1.194 MB / 4.059 GB, free: 26.32 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 2.116e-05/10.99, allocations: 4 kB / 4.059 GB, free: 26.31 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.818e-05/10.99, allocations: 8 kB / 4.059 GB, free: 26.3 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.061e-05/10.99, allocations: 16 kB / 4.059 GB, free: 26.29 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003249/10.99, allocations: 327.5 kB / 4.06 GB, free: 25.97 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.762e-05/10.99, allocations: 15.94 kB / 4.06 GB, free: 25.95 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003199/11, allocations: 203 kB / 4.06 GB, free: 25.75 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003387/11, allocations: 67.95 kB / 4.06 GB, free: 25.69 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 33 * 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.0003972/11, allocations: 134.6 kB / 4.06 GB, free: 25.55 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003865/11, allocations: 118.5 kB / 4.06 GB, free: 25.43 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00396/11, allocations: 1.198 MB / 4.061 GB, free: 24.22 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.459e-05/11, allocations: 8 kB / 4.061 GB, free: 24.21 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.476e-06/11, allocations: 0 / 4.061 GB, free: 24.21 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.464e-05/11, allocations: 3.984 kB / 4.061 GB, free: 24.21 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007755/11.01, allocations: 2.602 MB / 4.064 GB, free: 21.51 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.218e-05/11.01, allocations: 4 kB / 4.064 GB, free: 21.51 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002936/11.01, allocations: 272.1 kB / 4.064 GB, free: 21.24 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.11e-05/11.01, allocations: 8 kB / 4.064 GB, free: 21.23 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002244/11.01, allocations: 31.95 kB / 4.064 GB, free: 21.2 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.041e-05/11.01, allocations: 7.938 kB / 4.064 GB, free: 21.2 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.685e-06/11.01, allocations: 7.938 kB / 4.064 GB, free: 21.19 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00499/11.02, allocations: 2.136 MB / 4.066 GB, free: 18.91 MB / 0.948 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.006869/11.02, allocations: 3.294 MB / 4.07 GB, free: 15.46 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001072/11.02, allocations: 323.2 kB / 4.07 GB, free: 15.12 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003583/11.02, allocations: 15.98 kB / 4.07 GB, free: 15.11 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002495/11.03, allocations: 139.8 kB / 4.07 GB, free: 14.97 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001778/11.03, allocations: 64.42 kB / 4.07 GB, free: 14.91 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001739/11.03, allocations: 39.95 kB / 4.07 GB, free: 14.87 MB / 0.948 GB Notification: Performance of sort global known variables: time 0.001301/11.03, allocations: 0.6487 MB / 4.071 GB, free: 14.21 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.004266/11.03, allocations: 0.6711 MB / 4.071 GB, free: 13.54 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 3 (heaHigPow.Xi,cooLimPow.Xi,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 (86): * Single equations (assignments): 80 * 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.004066/11.04, allocations: 2.115 MB / 4.073 GB, free: 11.45 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.003186/11.04, allocations: 1.04 MB / 4.074 GB, free: 10.4 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.041e-05/11.04, allocations: 4.062 kB / 4.074 GB, free: 10.4 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.001736/11.04, allocations: 0.541 MB / 4.075 GB, free: 9.859 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004914/11.05, allocations: 404.1 kB / 4.075 GB, free: 9.461 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04533/11.09, allocations: 2.8 MB / 4.078 GB, free: 6.578 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002096/11.1, allocations: 1.369 MB / 4.079 GB, free: 5.176 MB / 0.948 GB Notification: Performance of SimCode: time 2.034e-06/11.1, allocations: 4 kB / 4.079 GB, free: 5.172 MB / 0.948 GB (rm -f Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_X_wSetOnly_fmu --startTime=0 --stopTime=1200 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_X_wSetOnly.fmu > Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe 2>&1)