Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal.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.Validation.PlugFlowPipes.FlowReversal,fileNamePrefix="Buildings_7_0_0_Buildings_Fluid_FixedResistances_Validation_PlugFlowPipes_FlowReversal",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.293/2.293, allocations: 248.6 MB / 255.9 MB, free: 7.109 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.001677/0.001676, allocations: 183.9 kB / 315.1 MB, free: 4.266 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.874/1.874, allocations: 205.1 MB / 0.5658 GB, free: 368 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.001316/0.001315, allocations: 88.83 kB / 0.67 GB, free: 5.574 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.5232/0.5245, allocations: 112.4 MB / 0.7797 GB, free: 103.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2181/0.7427, allocations: 106.2 MB / 0.8835 GB, free: 13.35 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.494/2.236, allocations: 432.5 MB / 1.306 GB, free: 241.6 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003313/2.237, allocations: 96.47 kB / 1.306 GB, free: 241.6 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: 168 * Number of variables: 168 Notification: Performance of Generate backend data structure: time 1.866/4.103, allocations: 455.3 MB / 1.751 GB, free: 166.5 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.389e-05/4.103, allocations: 12 kB / 1.751 GB, free: 166.5 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006696/4.104, allocations: 130.5 kB / 1.751 GB, free: 166.4 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03328/4.137, allocations: 9.03 MB / 1.76 GB, free: 157.5 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.866e-05/4.137, allocations: 20 kB / 1.76 GB, free: 157.5 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001543/4.137, allocations: 40 kB / 1.76 GB, free: 157.5 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001486/4.139, allocations: 463.2 kB / 1.76 GB, free: 157 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001534/4.14, allocations: 0.6327 MB / 1.761 GB, free: 156.3 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.531e-05/4.14, allocations: 3.938 kB / 1.761 GB, free: 156.3 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.797e-05/4.14, allocations: 0 / 1.761 GB, free: 156.3 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.619e-05/4.14, allocations: 20 kB / 1.761 GB, free: 156.3 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006844/4.147, allocations: 4.345 MB / 1.765 GB, free: 151.7 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007131/4.148, allocations: 259.1 kB / 1.765 GB, free: 151.4 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004243/4.149, allocations: 196.8 kB / 1.765 GB, free: 151.2 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001504/4.15, allocations: 1.513 MB / 1.767 GB, free: 149.4 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.918e-05/4.15, allocations: 42.5 kB / 1.767 GB, free: 149.3 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=43): time 2.956e-06/4.15, allocations: 0 / 1.767 GB, free: 149.3 MB / 0.8698 GB Notification: Performance of matching and sorting (n=43): time 0.003567/4.154, allocations: 0.6348 MB / 1.768 GB, free: 148.7 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.766e-05/4.154, allocations: 55.41 kB / 1.768 GB, free: 148.6 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001411/4.155, allocations: 0.6494 MB / 1.768 GB, free: 148 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001344/4.155, allocations: 29.7 kB / 1.768 GB, free: 147.9 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002273/4.156, allocations: 338.6 kB / 1.769 GB, free: 147.6 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001818/4.156, allocations: 153.7 kB / 1.769 GB, free: 147.5 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.692e-05/4.156, allocations: 0 / 1.769 GB, free: 147.5 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 7.597e-05/4.156, allocations: 326 kB / 1.769 GB, free: 147.1 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004024/4.156, allocations: 153.1 kB / 1.769 GB, free: 147 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004846/4.157, allocations: 305.5 kB / 1.769 GB, free: 146.6 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001837/4.159, allocations: 327 kB / 1.77 GB, free: 146.3 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.883e-06/4.159, allocations: 0 / 1.77 GB, free: 146.3 MB / 0.8698 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.003532/4.162, allocations: 0.7428 MB / 1.77 GB, free: 145.6 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.000338/4.163, allocations: 1.482 MB / 1.772 GB, free: 144 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.394e-05/4.163, allocations: 8 kB / 1.772 GB, free: 144 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005865/4.163, allocations: 84.8 kB / 1.772 GB, free: 143.9 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000765/4.164, allocations: 106.4 kB / 1.772 GB, free: 143.8 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007353/4.165, allocations: 0.6147 MB / 1.773 GB, free: 143.2 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001454/4.166, allocations: 82.12 kB / 1.773 GB, free: 143.1 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001451/4.167, allocations: 32.06 kB / 1.773 GB, free: 143.1 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.209e-05/4.167, allocations: 4 kB / 1.773 GB, free: 143.1 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00333/4.17, allocations: 0.6252 MB / 1.773 GB, free: 142.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.87e-05/4.17, allocations: 4 kB / 1.773 GB, free: 142.4 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005018/4.17, allocations: 79.41 kB / 1.774 GB, free: 142.3 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007187/4.171, allocations: 111.1 kB / 1.774 GB, free: 142.2 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006707/4.172, allocations: 0.6183 MB / 1.774 GB, free: 141.6 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001365/4.173, allocations: 74.09 kB / 1.774 GB, free: 141.5 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001153/4.173, allocations: 27.98 kB / 1.774 GB, free: 141.5 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (59): * Single equations (assignments): 56 * 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: 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 3} Notification: Performance of prepare postOptimizeDAE: time 0.0002154/4.174, allocations: 120.8 kB / 1.774 GB, free: 141.4 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002932/4.174, allocations: 90.88 kB / 1.775 GB, free: 141.3 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004323/4.178, allocations: 1.11 MB / 1.776 GB, free: 140.2 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.777e-05/4.178, allocations: 11.98 kB / 1.776 GB, free: 140.2 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.866e-06/4.178, allocations: 3.406 kB / 1.776 GB, free: 140.2 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002677/4.181, allocations: 0.9222 MB / 1.777 GB, free: 139.2 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005497/4.187, allocations: 1.775 MB / 1.778 GB, free: 137.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.328e-05/4.187, allocations: 0 / 1.778 GB, free: 137.4 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006199/4.187, allocations: 83.89 kB / 1.778 GB, free: 137.3 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002494/4.188, allocations: 48.75 kB / 1.778 GB, free: 137.3 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.733e-05/4.188, allocations: 11.98 kB / 1.778 GB, free: 137.3 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005664/4.188, allocations: 0.61 MB / 1.779 GB, free: 136.6 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.068e-06/4.188, allocations: 0 / 1.779 GB, free: 136.6 MB / 0.8698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003796/4.192, allocations: 1.275 MB / 1.78 GB, free: 135.3 MB / 0.8698 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.004696/4.197, allocations: 2.038 MB / 1.782 GB, free: 133.2 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007738/4.198, allocations: 273.5 kB / 1.782 GB, free: 133 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002338/4.198, allocations: 0 / 1.782 GB, free: 133 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001037/4.199, allocations: 64.91 kB / 1.783 GB, free: 132.9 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001233/4.199, allocations: 32.45 kB / 1.783 GB, free: 132.9 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.951e-05/4.199, allocations: 23.98 kB / 1.783 GB, free: 132.9 MB / 0.8698 GB Notification: Performance of sort global known variables: time 0.0009704/4.2, allocations: 0.4952 MB / 1.783 GB, free: 132.4 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.004821/4.205, allocations: 0.8188 MB / 1.784 GB, free: 131.5 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (pip.cor.del.x,pip.cor.timDel.x,pip.vol.dynBal.U) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (55): * Single equations (assignments): 40 * 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: 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 Backend phase and start with SimCode phase: time 0.00176/4.207, allocations: 0.7389 MB / 1.785 GB, free: 130.9 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.002185/4.209, allocations: 0.8972 MB / 1.785 GB, free: 130 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 4.588e-06/4.209, allocations: 320 / 1.785 GB, free: 130 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0007241/4.21, allocations: 377.3 kB / 1.786 GB, free: 129.6 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003373/4.213, allocations: 377.5 kB / 1.786 GB, free: 129.2 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00393/4.217, allocations: 1.363 MB / 1.788 GB, free: 127.8 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001063/4.218, allocations: 1.183 MB / 1.789 GB, free: 126.6 MB / 0.8698 GB Notification: Performance of SimCode: time 1.333e-06/4.218, allocations: 0 / 1.789 GB, free: 126.6 MB / 0.8698 GB