Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_X_wSetOnly",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly,fileNamePrefix="Buildings_maint_8_0_x_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.1-maint.8.0.x/package.mo): time 1.396/1.396, allocations: 285.5 MB / 292.8 MB, free: 10.51 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.0009933/0.0009931, allocations: 177.3 kB / 361.1 MB, free: 7.082 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.288/1.288, allocations: 205.2 MB / 0.6195 GB, free: 10.29 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.0008763/0.0008763, allocations: 86.56 kB / 0.7325 GB, free: 44.21 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2258/0.2267, allocations: 121.5 MB / 0.8512 GB, free: 2.871 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5556/0.7824, allocations: 115.3 MB / 0.9638 GB, free: 78.38 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.459/4.242, allocations: 2.067 GB / 3.031 GB, free: 88 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001989/4.242, allocations: 85.03 kB / 3.031 GB, free: 87.92 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 2.916/7.158, allocations: 1.012 GB / 4.043 GB, free: 163.3 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.402e-05/7.158, allocations: 12 kB / 4.043 GB, free: 163.3 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00422/7.162, allocations: 0.7643 MB / 4.044 GB, free: 162.6 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002722/7.165, allocations: 1.037 MB / 4.045 GB, free: 161.6 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.824e-05/7.165, allocations: 28 kB / 4.045 GB, free: 161.5 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002384/7.165, allocations: 63.88 kB / 4.045 GB, free: 161.5 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001619/7.167, allocations: 0.9487 MB / 4.046 GB, free: 160.5 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001538/7.168, allocations: 1.139 MB / 4.047 GB, free: 159.3 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.386e-05/7.168, allocations: 3.844 kB / 4.047 GB, free: 159.3 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.557e-05/7.169, allocations: 4 kB / 4.047 GB, free: 159.3 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.428e-05/7.169, allocations: 49.98 kB / 4.047 GB, free: 159.3 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007855/7.177, allocations: 5.686 MB / 4.052 GB, free: 153.4 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001199/7.178, allocations: 0.8748 MB / 4.053 GB, free: 152.5 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000613/7.178, allocations: 0.4912 MB / 4.054 GB, free: 152.1 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008498/7.179, allocations: 0.5832 MB / 4.054 GB, free: 151.4 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007698/7.18, allocations: 0.5885 MB / 4.055 GB, free: 150.8 MB / 0.948 GB Notification: Performance of pre-optimization done (n=80): time 3.617e-06/7.18, allocations: 0 / 4.055 GB, free: 150.8 MB / 0.948 GB Notification: Performance of matching and sorting (n=80): time 0.002358/7.182, allocations: 1.08 MB / 4.056 GB, free: 149.7 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.122e-05/7.182, allocations: 60.06 kB / 4.056 GB, free: 149.6 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001096/7.184, allocations: 0.8639 MB / 4.057 GB, free: 148.7 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001069/7.184, allocations: 29.7 kB / 4.057 GB, free: 148.7 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002223/7.184, allocations: 415.7 kB / 4.057 GB, free: 148.3 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001916/7.184, allocations: 268.1 kB / 4.057 GB, free: 148 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.343e-05/7.184, allocations: 0 / 4.057 GB, free: 148 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 6.884e-05/7.184, allocations: 341.9 kB / 4.058 GB, free: 147.7 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005314/7.185, allocations: 417.8 kB / 4.058 GB, free: 147.3 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006922/7.185, allocations: 0.7431 MB / 4.059 GB, free: 146.4 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006555/7.186, allocations: 489.2 kB / 4.059 GB, free: 145.9 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.087e-06/7.186, allocations: 0 / 4.059 GB, free: 145.9 MB / 0.948 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.001775/7.188, allocations: 1.186 MB / 4.061 GB, free: 144.7 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.471e-05/7.188, allocations: 7.984 kB / 4.061 GB, free: 144.7 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.189e-05/7.188, allocations: 8 kB / 4.061 GB, free: 144.7 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.41e-05/7.188, allocations: 12 kB / 4.061 GB, free: 144.7 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001889/7.19, allocations: 333.2 kB / 4.061 GB, free: 144.4 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.45e-05/7.19, allocations: 15.94 kB / 4.061 GB, free: 144.3 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001764/7.192, allocations: 211 kB / 4.061 GB, free: 144.1 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000144/7.192, allocations: 55.97 kB / 4.061 GB, free: 144.1 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.0002293/7.192, allocations: 138.7 kB / 4.061 GB, free: 143.9 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001837/7.192, allocations: 118.5 kB / 4.061 GB, free: 143.8 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002355/7.195, allocations: 1.198 MB / 4.063 GB, free: 142.6 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.396e-05/7.195, allocations: 8 kB / 4.063 GB, free: 142.6 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.378e-06/7.195, allocations: 0 / 4.063 GB, free: 142.6 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.184e-05/7.195, allocations: 3.984 kB / 4.063 GB, free: 142.6 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003791/7.199, allocations: 2.602 MB / 4.065 GB, free: 139.9 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.32e-06/7.199, allocations: 4.5 kB / 4.065 GB, free: 139.9 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001389/7.2, allocations: 267.6 kB / 4.065 GB, free: 139.7 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.054e-05/7.2, allocations: 8 kB / 4.065 GB, free: 139.7 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.811e-05/7.2, allocations: 27.95 kB / 4.065 GB, free: 139.6 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.861e-06/7.2, allocations: 11.94 kB / 4.065 GB, free: 139.6 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.989e-06/7.2, allocations: 11.91 kB / 4.065 GB, free: 139.6 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002246/7.202, allocations: 2.128 MB / 4.068 GB, free: 137.3 MB / 0.948 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.003263/7.206, allocations: 3.29 MB / 4.071 GB, free: 133.9 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005804/7.206, allocations: 327.2 kB / 4.071 GB, free: 133.5 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002182/7.206, allocations: 12 kB / 4.071 GB, free: 133.5 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001261/7.208, allocations: 143.8 kB / 4.071 GB, free: 133.4 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001028/7.208, allocations: 56.42 kB / 4.071 GB, free: 133.3 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.763e-05/7.208, allocations: 43.97 kB / 4.071 GB, free: 133.3 MB / 0.948 GB Notification: Performance of sort global known variables: time 0.0007275/7.209, allocations: 0.6487 MB / 4.072 GB, free: 132.6 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.002243/7.211, allocations: 0.6634 MB / 4.073 GB, free: 132 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.002266/7.213, allocations: 2.134 MB / 4.075 GB, free: 130.1 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.001468/7.215, allocations: 1.036 MB / 4.076 GB, free: 129.1 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 3.727e-06/7.215, allocations: 3.938 kB / 4.076 GB, free: 129.1 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0006933/7.215, allocations: 0.5411 MB / 4.076 GB, free: 128.5 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00202/7.217, allocations: 412.5 kB / 4.077 GB, free: 128.2 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0161/7.234, allocations: 2.796 MB / 4.079 GB, free: 125.3 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001507/7.235, allocations: 1.371 MB / 4.081 GB, free: 123.9 MB / 0.948 GB Notification: Performance of SimCode: time 1.613e-06/7.235, allocations: 3.938 kB / 4.081 GB, free: 123.9 MB / 0.948 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_X_wSetOnly_fmu --startTime=0 --stopTime=1200 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_X_wSetOnly.fmu > Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe 2>&1)