Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.HeatExchangers.Examples.DryCoilDiscretized.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.HeatExchangers.Examples.DryCoilDiscretized,fileNamePrefix="Buildings_7_0_0_Buildings_Fluid_HeatExchangers_Examples_DryCoilDiscretized",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.168/2.168, allocations: 248.6 MB / 255.9 MB, free: 7.121 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.001599/0.001599, allocations: 195.6 kB / 315.1 MB, free: 4.262 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.828/1.828, 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.001357/0.001357, allocations: 91.33 kB / 0.67 GB, free: 5.566 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.5092/0.5106, allocations: 112.4 MB / 0.7797 GB, free: 103.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2069/0.7175, allocations: 106.2 MB / 0.8835 GB, free: 13.37 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.338/7.055, allocations: 2.472 GB / 3.355 GB, free: 239.9 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003308/7.056, allocations: 87.08 kB / 3.355 GB, free: 239.9 MB / 0.8698 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/Fluid/Movers/BaseClasses/IdealSource.mo:14:3-22:27:writable] Error: The conditional expression control_m_flow could not be evaluated. Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1612 * Number of variables: 1612 Notification: Performance of Generate backend data structure: time 26.07/33.13, allocations: 5.274 GB / 8.629 GB, free: 82.49 MB / 0.9792 GB Notification: Performance of prepare preOptimizeDAE: time 5.712e-05/33.13, allocations: 8.625 kB / 8.629 GB, free: 82.49 MB / 0.9792 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02987/33.16, allocations: 1.869 MB / 8.631 GB, free: 82 MB / 0.9792 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.07981/33.24, allocations: 15.17 MB / 8.646 GB, free: 80.81 MB / 0.9792 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007933/33.24, allocations: 201.5 kB / 8.646 GB, free: 80.81 MB / 0.9792 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005815/33.25, allocations: 391.2 kB / 8.647 GB, free: 80.8 MB / 0.9792 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.04814/33.29, allocations: 10.13 MB / 8.656 GB, free: 80.77 MB / 0.9792 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05769/33.35, allocations: 10.68 MB / 8.667 GB, free: 80.2 MB / 0.9792 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007365/33.35, allocations: 16.47 kB / 8.667 GB, free: 80.2 MB / 0.9792 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004852/33.36, allocations: 7.281 kB / 8.667 GB, free: 80.2 MB / 0.9792 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005961/33.36, allocations: 306.4 kB / 8.667 GB, free: 80.18 MB / 0.9792 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.145/33.5, allocations: 51.72 MB / 8.718 GB, free: 61.66 MB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01757/33.52, allocations: 6.803 MB / 8.724 GB, free: 61.49 MB / 0.9792 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01182/33.53, allocations: 4.431 MB / 8.729 GB, free: 61.45 MB / 0.9792 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001741/33.54, allocations: 1.018 MB / 8.73 GB, free: 60.42 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001022/33.54, allocations: 90.03 kB / 8.73 GB, free: 60.38 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=369): time 7.163e-06/33.54, allocations: 2.406 kB / 8.73 GB, free: 60.38 MB / 0.9792 GB Notification: Performance of matching and sorting (n=375): time 0.07336/33.61, allocations: 15.76 MB / 8.745 GB, free: 58.42 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.182e-05/33.61, allocations: 89.8 kB / 8.745 GB, free: 58.35 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02297/33.63, allocations: 7.828 MB / 8.753 GB, free: 58 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 0.001582/33.63, allocations: 31.77 kB / 8.753 GB, free: 57.96 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 0.005203/33.64, allocations: 2.377 MB / 8.755 GB, free: 56.78 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 0.007613/33.65, allocations: 1.274 MB / 8.756 GB, free: 55.93 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001087/33.65, allocations: 2.344 kB / 8.756 GB, free: 55.93 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 0.0006077/33.65, allocations: 495.8 kB / 8.757 GB, free: 55.62 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00881/33.66, allocations: 3.29 MB / 8.76 GB, free: 55.61 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01048/33.67, allocations: 4.511 MB / 8.765 GB, free: 54.53 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0116/33.68, allocations: 4.339 MB / 8.769 GB, free: 54.47 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.99e-05/33.68, allocations: 8.25 kB / 8.769 GB, free: 54.47 MB / 0.9792 GB Notification: Performance of matching and sorting (n=490) (initialization): time 0.02749/33.71, allocations: 8.289 MB / 8.777 GB, free: 54.05 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 0.00211/33.71, allocations: 9.101 MB / 8.786 GB, free: 44.82 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000167/33.71, allocations: 18.38 kB / 8.786 GB, free: 44.82 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001324/33.71, allocations: 227.6 kB / 8.786 GB, free: 44.81 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01102/33.72, allocations: 1.048 MB / 8.787 GB, free: 44.81 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005862/33.73, allocations: 2.625 MB / 8.79 GB, free: 43.61 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0175/33.74, allocations: 0.8923 MB / 8.79 GB, free: 43.55 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001856/33.75, allocations: 164.9 kB / 8.791 GB, free: 43.55 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 1.373e-05/33.75, allocations: 3.25 kB / 8.791 GB, free: 43.55 MB / 0.9792 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02546/33.77, allocations: 7.65 MB / 8.798 GB, free: 43.46 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001008/33.77, allocations: 20.16 kB / 8.798 GB, free: 43.46 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001069/33.77, allocations: 230.2 kB / 8.798 GB, free: 43.45 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01065/33.78, allocations: 1.046 MB / 8.799 GB, free: 43.45 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005117/33.79, allocations: 2.625 MB / 8.802 GB, free: 42.25 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0165/33.81, allocations: 0.8703 MB / 8.803 GB, free: 42.2 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001677/33.81, allocations: 170.7 kB / 8.803 GB, free: 42.2 MB / 0.9792 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 83 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (482): * Single equations (assignments): 481 * 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: 1 {(1,100.0%) 8} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003755/33.81, allocations: 192 kB / 8.803 GB, free: 42.08 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003222/33.81, allocations: 0.6158 MB / 8.804 GB, free: 41.76 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03033/33.85, allocations: 7.881 MB / 8.811 GB, free: 39.97 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.553e-05/33.85, allocations: 36 kB / 8.811 GB, free: 39.94 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.541e-05/33.85, allocations: 1.969 kB / 8.811 GB, free: 39.94 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01903/33.86, allocations: 6.624 MB / 8.818 GB, free: 34.19 MB / 0.9792 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06201/33.93, allocations: 19.23 MB / 8.837 GB, free: 18.43 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.996e-05/33.93, allocations: 7.906 kB / 8.837 GB, free: 18.43 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01065/33.94, allocations: 1.015 MB / 8.838 GB, free: 17.65 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001071/33.94, allocations: 206.9 kB / 8.838 GB, free: 17.49 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001264/33.94, allocations: 72.08 kB / 8.838 GB, free: 17.43 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004452/33.94, allocations: 2.597 MB / 8.84 GB, free: 15 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.12e-05/33.94, allocations: 5.031 kB / 8.84 GB, free: 15 MB / 0.9792 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.03118/33.98, allocations: 12.8 MB / 8.853 GB, free: 3.676 MB / 0.9792 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.05663/34.03, allocations: 18.56 MB / 8.871 GB, free: 3.41 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01109/34.04, allocations: 2.172 MB / 8.873 GB, free: 1.402 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004054/34.05, allocations: 54.41 kB / 8.873 GB, free: 1.359 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01481/34.06, allocations: 0.7633 MB / 8.874 GB, free: 0.8906 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001622/34.06, allocations: 200.9 kB / 8.874 GB, free: 0.7734 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001335/34.07, allocations: 137 kB / 8.874 GB, free: 0.6602 MB / 0.9948 GB Notification: Performance of sort global known variables: time 0.04894/34.11, allocations: 7.717 MB / 8.882 GB, free: 15.14 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.04787/34.16, allocations: 5.475 MB / 8.887 GB, free: 9.699 MB / 1.01 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 25 (hex.hexReg[1].ele[1,1].vol1.dynBal.U,hex.hexReg[1].ele[1,1].vol2.dynBal.U,hex.hexReg[1].ele[1,1].vol2.dynBal.mXi[1],hex.hexReg[1].ele[1,1].mas.T,hex.hexReg[1].ele[1,2].vol1.dynBal.U,hex.hexReg[1].ele[1,2].vol2.dynBal.U,hex.hexReg[1].ele[1,2].vol2.dynBal.mXi[1],hex.hexReg[1].ele[1,2].mas.T,hex.hexReg[1].ele[1,3].vol1.dynBal.U,hex.hexReg[1].ele[1,3].vol2.dynBal.U,hex.hexReg[1].ele[1,3].vol2.dynBal.mXi[1],hex.hexReg[1].ele[1,3].mas.T,hex.hexReg[2].ele[1,1].vol1.dynBal.U,hex.hexReg[2].ele[1,1].vol2.dynBal.U,hex.hexReg[2].ele[1,1].vol2.dynBal.mXi[1],hex.hexReg[2].ele[1,1].mas.T,hex.hexReg[2].ele[1,2].vol1.dynBal.U,hex.hexReg[2].ele[1,2].vol2.dynBal.U,hex.hexReg[2].ele[1,2].vol2.dynBal.mXi[1],hex.hexReg[2].ele[1,2].mas.T,hex.hexReg[2].ele[1,3].vol1.dynBal.U,hex.hexReg[2].ele[1,3].vol2.dynBal.U,hex.hexReg[2].ele[1,3].vol2.dynBal.m,hex.hexReg[2].ele[1,3].vol2.dynBal.mXi[1],hex.hexReg[2].ele[1,3].mas.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (378): * Single equations (assignments): 373 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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: 1 {(1,100.0%) 8} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0158/34.18, allocations: 4.662 MB / 8.892 GB, free: 5.98 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.6252/34.8, allocations: 11.84 MB / 8.903 GB, free: 180.6 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 1.667e-05/34.8, allocations: 3.25 kB / 8.903 GB, free: 180.6 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.009097/34.81, allocations: 3.527 MB / 8.907 GB, free: 180.5 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.04962/34.86, allocations: 4.435 MB / 8.911 GB, free: 180.4 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0918/34.95, allocations: 21.38 MB / 8.932 GB, free: 177.8 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.02582/34.98, allocations: 7.815 MB / 8.94 GB, free: 176.9 MB / 1.01 GB Notification: Performance of SimCode: time 1.844e-06/34.98, allocations: 0 / 8.94 GB, free: 176.9 MB / 1.01 GB