Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves.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.Movers.Examples.SpeedControlled_y_pumpCurves,fileNamePrefix="Buildings_7_0_0_Buildings_Fluid_Movers_Examples_SpeedControlled_y_pumpCurves",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.302/2.302, allocations: 248.6 MB / 255.9 MB, free: 348 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.001702/0.001702, allocations: 185.4 kB / 315.1 MB, free: 7.738 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.134/2.134, allocations: 205.1 MB / 0.5658 GB, free: 25.44 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.001305/0.001305, allocations: 87.19 kB / 0.67 GB, free: 2.914 MB / 0.4948 GB Notification: Performance of FrontEnd - loaded program: time 0.2831/0.2845, allocations: 112.4 MB / 0.7797 GB, free: 2.441 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4952/0.7797, allocations: 106.2 MB / 0.8835 GB, free: 77.24 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.029/1.809, allocations: 434.4 MB / 1.308 GB, free: 6.422 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004188/1.81, allocations: 88.52 kB / 1.308 GB, free: 6.379 MB / 0.823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 529 * Number of variables: 529 Notification: Performance of Generate backend data structure: time 6.717/8.527, allocations: 1.405 GB / 2.713 GB, free: 26.01 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 4.399e-05/8.527, allocations: 8 kB / 2.713 GB, free: 26 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01211/8.539, allocations: 1.216 MB / 2.714 GB, free: 24.78 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1081/8.647, allocations: 27.9 MB / 2.741 GB, free: 12.62 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002426/8.647, allocations: 75.94 kB / 2.741 GB, free: 12.55 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001271/8.648, allocations: 144 kB / 2.741 GB, free: 12.41 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.008147/8.657, allocations: 1.914 MB / 2.743 GB, free: 10.49 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009876/8.667, allocations: 2.289 MB / 2.746 GB, free: 8.062 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.772e-05/8.667, allocations: 4 kB / 2.746 GB, free: 8.059 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006194/8.667, allocations: 4 kB / 2.746 GB, free: 8.055 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.546e-05/8.667, allocations: 48 kB / 2.746 GB, free: 8.008 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.494/9.161, allocations: 12.04 MB / 2.757 GB, free: 158.2 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005282/9.167, allocations: 1.943 MB / 2.759 GB, free: 158.2 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002198/9.169, allocations: 0.8407 MB / 2.76 GB, free: 158.2 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0115/9.181, allocations: 3.968 MB / 2.764 GB, free: 156.4 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.025e-05/9.181, allocations: 44.75 kB / 2.764 GB, free: 156.3 MB / 0.948 GB Notification: Performance of pre-optimization done (n=119): time 4.708e-06/9.181, allocations: 0 / 2.764 GB, free: 156.3 MB / 0.948 GB Notification: Performance of matching and sorting (n=119): time 0.01404/9.195, allocations: 2.807 MB / 2.767 GB, free: 156.2 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.203e-05/9.195, allocations: 63.75 kB / 2.767 GB, free: 156.2 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00737/9.202, allocations: 2.6 MB / 2.769 GB, free: 155.9 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0007993/9.203, allocations: 29.39 kB / 2.769 GB, free: 155.9 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001414/9.204, allocations: 1.028 MB / 2.77 GB, free: 155.6 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.001112/9.206, allocations: 405.2 kB / 2.771 GB, free: 155.4 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002738/9.206, allocations: 0 / 2.771 GB, free: 155.4 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0002126/9.206, allocations: 377.6 kB / 2.771 GB, free: 155.1 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002543/9.209, allocations: 0.8434 MB / 2.772 GB, free: 155.1 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003193/9.212, allocations: 1.63 MB / 2.774 GB, free: 154.1 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006879/9.219, allocations: 1.279 MB / 2.775 GB, free: 154.1 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.861e-05/9.219, allocations: 10.16 kB / 2.775 GB, free: 154.1 MB / 0.948 GB Notification: Performance of matching and sorting (n=247) (initialization): time 0.01506/9.234, allocations: 3.373 MB / 2.778 GB, free: 153.8 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.001921/9.236, allocations: 8.05 MB / 2.786 GB, free: 145.5 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.476e-05/9.236, allocations: 16.66 kB / 2.786 GB, free: 145.5 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003677/9.24, allocations: 0.8695 MB / 2.787 GB, free: 145.4 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003569/9.243, allocations: 401.1 kB / 2.787 GB, free: 145.4 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007671/9.251, allocations: 5.946 MB / 2.793 GB, free: 141.2 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005833/9.257, allocations: 304.8 kB / 2.793 GB, free: 141.2 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001012/9.258, allocations: 185.5 kB / 2.793 GB, free: 141.2 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.891e-05/9.258, allocations: 3.656 kB / 2.793 GB, free: 141.2 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01383/9.272, allocations: 2.827 MB / 2.796 GB, free: 141.1 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.608e-05/9.272, allocations: 17.56 kB / 2.796 GB, free: 141.1 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004843/9.277, allocations: 1.035 MB / 2.797 GB, free: 141 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003233/9.28, allocations: 375.6 kB / 2.798 GB, free: 141 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03079/9.311, allocations: 13.87 MB / 2.811 GB, free: 133.4 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005177/9.316, allocations: 250 kB / 2.811 GB, free: 133.3 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008495/9.317, allocations: 156 kB / 2.812 GB, free: 133.3 MB / 0.948 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: pum3.vol.heaFloSen.Q_flow:VARIABLE(unit = "W" protected = true ) "Heat flow from port_a to port_b as output signal" type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: pum2.vol.heaFloSen.Q_flow:VARIABLE(unit = "W" protected = true ) "Heat flow from port_a to port_b as output signal" type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: pum1.vol.heaFloSen.Q_flow:VARIABLE(unit = "W" protected = true ) "Heat flow from port_a to port_b as output signal" type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: pum.vol.heaFloSen.Q_flow:VARIABLE(unit = "W" protected = true ) "Heat flow from port_a to port_b as output signal" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 81 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (191): * Single equations (assignments): 179 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 8 {1 4,1 5,1 4,1 5,1 4,1 5,1 4,1 5} Notification: Performance of prepare postOptimizeDAE: time 0.001357/9.319, allocations: 184.4 kB / 2.812 GB, free: 133.2 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001242/9.32, allocations: 345.2 kB / 2.812 GB, free: 133 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01489/9.335, allocations: 2.953 MB / 2.815 GB, free: 132.8 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.909e-05/9.335, allocations: 18.45 kB / 2.815 GB, free: 132.8 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.025e-05/9.335, allocations: 3.938 kB / 2.815 GB, free: 132.8 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.441e-05/9.335, allocations: 7.781 kB / 2.815 GB, free: 132.8 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02063/9.356, allocations: 4.831 MB / 2.82 GB, free: 132.3 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.614e-05/9.356, allocations: 0 / 2.82 GB, free: 132.3 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002344/9.358, allocations: 222.9 kB / 2.82 GB, free: 132.3 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002233/9.36, allocations: 0.5547 MB / 2.82 GB, free: 132.3 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003885/9.361, allocations: 38.28 kB / 2.82 GB, free: 132.3 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005355/9.366, allocations: 5.189 MB / 2.826 GB, free: 128.1 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.412e-05/9.366, allocations: 5.203 kB / 2.826 GB, free: 128.1 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0124/9.379, allocations: 2.673 MB / 2.828 GB, free: 127.5 MB / 0.948 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.01207/9.391, allocations: 3.26 MB / 2.831 GB, free: 126.5 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002767/9.394, allocations: 0.6079 MB / 2.832 GB, free: 126.2 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001418/9.395, allocations: 3.719 kB / 2.832 GB, free: 126.2 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004835/9.4, allocations: 185.2 kB / 2.832 GB, free: 126.2 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004708/9.401, allocations: 86.06 kB / 2.832 GB, free: 126.2 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003283/9.401, allocations: 85.62 kB / 2.832 GB, free: 126.2 MB / 0.948 GB Notification: Performance of sort global known variables: time 0.009496/9.41, allocations: 1.941 MB / 2.834 GB, free: 126 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.02267/9.433, allocations: 2.457 MB / 2.837 GB, free: 125.9 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (109): * Single equations (assignments): 91 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 10 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 8 {1 4,1 4,1 4,1 4,1 6,1 6,1 6,1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.00604/9.439, allocations: 2.286 MB / 2.839 GB, free: 125.4 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.01205/9.451, allocations: 3.912 MB / 2.843 GB, free: 124.9 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 9.468e-06/9.451, allocations: 3.812 kB / 2.843 GB, free: 124.9 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0034/9.455, allocations: 0.8547 MB / 2.843 GB, free: 124.9 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01355/9.468, allocations: 1.526 MB / 2.845 GB, free: 124.9 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01815/9.487, allocations: 4.717 MB / 2.85 GB, free: 123.7 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005581/9.492, allocations: 2.604 MB / 2.852 GB, free: 122.9 MB / 0.948 GB Notification: Performance of SimCode: time 1.874e-06/9.492, allocations: 0 / 2.852 GB, free: 122.9 MB / 0.948 GB