Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Airflow.Multizone.Examples.OneRoom.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.Airflow.Multizone.Examples.OneRoom,fileNamePrefix="Buildings_7_0_0_Buildings_Airflow_Multizone_Examples_OneRoom",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.193/2.193, allocations: 248.6 MB / 255.9 MB, free: 328 kB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001711/0.001711, allocations: 184.9 kB / 315.1 MB, free: 7.719 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.32/2.32, allocations: 205.1 MB / 0.5658 GB, free: 25.43 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.001388/0.001388, allocations: 95.33 kB / 0.67 GB, free: 2.895 MB / 0.4948 GB Notification: Performance of FrontEnd - loaded program: time 0.3111/0.3125, allocations: 112.4 MB / 0.7797 GB, free: 2.414 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6118/0.9244, allocations: 106.2 MB / 0.8835 GB, free: 77.22 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.891/6.815, allocations: 2.194 GB / 3.078 GB, free: 238.3 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002985/6.816, allocations: 85.73 kB / 3.078 GB, free: 238.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: 248 * Number of variables: 248 Notification: Performance of Generate backend data structure: time 3.765/10.58, allocations: 0.7807 GB / 3.858 GB, free: 142.8 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.686e-05/10.58, allocations: 8 kB / 3.858 GB, free: 142.8 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005406/10.59, allocations: 460.9 kB / 3.859 GB, free: 142.4 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00351/10.59, allocations: 0.9065 MB / 3.86 GB, free: 141.5 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.101e-05/10.59, allocations: 35.94 kB / 3.86 GB, free: 141.4 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000308/10.59, allocations: 66.41 kB / 3.86 GB, free: 141.4 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002998/10.59, allocations: 0.9372 MB / 3.861 GB, free: 140.4 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003462/10.6, allocations: 1.077 MB / 3.862 GB, free: 139.3 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.255e-05/10.6, allocations: 7.891 kB / 3.862 GB, free: 139.3 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000175/10.6, allocations: 0 / 3.862 GB, free: 139.3 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.896e-05/10.6, allocations: 55.61 kB / 3.862 GB, free: 139.2 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0101/10.61, allocations: 5.077 MB / 3.867 GB, free: 133.9 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001446/10.61, allocations: 0.5245 MB / 3.867 GB, free: 133.4 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001739/10.61, allocations: 0.603 MB / 3.868 GB, free: 132.8 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007395/10.61, allocations: 0.6777 MB / 3.869 GB, free: 132 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.745e-05/10.61, allocations: 48.42 kB / 3.869 GB, free: 131.9 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=82): time 3.507e-06/10.61, allocations: 4 kB / 3.869 GB, free: 131.9 MB / 0.8698 GB Notification: Performance of matching and sorting (n=83): time 0.009615/10.62, allocations: 2.226 MB / 3.871 GB, free: 129.6 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.511e-05/10.62, allocations: 60.19 kB / 3.871 GB, free: 129.6 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001007/10.62, allocations: 491.7 kB / 3.871 GB, free: 129.1 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0002037/10.62, allocations: 25.7 kB / 3.871 GB, free: 129.1 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001927/10.62, allocations: 360 kB / 3.872 GB, free: 128.7 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.000367/10.62, allocations: 283.7 kB / 3.872 GB, free: 128.4 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.372e-05/10.62, allocations: 3.75 kB / 3.872 GB, free: 128.4 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001525/10.62, allocations: 386.8 kB / 3.872 GB, free: 128 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008785/10.62, allocations: 349.5 kB / 3.873 GB, free: 127.7 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009878/10.62, allocations: 482.3 kB / 3.873 GB, free: 127.2 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001446/10.63, allocations: 446.8 kB / 3.874 GB, free: 126.7 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.609e-06/10.63, allocations: 0 / 3.874 GB, free: 126.7 MB / 0.8698 GB Notification: Performance of matching and sorting (n=97) (initialization): time 0.003135/10.63, allocations: 1.02 MB / 3.875 GB, free: 125.7 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 2.061e-05/10.63, allocations: 10.78 kB / 3.875 GB, free: 125.7 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.282e-05/10.63, allocations: 0 / 3.875 GB, free: 125.7 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003011/10.63, allocations: 52.91 kB / 3.875 GB, free: 125.6 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00168/10.63, allocations: 167.8 kB / 3.875 GB, free: 125.5 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007475/10.63, allocations: 0.6178 MB / 3.875 GB, free: 124.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002271/10.63, allocations: 79.66 kB / 3.876 GB, free: 124.8 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001185/10.63, allocations: 32.05 kB / 3.876 GB, free: 124.7 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (92): * Single equations (assignments): 91 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 5} Notification: Performance of prepare postOptimizeDAE: time 0.0002986/10.64, allocations: 112.9 kB / 3.876 GB, free: 124.6 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002467/10.64, allocations: 86.97 kB / 3.876 GB, free: 124.5 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003275/10.64, allocations: 0.9896 MB / 3.877 GB, free: 123.5 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.425e-05/10.64, allocations: 10.72 kB / 3.877 GB, free: 123.5 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.508e-06/10.64, allocations: 7.906 kB / 3.877 GB, free: 123.5 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00212/10.64, allocations: 0.9676 MB / 3.878 GB, free: 122.5 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005798/10.65, allocations: 2.097 MB / 3.88 GB, free: 120.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.295e-06/10.65, allocations: 224 / 3.88 GB, free: 120.4 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002203/10.65, allocations: 210.5 kB / 3.88 GB, free: 120.2 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.759e-05/10.65, allocations: 7.938 kB / 3.88 GB, free: 120.2 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001326/10.65, allocations: 15.98 kB / 3.88 GB, free: 120.2 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.414e-06/10.65, allocations: 0 / 3.88 GB, free: 120.2 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.499e-06/10.65, allocations: 7.562 kB / 3.88 GB, free: 120.2 MB / 0.8698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003667/10.65, allocations: 1.565 MB / 3.881 GB, free: 118.6 MB / 0.8698 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.007394/10.66, allocations: 2.63 MB / 3.884 GB, free: 115.9 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001834/10.66, allocations: 268 kB / 3.884 GB, free: 115.7 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007236/10.66, allocations: 4 kB / 3.884 GB, free: 115.7 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003075/10.67, allocations: 75.02 kB / 3.884 GB, free: 115.6 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002486/10.67, allocations: 44.7 kB / 3.884 GB, free: 115.6 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002069/10.67, allocations: 31.67 kB / 3.884 GB, free: 115.5 MB / 0.8698 GB Notification: Performance of sort global known variables: time 0.00104/10.67, allocations: 387.2 kB / 3.885 GB, free: 115.2 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.004822/10.67, allocations: 0.6874 MB / 3.886 GB, free: 114.5 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 8 (volEas.dynBal.U,volEas.dynBal.m,volEas.dynBal.mXi[1],oriOutBot.mExc,oriOutTop.mExc,volOut.dynBal.U,volOut.dynBal.m,volOut.dynBal.mXi[1]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (83): * Single equations (assignments): 83 * 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 Backend phase and start with SimCode phase: time 0.003542/10.68, allocations: 2.238 MB / 3.888 GB, free: 112.6 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.00232/10.68, allocations: 0.8676 MB / 3.889 GB, free: 111.8 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 5.69e-06/10.68, allocations: 0 / 3.889 GB, free: 111.8 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0009255/10.68, allocations: 458.8 kB / 3.889 GB, free: 111.3 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004706/10.68, allocations: 0.4899 MB / 3.889 GB, free: 110.9 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006294/10.69, allocations: 1.938 MB / 3.891 GB, free: 109.1 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001572/10.69, allocations: 1.276 MB / 3.893 GB, free: 107.8 MB / 0.8698 GB Notification: Performance of SimCode: time 1.653e-06/10.69, allocations: 0 / 3.893 GB, free: 107.8 MB / 0.8698 GB