Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.Validation.ConstantEffectiveness.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/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 BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.HeatExchangers.Validation.ConstantEffectiveness,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_HeatExchangers_Validation_ConstantEffectiveness",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.HeatExchangers.Validation.ConstantEffectiveness,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_HeatExchangers_Validation_ConstantEffectiveness",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/BuildSysPro 3.5.0/package.mo): time 0.7247/0.7247, allocations: 127.4 MB / 134.6 MB, free: 4.082 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001188/0.001188, allocations: 185.3 kB / 164.4 MB, free: 6.883 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.846/1.846, allocations: 205.1 MB / 399.1 MB, free: 6.152 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009409/0.0009413, allocations: 93.42 kB / 476.3 MB, free: 8.91 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.4558/0.4568, allocations: 82.88 MB / 0.5461 GB, free: 42.69 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2493/0.7061, allocations: 76.76 MB / 0.621 GB, free: 13.85 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.557/7.263, allocations: 2.395 GB / 3.016 GB, free: 13.49 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003643/7.264, allocations: 91.92 kB / 3.016 GB, free: 13.4 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 177 * Number of variables: 177 Notification: Performance of Generate backend data structure: time 3.745/11.01, allocations: 0.7749 GB / 3.791 GB, free: 89 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.015e-05/11.01, allocations: 7.469 kB / 3.791 GB, free: 89 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002587/11.01, allocations: 481.1 kB / 3.791 GB, free: 88.94 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00248/11.01, allocations: 1.046 MB / 3.792 GB, free: 88.67 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006056/11.02, allocations: 179 kB / 3.793 GB, free: 88.67 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001212/11.02, allocations: 49.55 kB / 3.793 GB, free: 88.67 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001374/11.02, allocations: 0.7682 MB / 3.793 GB, free: 88.66 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00134/11.02, allocations: 0.8218 MB / 3.794 GB, free: 88.56 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.197e-05/11.02, allocations: 0 / 3.794 GB, free: 88.56 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.847e-05/11.02, allocations: 0 / 3.794 GB, free: 88.56 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.151e-05/11.02, allocations: 38.33 kB / 3.794 GB, free: 88.55 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006643/11.02, allocations: 4.078 MB / 3.798 GB, free: 86.84 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009653/11.03, allocations: 0.5546 MB / 3.799 GB, free: 86.8 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004316/11.03, allocations: 317.2 kB / 3.799 GB, free: 86.8 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007768/11.03, allocations: 0.6439 MB / 3.8 GB, free: 86.14 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005951/11.03, allocations: 393.9 kB / 3.8 GB, free: 86.09 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=54): time 3.958e-06/11.03, allocations: 0 / 3.8 GB, free: 86.09 MB / 0.6823 GB Notification: Performance of matching and sorting (n=54): time 0.002322/11.03, allocations: 0.7765 MB / 3.801 GB, free: 86.01 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.128e-05/11.03, allocations: 59.33 kB / 3.801 GB, free: 85.94 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008797/11.03, allocations: 0.5607 MB / 3.801 GB, free: 85.82 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0001071/11.03, allocations: 32.39 kB / 3.801 GB, free: 85.79 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003292/11.03, allocations: 328.8 kB / 3.802 GB, free: 85.63 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001978/11.03, allocations: 174.8 kB / 3.802 GB, free: 85.54 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.898e-05/11.03, allocations: 0 / 3.802 GB, free: 85.54 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 9.444e-05/11.03, allocations: 331.6 kB / 3.802 GB, free: 85.23 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004079/11.03, allocations: 272.4 kB / 3.802 GB, free: 85.23 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004904/11.03, allocations: 422.7 kB / 3.803 GB, free: 85.08 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007081/11.03, allocations: 348.9 kB / 3.803 GB, free: 85.08 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.898e-06/11.03, allocations: 0 / 3.803 GB, free: 85.08 MB / 0.6823 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001438/11.03, allocations: 0.7808 MB / 3.804 GB, free: 85 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001957/11.04, allocations: 0.8848 MB / 3.805 GB, free: 84.1 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.105e-06/11.04, allocations: 0 / 3.805 GB, free: 84.1 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.428e-05/11.04, allocations: 7.594 kB / 3.805 GB, free: 84.1 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002813/11.04, allocations: 431.6 kB / 3.805 GB, free: 84.1 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001755/11.04, allocations: 1.355 MB / 3.807 GB, free: 82.93 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001615/11.04, allocations: 187.6 kB / 3.807 GB, free: 82.91 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001309/11.04, allocations: 31.66 kB / 3.807 GB, free: 82.91 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.867e-05/11.04, allocations: 3.625 kB / 3.807 GB, free: 82.91 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00165/11.04, allocations: 0.6567 MB / 3.807 GB, free: 82.9 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.881e-06/11.04, allocations: 0 / 3.807 GB, free: 82.9 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.334e-05/11.04, allocations: 5.531 kB / 3.807 GB, free: 82.9 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001202/11.04, allocations: 242.5 kB / 3.808 GB, free: 82.9 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.715e-06/11.04, allocations: 3.594 kB / 3.808 GB, free: 82.9 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001663/11.05, allocations: 174.1 kB / 3.808 GB, free: 82.89 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001074/11.05, allocations: 31.3 kB / 3.808 GB, free: 82.89 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.trapezoid.T_start,trapezoid.T_start,$PRE.trapezoid.count,trapezoid.count) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (68): * Single equations (assignments): 65 * 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.0003438/11.05, allocations: 123.3 kB / 3.808 GB, free: 82.79 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002128/11.05, allocations: 84.5 kB / 3.808 GB, free: 82.74 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00216/11.05, allocations: 0.8588 MB / 3.809 GB, free: 82.68 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.916e-05/11.05, allocations: 8.75 kB / 3.809 GB, free: 82.68 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.045e-06/11.05, allocations: 0 / 3.809 GB, free: 82.68 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.296e-05/11.05, allocations: 3.938 kB / 3.809 GB, free: 82.68 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004098/11.05, allocations: 1.904 MB / 3.811 GB, free: 82.33 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.913e-06/11.05, allocations: 2.875 kB / 3.811 GB, free: 82.33 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002778/11.06, allocations: 434.8 kB / 3.811 GB, free: 82.33 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.285e-05/11.06, allocations: 3.938 kB / 3.811 GB, free: 82.33 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.261e-05/11.06, allocations: 16.45 kB / 3.811 GB, free: 82.33 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004126/11.06, allocations: 2.921 MB / 3.814 GB, free: 79.82 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.148e-06/11.06, allocations: 2.781 kB / 3.814 GB, free: 79.82 MB / 0.6823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001867/11.06, allocations: 1.011 MB / 3.815 GB, free: 79.44 MB / 0.6823 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002086/11.06, allocations: 1.489 MB / 3.816 GB, free: 78.68 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005247/11.06, allocations: 269.8 kB / 3.817 GB, free: 78.54 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001455/11.06, allocations: 8.594 kB / 3.817 GB, free: 78.54 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001318/11.07, allocations: 166 kB / 3.817 GB, free: 78.54 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001409/11.07, allocations: 52.5 kB / 3.817 GB, free: 78.54 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.462e-05/11.07, allocations: 31.16 kB / 3.817 GB, free: 78.54 MB / 0.6823 GB Notification: Performance of sort global known variables: time 0.0006579/11.07, allocations: 439.3 kB / 3.817 GB, free: 78.45 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.004078/11.07, allocations: 1.02 MB / 3.818 GB, free: 78.41 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,trapezoid.T_start,trapezoid.count) * Number of discrete states: 1 (trapezoid.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (60): * Single equations (assignments): 54 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 2 * 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.002774/11.07, allocations: 1.891 MB / 3.82 GB, free: 77.97 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.004723/11.08, allocations: 1.373 MB / 3.822 GB, free: 77.89 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 7.304e-06/11.08, allocations: 1.844 kB / 3.822 GB, free: 77.89 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.002878/11.08, allocations: 0.6711 MB / 3.822 GB, free: 77.89 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00216/11.08, allocations: 331.3 kB / 3.823 GB, free: 77.88 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003743/11.09, allocations: 1.32 MB / 3.824 GB, free: 77.5 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008934/11.09, allocations: 1.154 MB / 3.825 GB, free: 76.79 MB / 0.6823 GB Notification: Performance of SimCode: time 9.22e-07/11.09, allocations: 5.766 kB / 3.825 GB, free: 76.79 MB / 0.6823 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.Validation.ConstantEffectiveness.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.Validation.ConstantEffectiveness.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.Validation.ConstantEffectiveness.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.Validation.ConstantEffectiveness.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_HeatExchangers_Validation_ConstantEffectiveness_fmu --startTime=0 --stopTime=360 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Fluid_HeatExchangers_Validation_ConstantEffectiveness.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.Validation.ConstantEffectiveness.pipe 2>&1)