Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams.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.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_MassExchangers_Validation_ConstantEffectivenessZeroFlowBothStreams",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_MassExchangers_Validation_ConstantEffectivenessZeroFlowBothStreams",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.239/1.239, allocations: 249.4 MB / 256.7 MB, free: 6.93 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.001022/0.001021, allocations: 188.5 kB / 316 MB, free: 3.527 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.138/1.138, allocations: 205.1 MB / 0.5667 GB, free: 15.62 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.0008314/0.0008314, allocations: 94.3 kB / 0.671 GB, free: 4.746 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.3136/0.3145, allocations: 112.5 MB / 0.7808 GB, free: 103 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1553/0.4698, allocations: 106.3 MB / 0.8847 GB, free: 12.55 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.524/3.994, allocations: 2.208 GB / 3.093 GB, free: 196 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002161/3.994, allocations: 83.95 kB / 3.093 GB, free: 195.9 MB / 0.8698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 209 * Number of variables: 209 Notification: Performance of Generate backend data structure: time 3.096/7.09, allocations: 0.9708 GB / 4.063 GB, free: 147.5 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.248e-05/7.09, allocations: 8.562 kB / 4.063 GB, free: 147.5 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003499/7.094, allocations: 0.5932 MB / 4.064 GB, free: 147.4 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002783/7.096, allocations: 1.052 MB / 4.065 GB, free: 147.2 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006191/7.097, allocations: 185.3 kB / 4.065 GB, free: 147.2 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002654/7.097, allocations: 54.94 kB / 4.065 GB, free: 147.2 MB / 0.8855 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001939/7.099, allocations: 1.047 MB / 4.066 GB, free: 147.2 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001803/7.101, allocations: 1.039 MB / 4.067 GB, free: 147.1 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.226e-05/7.101, allocations: 0 / 4.067 GB, free: 147.1 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001056/7.101, allocations: 3.188 kB / 4.067 GB, free: 147.1 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.224e-05/7.101, allocations: 46.77 kB / 4.067 GB, free: 147.1 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006941/7.108, allocations: 4.089 MB / 4.071 GB, free: 145.6 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001093/7.109, allocations: 0.7203 MB / 4.072 GB, free: 145.6 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000659/7.11, allocations: 0.5114 MB / 4.073 GB, free: 145.5 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009905/7.111, allocations: 0.6267 MB / 4.073 GB, free: 145 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.527e-05/7.111, allocations: 38.56 kB / 4.073 GB, free: 144.9 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=76): time 2.755e-06/7.111, allocations: 0 / 4.073 GB, free: 144.9 MB / 0.8855 GB Notification: Performance of matching and sorting (n=76): time 0.002544/7.114, allocations: 1.192 MB / 4.074 GB, free: 144.8 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.726e-05/7.114, allocations: 61.44 kB / 4.074 GB, free: 144.8 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007748/7.114, allocations: 0.5618 MB / 4.075 GB, free: 144.7 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.0001098/7.115, allocations: 25.7 kB / 4.075 GB, free: 144.6 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.000241/7.115, allocations: 326.7 kB / 4.075 GB, free: 144.5 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002206/7.115, allocations: 253.5 kB / 4.076 GB, free: 144.3 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.822e-05/7.115, allocations: 2.688 kB / 4.076 GB, free: 144.3 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 8.393e-05/7.115, allocations: 337.2 kB / 4.076 GB, free: 144 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006374/7.116, allocations: 405.2 kB / 4.076 GB, free: 144 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006835/7.117, allocations: 0.5409 MB / 4.077 GB, free: 143.9 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001178/7.118, allocations: 0.6113 MB / 4.077 GB, free: 143.9 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.988e-06/7.118, allocations: 0 / 4.077 GB, free: 143.9 MB / 0.8855 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.002158/7.12, allocations: 1.223 MB / 4.079 GB, free: 143.8 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.000118/7.12, allocations: 452.4 kB / 4.079 GB, free: 143.4 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.098e-05/7.12, allocations: 7.125 kB / 4.079 GB, free: 143.4 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.941e-05/7.12, allocations: 3.625 kB / 4.079 GB, free: 143.4 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001667/7.122, allocations: 290.4 kB / 4.079 GB, free: 143.4 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000644/7.122, allocations: 1.215 MB / 4.08 GB, free: 142.2 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001408/7.124, allocations: 181.9 kB / 4.081 GB, free: 142.2 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001298/7.124, allocations: 44.91 kB / 4.081 GB, free: 142.2 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.056e-05/7.124, allocations: 3.688 kB / 4.081 GB, free: 142.2 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001939/7.126, allocations: 1.103 MB / 4.082 GB, free: 142.1 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.951e-06/7.126, allocations: 0 / 4.082 GB, free: 142.1 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.647e-06/7.126, allocations: 3.875 kB / 4.082 GB, free: 142.1 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00131/7.127, allocations: 267.7 kB / 4.082 GB, free: 142.1 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.443e-05/7.127, allocations: 3.781 kB / 4.082 GB, free: 142.1 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001303/7.129, allocations: 184.4 kB / 4.082 GB, free: 142.1 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001149/7.129, allocations: 41 kB / 4.082 GB, free: 142.1 MB / 0.8855 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 2 (hex.i1_w,hex.i2_w) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (86): * Single equations (assignments): 83 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002763/7.129, allocations: 125.8 kB / 4.082 GB, free: 142 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002345/7.129, allocations: 95.19 kB / 4.082 GB, free: 142 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002412/7.132, allocations: 1.266 MB / 4.084 GB, free: 141.9 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.596e-06/7.132, allocations: 7.781 kB / 4.084 GB, free: 141.9 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.56e-06/7.132, allocations: 0 / 4.084 GB, free: 141.9 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.866e-06/7.132, allocations: 3.938 kB / 4.084 GB, free: 141.9 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004443/7.136, allocations: 2.648 MB / 4.086 GB, free: 141.5 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.891e-06/7.136, allocations: 7.688 kB / 4.086 GB, free: 141.4 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001365/7.138, allocations: 269.7 kB / 4.087 GB, free: 141.4 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.686e-05/7.138, allocations: 11.62 kB / 4.087 GB, free: 141.4 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.973e-05/7.138, allocations: 18.77 kB / 4.087 GB, free: 141.4 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000449/7.138, allocations: 1.198 MB / 4.088 GB, free: 140.3 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.33e-06/7.138, allocations: 10.81 kB / 4.088 GB, free: 140.3 MB / 0.8855 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002113/7.14, allocations: 1.544 MB / 4.089 GB, free: 139.7 MB / 0.8855 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002608/7.143, allocations: 2.054 MB / 4.091 GB, free: 138.8 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006534/7.144, allocations: 311.2 kB / 4.092 GB, free: 138.6 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002261/7.144, allocations: 6.75 kB / 4.092 GB, free: 138.6 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001497/7.145, allocations: 170.8 kB / 4.092 GB, free: 138.6 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001442/7.146, allocations: 53.97 kB / 4.092 GB, free: 138.6 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.739e-05/7.146, allocations: 44.97 kB / 4.092 GB, free: 138.6 MB / 0.8855 GB Notification: Performance of sort global known variables: time 0.0006283/7.146, allocations: 442.3 kB / 4.092 GB, free: 138.5 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.005478/7.152, allocations: 1.282 MB / 4.094 GB, free: 138.4 MB / 0.8855 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (76): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.005/7.157, allocations: 2.637 MB / 4.096 GB, free: 137.6 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.00311/7.16, allocations: 1.606 MB / 4.098 GB, free: 137.5 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 5.059e-06/7.16, allocations: 0 / 4.098 GB, free: 137.5 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0009129/7.161, allocations: 0.5414 MB / 4.098 GB, free: 137.5 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002208/7.163, allocations: 410.6 kB / 4.099 GB, free: 137.5 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01508/7.178, allocations: 2.395 MB / 4.101 GB, free: 137 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001242/7.179, allocations: 1.243 MB / 4.102 GB, free: 136.3 MB / 0.8855 GB Notification: Performance of SimCode: time 1.122e-06/7.179, allocations: 0 / 4.102 GB, free: 136.3 MB / 0.8855 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_MassExchangers_Validation_ConstantEffectivenessZeroFlowBothStreams_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_MassExchangers_Validation_ConstantEffectivenessZeroFlowBothStreams.fmu > Buildings_maint.7.0.x_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams.pipe 2>&1)