Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Examples.DryCoilDiscretized.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) 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.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Examples.DryCoilDiscretized,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_HeatExchangers_Examples_DryCoilDiscretized",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Examples.DryCoilDiscretized,fileNamePrefix="Buildings_maint_7_0_x_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.3-maint.7.0.x/package.mo): time 1.314/1.314, allocations: 249.4 MB / 256.7 MB, free: 7.031 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.001014/0.001014, allocations: 177.3 kB / 316 MB, free: 3.652 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.328/1.328, allocations: 205.1 MB / 0.5667 GB, free: 15.69 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.0009713/0.0009714, allocations: 86.94 kB / 0.671 GB, free: 4.824 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.3785/0.3795, allocations: 112.5 MB / 0.7808 GB, free: 103.1 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1905/0.57, allocations: 106.3 MB / 0.8847 GB, free: 12.61 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.286/4.856, allocations: 2.472 GB / 3.357 GB, free: 259.6 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002084/4.856, allocations: 85.67 kB / 3.357 GB, free: 259.6 MB / 0.8698 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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 15.81/20.67, allocations: 5.274 GB / 8.631 GB, free: 14.39 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 3.41e-05/20.67, allocations: 8 kB / 8.631 GB, free: 14.39 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01368/20.68, allocations: 1.87 MB / 8.633 GB, free: 12.5 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.53/21.21, allocations: 15.18 MB / 8.647 GB, free: 92.19 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000351/21.21, allocations: 198.6 kB / 8.648 GB, free: 92.19 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002923/21.22, allocations: 384.4 kB / 8.648 GB, free: 92.19 MB / 0.9948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02161/21.24, allocations: 10.13 MB / 8.658 GB, free: 92.16 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02903/21.27, allocations: 10.68 MB / 8.668 GB, free: 91.59 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003593/21.27, allocations: 18.09 kB / 8.668 GB, free: 91.59 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002759/21.27, allocations: 7.031 kB / 8.668 GB, free: 91.59 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002894/21.27, allocations: 308.3 kB / 8.669 GB, free: 91.57 MB / 0.9948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0911/21.36, allocations: 51.71 MB / 8.719 GB, free: 73.67 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01188/21.37, allocations: 6.791 MB / 8.726 GB, free: 73.53 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006838/21.38, allocations: 4.435 MB / 8.73 GB, free: 73.5 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001134/21.38, allocations: 1.024 MB / 8.731 GB, free: 72.46 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.736e-05/21.38, allocations: 81.38 kB / 8.731 GB, free: 72.41 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=369): time 9.468e-06/21.38, allocations: 4.531 kB / 8.731 GB, free: 72.41 MB / 0.9948 GB Notification: Performance of matching and sorting (n=375): time 0.03846/21.42, allocations: 15.76 MB / 8.746 GB, free: 70.66 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001312/21.42, allocations: 91.77 kB / 8.747 GB, free: 86.6 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01629/21.44, allocations: 7.823 MB / 8.754 GB, free: 86.25 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 0.001405/21.44, allocations: 32.58 kB / 8.754 GB, free: 86.22 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.003367/21.44, allocations: 2.393 MB / 8.757 GB, free: 85.39 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 0.005249/21.45, allocations: 1.274 MB / 8.758 GB, free: 84.73 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001043/21.45, allocations: 0 / 8.758 GB, free: 84.73 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 0.0005004/21.45, allocations: 497.3 kB / 8.758 GB, free: 84.43 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004589/21.45, allocations: 3.288 MB / 8.761 GB, free: 84.42 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005793/21.46, allocations: 4.511 MB / 8.766 GB, free: 83.33 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006491/21.46, allocations: 4.338 MB / 8.77 GB, free: 83.28 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.04e-05/21.46, allocations: 5.719 kB / 8.77 GB, free: 83.28 MB / 1.01 GB Notification: Performance of matching and sorting (n=490) (initialization): time 0.01579/21.48, allocations: 8.291 MB / 8.778 GB, free: 82.85 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 0.002541/21.48, allocations: 9.106 MB / 8.787 GB, free: 73.62 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.04e-05/21.48, allocations: 20.5 kB / 8.787 GB, free: 73.62 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007358/21.48, allocations: 235.6 kB / 8.787 GB, free: 73.61 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005357/21.49, allocations: 1.044 MB / 8.788 GB, free: 73.61 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003098/21.49, allocations: 2.624 MB / 8.791 GB, free: 72.41 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01022/21.5, allocations: 0.8931 MB / 8.792 GB, free: 72.38 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001533/21.5, allocations: 163.2 kB / 8.792 GB, free: 72.38 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 1.329e-05/21.5, allocations: 5.406 kB / 8.792 GB, free: 72.38 MB / 1.01 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0145/21.52, allocations: 7.65 MB / 8.799 GB, free: 72.29 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.932e-05/21.52, allocations: 16.34 kB / 8.799 GB, free: 72.29 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005956/21.52, allocations: 226.4 kB / 8.8 GB, free: 72.28 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004925/21.52, allocations: 1.048 MB / 8.801 GB, free: 72.28 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003273/21.53, allocations: 2.636 MB / 8.803 GB, free: 71.07 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01026/21.54, allocations: 0.8722 MB / 8.804 GB, free: 71.04 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001519/21.54, allocations: 167.2 kB / 8.804 GB, free: 71.04 MB / 1.01 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.0025/21.54, allocations: 196.8 kB / 8.804 GB, free: 70.93 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002611/21.54, allocations: 0.6039 MB / 8.805 GB, free: 70.62 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01457/21.56, allocations: 7.884 MB / 8.813 GB, free: 70.42 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.638e-05/21.56, allocations: 37.34 kB / 8.813 GB, free: 70.42 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.123e-05/21.56, allocations: 3.281 kB / 8.813 GB, free: 70.42 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.009436/21.57, allocations: 6.626 MB / 8.819 GB, free: 69.88 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0442/21.61, allocations: 19.22 MB / 8.838 GB, free: 68.72 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.454e-05/21.61, allocations: 7.375 kB / 8.838 GB, free: 68.72 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005493/21.62, allocations: 1.015 MB / 8.839 GB, free: 68.72 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006072/21.62, allocations: 206.9 kB / 8.839 GB, free: 68.71 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009191/21.62, allocations: 84.58 kB / 8.839 GB, free: 68.71 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002849/21.62, allocations: 2.589 MB / 8.842 GB, free: 67.51 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.574e-06/21.62, allocations: 7.031 kB / 8.842 GB, free: 67.51 MB / 1.01 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01548/21.64, allocations: 12.79 MB / 8.854 GB, free: 66 MB / 1.01 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.02003/21.66, allocations: 18.53 MB / 8.872 GB, free: 64.09 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.006567/21.66, allocations: 2.174 MB / 8.875 GB, free: 63.68 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002405/21.67, allocations: 55.67 kB / 8.875 GB, free: 63.68 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007697/21.67, allocations: 0.7672 MB / 8.875 GB, free: 63.66 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005687/21.68, allocations: 202.5 kB / 8.876 GB, free: 63.65 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004313/21.68, allocations: 142.1 kB / 8.876 GB, free: 63.65 MB / 1.01 GB Notification: Performance of sort global known variables: time 0.009323/21.69, allocations: 6.152 MB / 8.882 GB, free: 63.43 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.02329/21.71, allocations: 5.47 MB / 8.887 GB, free: 63.43 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.005986/21.71, allocations: 4.652 MB / 8.892 GB, free: 61.6 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.01572/21.73, allocations: 11.59 MB / 8.903 GB, free: 61.29 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 1.553e-05/21.73, allocations: 2.969 kB / 8.903 GB, free: 61.29 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.004647/21.73, allocations: 3.533 MB / 8.906 GB, free: 61.18 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02057/21.76, allocations: 4.436 MB / 8.911 GB, free: 61.11 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05738/21.81, allocations: 21.38 MB / 8.932 GB, free: 58.48 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01307/21.83, allocations: 7.814 MB / 8.939 GB, free: 57.55 MB / 1.01 GB Notification: Performance of SimCode: time 8.92e-07/21.83, allocations: 0 / 8.939 GB, free: 57.55 MB / 1.01 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Examples.DryCoilDiscretized.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Examples.DryCoilDiscretized.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Examples.DryCoilDiscretized.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Examples.DryCoilDiscretized.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_HeatExchangers_Examples_DryCoilDiscretized_fmu --startTime=0 --stopTime=360 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_HeatExchangers_Examples_DryCoilDiscretized.fmu > Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Examples.DryCoilDiscretized.pipe 2>&1)