Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipe.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.FixedResistances.Examples.PlugFlowPipe,fileNamePrefix="Buildings_7_0_0_Buildings_Fluid_FixedResistances_Examples_PlugFlowPipe",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.192/2.192, 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.001658/0.001658, allocations: 186.8 kB / 315.1 MB, free: 4.289 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.938/1.938, allocations: 205.1 MB / 0.5658 GB, free: 408 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.00123/0.00123, allocations: 90.95 kB / 0.67 GB, free: 5.617 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.4806/0.4819, allocations: 112.4 MB / 0.7797 GB, free: 103.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2343/0.7162, allocations: 106.3 MB / 0.8835 GB, free: 13.4 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.491/2.207, allocations: 433.1 MB / 1.306 GB, free: 241.4 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004942/2.208, allocations: 91.16 kB / 1.307 GB, free: 241.4 MB / 0.8542 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 170 * Number of variables: 170 Notification: Performance of Generate backend data structure: time 2.044/4.252, allocations: 455.6 MB / 1.751 GB, free: 165.9 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.521e-05/4.252, allocations: 8 kB / 1.751 GB, free: 165.9 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005763/4.253, allocations: 134.5 kB / 1.752 GB, free: 165.7 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03371/4.286, allocations: 9.017 MB / 1.76 GB, free: 156.9 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.715e-05/4.286, allocations: 24 kB / 1.76 GB, free: 156.9 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001576/4.287, allocations: 40 kB / 1.76 GB, free: 156.8 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001577/4.288, allocations: 495.1 kB / 1.761 GB, free: 156.4 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001638/4.29, allocations: 0.6288 MB / 1.762 GB, free: 155.7 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.39e-05/4.29, allocations: 0 / 1.762 GB, free: 155.7 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.59e-05/4.29, allocations: 3.156 kB / 1.762 GB, free: 155.7 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.203e-05/4.29, allocations: 27.84 kB / 1.762 GB, free: 155.7 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008623/4.299, allocations: 3.939 MB / 1.765 GB, free: 151.5 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007863/4.299, allocations: 281.3 kB / 1.766 GB, free: 151.2 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000433/4.3, allocations: 188.8 kB / 1.766 GB, free: 151 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001438/4.301, allocations: 1.521 MB / 1.767 GB, free: 149.2 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.486e-05/4.301, allocations: 38.47 kB / 1.767 GB, free: 149.1 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=44): time 3.466e-06/4.301, allocations: 0 / 1.767 GB, free: 149.1 MB / 0.8698 GB Notification: Performance of matching and sorting (n=44): time 0.003027/4.304, allocations: 0.5725 MB / 1.768 GB, free: 148.6 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.294e-05/4.305, allocations: 62.48 kB / 1.768 GB, free: 148.5 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001353/4.306, allocations: 0.6652 MB / 1.769 GB, free: 147.8 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 9.117e-05/4.306, allocations: 25.7 kB / 1.769 GB, free: 147.8 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002324/4.306, allocations: 347.4 kB / 1.769 GB, free: 147.4 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001807/4.306, allocations: 153.6 kB / 1.769 GB, free: 147.3 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.133e-05/4.307, allocations: 0 / 1.769 GB, free: 147.3 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001208/4.307, allocations: 330 kB / 1.769 GB, free: 147 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004419/4.307, allocations: 164.5 kB / 1.77 GB, free: 146.8 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005121/4.308, allocations: 295.8 kB / 1.77 GB, free: 146.5 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002016/4.31, allocations: 356.4 kB / 1.77 GB, free: 146.1 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.565e-06/4.31, allocations: 4 kB / 1.77 GB, free: 146.1 MB / 0.8698 GB Notification: Performance of matching and sorting (n=68) (initialization): time 0.003011/4.313, allocations: 0.7012 MB / 1.771 GB, free: 145.4 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002485/4.313, allocations: 1.137 MB / 1.772 GB, free: 144.2 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.104e-05/4.313, allocations: 4 kB / 1.772 GB, free: 144.2 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.768e-05/4.313, allocations: 4 kB / 1.772 GB, free: 144.2 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009249/4.314, allocations: 134.2 kB / 1.772 GB, free: 144.1 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.215e-05/4.314, allocations: 11.94 kB / 1.772 GB, free: 144.1 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001396/4.315, allocations: 77.33 kB / 1.772 GB, free: 144 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001243/4.316, allocations: 31.98 kB / 1.772 GB, free: 144 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.292e-05/4.316, allocations: 4 kB / 1.772 GB, free: 144 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002771/4.318, allocations: 0.5796 MB / 1.773 GB, free: 143.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.868e-05/4.318, allocations: 11.92 kB / 1.773 GB, free: 143.4 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.462e-05/4.319, allocations: 8 kB / 1.773 GB, free: 143.4 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009293/4.319, allocations: 119.9 kB / 1.773 GB, free: 143.2 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.036e-05/4.319, allocations: 11.12 kB / 1.773 GB, free: 143.2 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001241/4.321, allocations: 64.83 kB / 1.773 GB, free: 143.2 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001042/4.321, allocations: 35.98 kB / 1.773 GB, free: 143.1 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (66): * Single equations (assignments): 64 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.0002152/4.321, allocations: 119.7 kB / 1.773 GB, free: 143 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001996/4.321, allocations: 90.88 kB / 1.773 GB, free: 142.9 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003768/4.325, allocations: 1.051 MB / 1.774 GB, free: 141.9 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.324e-05/4.325, allocations: 8 kB / 1.774 GB, free: 141.9 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.875e-06/4.325, allocations: 0 / 1.774 GB, free: 141.9 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002232/4.327, allocations: 0.8722 MB / 1.775 GB, free: 141 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005337/4.333, allocations: 1.856 MB / 1.777 GB, free: 139 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.282e-05/4.333, allocations: 11.08 kB / 1.777 GB, free: 139 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008291/4.334, allocations: 95.89 kB / 1.777 GB, free: 138.9 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.249e-05/4.334, allocations: 4 kB / 1.777 GB, free: 138.9 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.901e-05/4.334, allocations: 15.98 kB / 1.777 GB, free: 138.9 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.414e-06/4.334, allocations: 4 kB / 1.777 GB, free: 138.9 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.272e-06/4.334, allocations: 9.781 kB / 1.777 GB, free: 138.9 MB / 0.8698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003319/4.337, allocations: 1.27 MB / 1.778 GB, free: 137.6 MB / 0.8698 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.004452/4.342, allocations: 2.032 MB / 1.78 GB, free: 135.5 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007948/4.342, allocations: 263.7 kB / 1.781 GB, free: 135.2 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002292/4.343, allocations: 4 kB / 1.781 GB, free: 135.2 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001003/4.344, allocations: 39.81 kB / 1.781 GB, free: 135.1 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001229/4.344, allocations: 36.44 kB / 1.781 GB, free: 135.1 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.325e-05/4.344, allocations: 27.98 kB / 1.781 GB, free: 135.1 MB / 0.8698 GB Notification: Performance of sort global known variables: time 0.001005/4.345, allocations: 0.5148 MB / 1.781 GB, free: 134.6 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.00525/4.35, allocations: 0.8267 MB / 1.782 GB, free: 133.7 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 5 (pip.cor.del.x,pip.cor.timDel.x,pip.vol.dynBal.U,senTemOut.T,senTemIn.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (61): * Single equations (assignments): 47 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 14 * 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.002058/4.352, allocations: 0.7446 MB / 1.783 GB, free: 133.1 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.002066/4.354, allocations: 0.8945 MB / 1.784 GB, free: 132.2 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 5.601e-06/4.355, allocations: 0 / 1.784 GB, free: 132.2 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0007528/4.355, allocations: 369.9 kB / 1.784 GB, free: 131.8 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003614/4.359, allocations: 377.4 kB / 1.784 GB, free: 131.4 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004629/4.364, allocations: 1.525 MB / 1.786 GB, free: 129.9 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001208/4.365, allocations: 1.206 MB / 1.787 GB, free: 128.7 MB / 0.8698 GB Notification: Performance of SimCode: time 1.522e-06/4.365, allocations: 0 / 1.787 GB, free: 128.7 MB / 0.8698 GB