Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.conf.json 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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water,fileNamePrefix="Buildings_7_0_0_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_Water",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.1/package.mo): time 2.433/2.433, allocations: 248.6 MB / 255.9 MB, free: 7.125 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.001685/0.001685, allocations: 181.2 kB / 315.1 MB, free: 4.273 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.941/1.941, allocations: 205.1 MB / 0.5658 GB, free: 336 kB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001268/0.001267, allocations: 91.33 kB / 0.67 GB, free: 5.523 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.4958/0.4971, allocations: 112.4 MB / 0.7797 GB, free: 103.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2019/0.699, allocations: 106.2 MB / 0.8835 GB, free: 13.36 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.289/6.988, allocations: 2.434 GB / 3.318 GB, free: 247.3 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003247/6.988, allocations: 83.95 kB / 3.318 GB, free: 247.3 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: 176 * Number of variables: 176 Notification: Performance of Generate backend data structure: time 2.337/9.326, allocations: 0.5837 GB / 3.902 GB, free: 19.94 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.197e-05/9.326, allocations: 8 kB / 3.902 GB, free: 19.93 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006193/9.332, allocations: 0.6407 MB / 3.902 GB, free: 19.29 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004271/9.336, allocations: 0.9457 MB / 3.903 GB, free: 18.32 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.737e-05/9.336, allocations: 24 kB / 3.903 GB, free: 18.29 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002466/9.337, allocations: 51.91 kB / 3.903 GB, free: 18.24 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002733/9.339, allocations: 0.5702 MB / 3.904 GB, free: 17.67 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003492/9.343, allocations: 0.8091 MB / 3.905 GB, free: 16.78 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.77e-05/9.343, allocations: 11.88 kB / 3.905 GB, free: 16.77 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001793/9.343, allocations: 0 / 3.905 GB, free: 16.77 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.313e-05/9.343, allocations: 20 kB / 3.905 GB, free: 16.75 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01444/9.358, allocations: 4.855 MB / 3.909 GB, free: 11.66 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002735/9.361, allocations: 0.5443 MB / 3.91 GB, free: 11.11 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001195/9.362, allocations: 294.2 kB / 3.91 GB, free: 10.82 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002284/9.364, allocations: 1.594 MB / 3.912 GB, free: 8.883 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00157/9.366, allocations: 381.1 kB / 3.912 GB, free: 8.496 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=61): time 6.592e-06/9.366, allocations: 0 / 3.912 GB, free: 8.496 MB / 0.8698 GB Notification: Performance of matching and sorting (n=61): time 0.004473/9.37, allocations: 0.7099 MB / 3.913 GB, free: 7.777 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.416e-05/9.37, allocations: 55.91 kB / 3.913 GB, free: 7.711 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00294/9.373, allocations: 0.8429 MB / 3.914 GB, free: 6.852 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0003294/9.374, allocations: 29.7 kB / 3.914 GB, free: 6.816 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.000539/9.374, allocations: 387.4 kB / 3.914 GB, free: 6.43 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004579/9.375, allocations: 197.1 kB / 3.914 GB, free: 6.234 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001122/9.375, allocations: 0 / 3.914 GB, free: 6.234 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001134/9.375, allocations: 342 kB / 3.915 GB, free: 5.895 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001127/9.376, allocations: 249.9 kB / 3.915 GB, free: 5.652 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0022/9.379, allocations: 0.569 MB / 3.915 GB, free: 4.934 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002393/9.381, allocations: 353.1 kB / 3.916 GB, free: 4.59 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.95e-05/9.381, allocations: 4 kB / 3.916 GB, free: 4.586 MB / 0.8698 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.004843/9.386, allocations: 0.8813 MB / 3.917 GB, free: 3.695 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 3.153e-05/9.386, allocations: 6.812 kB / 3.917 GB, free: 3.691 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.194e-05/9.386, allocations: 11.94 kB / 3.917 GB, free: 3.68 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.031e-05/9.386, allocations: 15.98 kB / 3.917 GB, free: 3.664 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003707/9.39, allocations: 293.4 kB / 3.917 GB, free: 3.379 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.214e-05/9.39, allocations: 15.98 kB / 3.917 GB, free: 3.363 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00263/9.393, allocations: 199.1 kB / 3.917 GB, free: 3.168 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001856/9.393, allocations: 51.97 kB / 3.917 GB, free: 3.117 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 34 * 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 (100): * Single equations (assignments): 100 * 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.000298/9.393, allocations: 140.5 kB / 3.917 GB, free: 2.977 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000247/9.393, allocations: 106.7 kB / 3.917 GB, free: 2.871 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00602/9.399, allocations: 1.071 MB / 3.918 GB, free: 1.797 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.948e-05/9.399, allocations: 8 kB / 3.918 GB, free: 1.789 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.158e-05/9.399, allocations: 0 / 3.918 GB, free: 1.789 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.153e-05/9.4, allocations: 7.984 kB / 3.918 GB, free: 1.781 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3879/9.787, allocations: 1.997 MB / 3.92 GB, free: 283.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-05/9.788, allocations: 0 / 3.92 GB, free: 283.4 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002202/9.79, allocations: 217.7 kB / 3.921 GB, free: 283.4 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.847e-05/9.79, allocations: 9.656 kB / 3.921 GB, free: 283.4 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001324/9.79, allocations: 15.17 kB / 3.921 GB, free: 283.4 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.187e-06/9.79, allocations: 7.766 kB / 3.921 GB, free: 283.4 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.364e-06/9.79, allocations: 7.25 kB / 3.921 GB, free: 283.4 MB / 0.8698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00424/9.794, allocations: 1.518 MB / 3.922 GB, free: 283.2 MB / 0.8698 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.005556/9.8, allocations: 2.405 MB / 3.925 GB, free: 282.5 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000943/9.801, allocations: 302.5 kB / 3.925 GB, free: 282.3 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002919/9.801, allocations: 3.875 kB / 3.925 GB, free: 282.3 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001991/9.803, allocations: 136.1 kB / 3.925 GB, free: 282.3 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001466/9.803, allocations: 56.16 kB / 3.925 GB, free: 282.3 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001275/9.803, allocations: 25.31 kB / 3.925 GB, free: 282.3 MB / 0.8698 GB Notification: Performance of sort global known variables: time 0.001203/9.805, allocations: 0.6383 MB / 3.926 GB, free: 282.2 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.002998/9.808, allocations: 440.5 kB / 3.926 GB, free: 282.2 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (76): * Single equations (assignments): 61 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 9 * 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.001858/9.81, allocations: 0.691 MB / 3.927 GB, free: 282.1 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.002016/9.812, allocations: 0.7384 MB / 3.927 GB, free: 282.1 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 4.529e-06/9.812, allocations: 0 / 3.927 GB, free: 282.1 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.000993/9.813, allocations: 411.7 kB / 3.928 GB, free: 282.1 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003188/9.816, allocations: 340.6 kB / 3.928 GB, free: 282.1 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006662/9.823, allocations: 1.829 MB / 3.93 GB, free: 281.7 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001537/9.824, allocations: 1.274 MB / 3.931 GB, free: 281 MB / 0.8698 GB Notification: Performance of SimCode: time 1.233e-06/9.824, allocations: 3.875 kB / 3.931 GB, free: 281 MB / 0.8698 GB