Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow.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.MassExchangers.Validation.ConstantEffectivenessZeroFlow,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_MassExchangers_Validation_ConstantEffectivenessZeroFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_MassExchangers_Validation_ConstantEffectivenessZeroFlow",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.7453/0.7453, allocations: 127.4 MB / 134.6 MB, free: 4.074 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.001246/0.001246, allocations: 189.3 kB / 164.4 MB, free: 6.879 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.849/1.849, allocations: 205.1 MB / 399.1 MB, free: 6.074 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.001007/0.001007, allocations: 85.22 kB / 476.3 MB, free: 8.836 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.365/0.366, allocations: 82.88 MB / 0.5461 GB, free: 42.66 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2129/0.5789, allocations: 76.75 MB / 0.621 GB, free: 13.84 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.98/7.559, allocations: 2.167 GB / 2.788 GB, free: 177.7 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003789/7.559, allocations: 88.42 kB / 2.788 GB, free: 177.7 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: 209 * Number of variables: 209 Notification: Performance of Generate backend data structure: time 3.793/11.35, allocations: 0.9928 GB / 3.781 GB, free: 21.17 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.447e-05/11.35, allocations: 8 kB / 3.781 GB, free: 21.16 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003726/11.36, allocations: 0.5916 MB / 3.782 GB, free: 20.57 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003155/11.36, allocations: 1.07 MB / 3.783 GB, free: 19.45 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005969/11.36, allocations: 177.9 kB / 3.783 GB, free: 19.28 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001595/11.36, allocations: 48 kB / 3.783 GB, free: 19.23 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00172/11.36, allocations: 1.074 MB / 3.784 GB, free: 18.16 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001467/11.36, allocations: 1.029 MB / 3.785 GB, free: 17.11 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.998e-05/11.36, allocations: 0 / 3.785 GB, free: 17.11 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.326e-05/11.36, allocations: 3.984 kB / 3.785 GB, free: 17.11 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.507e-05/11.36, allocations: 53.83 kB / 3.785 GB, free: 17.05 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006088/11.37, allocations: 4.061 MB / 3.789 GB, free: 12.74 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001031/11.37, allocations: 0.7545 MB / 3.79 GB, free: 11.98 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006065/11.37, allocations: 0.4987 MB / 3.79 GB, free: 11.48 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000973/11.37, allocations: 0.6164 MB / 3.791 GB, free: 10.75 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.611e-05/11.37, allocations: 51.12 kB / 3.791 GB, free: 10.69 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=75): time 3.847e-06/11.37, allocations: 0 / 3.791 GB, free: 10.69 MB / 0.6823 GB Notification: Performance of matching and sorting (n=75): time 0.00294/11.37, allocations: 1.248 MB / 3.792 GB, free: 9.434 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.409e-05/11.37, allocations: 60.06 kB / 3.792 GB, free: 9.363 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007727/11.38, allocations: 0.5472 MB / 3.793 GB, free: 8.812 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0001362/11.38, allocations: 29.7 kB / 3.793 GB, free: 8.777 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002198/11.38, allocations: 332.1 kB / 3.793 GB, free: 8.445 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002352/11.38, allocations: 248.2 kB / 3.793 GB, free: 8.199 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.245e-05/11.38, allocations: 0 / 3.793 GB, free: 8.199 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001054/11.38, allocations: 341.9 kB / 3.794 GB, free: 7.859 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005515/11.38, allocations: 417.4 kB / 3.794 GB, free: 7.449 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006338/11.38, allocations: 0.5456 MB / 3.795 GB, free: 6.863 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001363/11.38, allocations: 0.6198 MB / 3.795 GB, free: 6.242 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.129e-06/11.38, allocations: 3.938 kB / 3.795 GB, free: 6.238 MB / 0.6823 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.002235/11.38, allocations: 1.237 MB / 3.797 GB, free: 4.996 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001008/11.38, allocations: 362.6 kB / 3.797 GB, free: 4.613 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.276e-05/11.38, allocations: 4 kB / 3.797 GB, free: 4.609 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.492e-05/11.38, allocations: 4 kB / 3.797 GB, free: 4.605 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002979/11.38, allocations: 463.5 kB / 3.797 GB, free: 4.152 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001473/11.39, allocations: 1.348 MB / 3.799 GB, free: 2.758 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001422/11.39, allocations: 195.4 kB / 3.799 GB, free: 2.566 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001234/11.39, allocations: 39.95 kB / 3.799 GB, free: 2.527 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.109e-05/11.39, allocations: 6.188 kB / 3.799 GB, free: 2.523 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001886/11.39, allocations: 1.088 MB / 3.8 GB, free: 1.438 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.488e-06/11.39, allocations: 8.062 kB / 3.8 GB, free: 1.43 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.534e-06/11.39, allocations: 4 kB / 3.8 GB, free: 1.426 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001295/11.39, allocations: 271.7 kB / 3.8 GB, free: 1.16 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.149e-06/11.39, allocations: 4 kB / 3.8 GB, free: 1.156 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001241/11.39, allocations: 183.2 kB / 3.8 GB, free: 0.9766 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001283/11.39, allocations: 35.97 kB / 3.8 GB, free: 0.9414 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (85): * Single equations (assignments): 82 * 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.0002496/11.39, allocations: 120.9 kB / 3.801 GB, free: 0.8164 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001794/11.39, allocations: 90.88 kB / 3.801 GB, free: 0.7266 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002578/11.4, allocations: 1.282 MB / 3.802 GB, free: 15.43 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.397e-06/11.4, allocations: 8 kB / 3.802 GB, free: 15.42 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.178e-06/11.4, allocations: 7.984 kB / 3.802 GB, free: 15.41 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.185e-06/11.4, allocations: 0 / 3.802 GB, free: 15.41 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005121/11.4, allocations: 2.645 MB / 3.804 GB, free: 12.68 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.973e-06/11.4, allocations: 4 kB / 3.804 GB, free: 12.68 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003204/11.4, allocations: 471.9 kB / 3.805 GB, free: 12.21 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.522e-05/11.4, allocations: 8 kB / 3.805 GB, free: 12.21 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.963e-05/11.4, allocations: 19.97 kB / 3.805 GB, free: 12.19 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004825/11.41, allocations: 2.925 MB / 3.808 GB, free: 9.035 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.003e-05/11.41, allocations: 7.938 kB / 3.808 GB, free: 9.027 MB / 0.698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002689/11.41, allocations: 1.523 MB / 3.809 GB, free: 7.355 MB / 0.698 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.003545/11.41, allocations: 2.06 MB / 3.811 GB, free: 5.156 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007694/11.42, allocations: 295.7 kB / 3.812 GB, free: 4.848 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001692/11.42, allocations: 4 kB / 3.812 GB, free: 4.844 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001496/11.42, allocations: 179.7 kB / 3.812 GB, free: 4.668 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001552/11.42, allocations: 52.33 kB / 3.812 GB, free: 4.617 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001021/11.42, allocations: 39.97 kB / 3.812 GB, free: 4.578 MB / 0.698 GB Notification: Performance of sort global known variables: time 0.0006667/11.42, allocations: 435.1 kB / 3.812 GB, free: 4.156 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.004664/11.42, allocations: 1.28 MB / 3.814 GB, free: 2.875 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (75): * Single equations (assignments): 73 * 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.003879/11.43, allocations: 2.662 MB / 3.816 GB, free: 12 kB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.583/12.01, allocations: 1.854 MB / 3.818 GB, free: 93.32 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 9.047e-06/12.01, allocations: 0 / 3.818 GB, free: 93.32 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.002969/12.01, allocations: 0.8136 MB / 3.819 GB, free: 93.32 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002425/12.02, allocations: 403.2 kB / 3.819 GB, free: 93.32 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01599/12.03, allocations: 2.412 MB / 3.821 GB, free: 92.88 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001251/12.03, allocations: 1.228 MB / 3.823 GB, free: 92.17 MB / 0.698 GB Notification: Performance of SimCode: time 9.22e-07/12.03, allocations: 0.8438 kB / 3.823 GB, free: 92.17 MB / 0.698 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_MassExchangers_Validation_ConstantEffectivenessZeroFlow_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Fluid_MassExchangers_Validation_ConstantEffectivenessZeroFlow.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow.pipe 2>&1)