Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Chillers.Validation.Carnot_y_etaPL.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IBPSA.Fluid.Chillers.Validation.Carnot_y_etaPL,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Chillers_Validation_Carnot_y_etaPL",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Chillers.Validation.Carnot_y_etaPL,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Chillers_Validation_Carnot_y_etaPL",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/Complex 4.0.0+maint.om/package.mo): time 0.001262/0.001262, allocations: 185.2 kB / 7.8 MB, free: 2.5 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.472/0.472, allocations: 90.85 MB / 99.07 MB, free: 14.93 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.345/1.345, allocations: 221.4 MB / 342.8 MB, free: 5.266 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009664/0.0009664, allocations: 84.88 kB / 415.5 MB, free: 6.43 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1704/0.1714, allocations: 78.45 MB / 494 MB, free: 7.996 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3938/0.5653, allocations: 72.3 MB / 0.553 GB, free: 73.36 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6354/1.201, allocations: 376.4 MB / 0.9205 GB, free: 12 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000272/1.201, allocations: 91.56 kB / 0.9206 GB, free: 11.96 MB / 0.5886 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 240 * Number of variables: 240 Notification: Performance of Generate backend data structure: time 3.072/4.273, allocations: 0.8553 GB / 1.776 GB, free: 71.21 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.346e-05/4.273, allocations: 6.938 kB / 1.776 GB, free: 71.21 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001453/4.275, allocations: 250.5 kB / 1.776 GB, free: 71.12 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004564/4.279, allocations: 1.709 MB / 1.778 GB, free: 70.76 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.355e-05/4.28, allocations: 34.12 kB / 1.778 GB, free: 70.75 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000279/4.28, allocations: 58.56 kB / 1.778 GB, free: 70.75 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001737/4.282, allocations: 0.7001 MB / 1.779 GB, free: 70.75 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00184/4.283, allocations: 0.8908 MB / 1.779 GB, free: 70.62 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.757e-05/4.284, allocations: 8.844 kB / 1.779 GB, free: 70.62 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001013/4.284, allocations: 3.828 kB / 1.779 GB, free: 70.62 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.875e-05/4.284, allocations: 39.84 kB / 1.779 GB, free: 70.62 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007601/4.291, allocations: 5.089 MB / 1.784 GB, free: 68.38 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008564/4.292, allocations: 476 kB / 1.785 GB, free: 68.35 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004157/4.293, allocations: 263.4 kB / 1.785 GB, free: 68.34 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005851/4.293, allocations: 0.8284 MB / 1.786 GB, free: 67.4 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.383e-05/4.293, allocations: 43.84 kB / 1.786 GB, free: 67.36 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=60): time 4.278e-06/4.293, allocations: 0 / 1.786 GB, free: 67.36 MB / 0.6355 GB Notification: Performance of matching and sorting (n=60): time 0.001888/4.295, allocations: 0.5991 MB / 1.787 GB, free: 67.25 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.001e-05/4.295, allocations: 55.62 kB / 1.787 GB, free: 67.19 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001442/4.297, allocations: 0.8913 MB / 1.788 GB, free: 67.05 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 0.0001073/4.297, allocations: 25.7 kB / 1.788 GB, free: 67.02 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003105/4.297, allocations: 445.3 kB / 1.788 GB, free: 66.77 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002002/4.297, allocations: 203.4 kB / 1.788 GB, free: 66.63 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.016e-05/4.297, allocations: 0 / 1.788 GB, free: 66.63 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 8.985e-05/4.297, allocations: 328.4 kB / 1.788 GB, free: 66.33 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003053/4.298, allocations: 200.5 kB / 1.789 GB, free: 66.32 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004726/4.298, allocations: 413.1 kB / 1.789 GB, free: 66.09 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006705/4.299, allocations: 285.3 kB / 1.789 GB, free: 66.09 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.459e-06/4.299, allocations: 3.875 kB / 1.789 GB, free: 66.09 MB / 0.6355 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.004653/4.304, allocations: 1.187 MB / 1.791 GB, free: 65.97 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003074/4.304, allocations: 1.326 MB / 1.792 GB, free: 64.61 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.424e-05/4.304, allocations: 3.219 kB / 1.792 GB, free: 64.61 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005956/4.304, allocations: 129.8 kB / 1.792 GB, free: 64.6 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008138/4.305, allocations: 165.5 kB / 1.792 GB, free: 64.6 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008027/4.306, allocations: 0.7054 MB / 1.793 GB, free: 64.08 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001363/4.308, allocations: 131.9 kB / 1.793 GB, free: 64.04 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001379/4.308, allocations: 34.61 kB / 1.793 GB, free: 64.04 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.067e-05/4.308, allocations: 4.031 kB / 1.793 GB, free: 64.04 MB / 0.6355 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004253/4.312, allocations: 1.044 MB / 1.794 GB, free: 64.01 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.735e-06/4.312, allocations: 3.5 kB / 1.794 GB, free: 64.01 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004057/4.312, allocations: 130.6 kB / 1.794 GB, free: 64 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006185/4.313, allocations: 165.9 kB / 1.794 GB, free: 64 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005621/4.314, allocations: 0.7063 MB / 1.795 GB, free: 63.48 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001165/4.315, allocations: 116 kB / 1.795 GB, free: 63.45 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.639e-05/4.315, allocations: 35.83 kB / 1.795 GB, free: 63.45 MB / 0.6355 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: chi.QEva_flow:VARIABLE(unit = "W" ) "Actual cooling heat flow rate removed from fluid 2" type: Real Notification: Model statistics after passing the back-end for initialization: * 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 initialization (71): * Single equations (assignments): 70 * 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: 0 * Non-linear torn systems: 1 {1 11} Notification: Performance of prepare postOptimizeDAE: time 0.0002876/4.315, allocations: 122.8 kB / 1.795 GB, free: 63.34 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002705/4.315, allocations: 117.6 kB / 1.795 GB, free: 63.28 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001735/4.317, allocations: 0.7505 MB / 1.796 GB, free: 63.2 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.224e-05/4.317, allocations: 6.688 kB / 1.796 GB, free: 63.2 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.36e-06/4.317, allocations: 0 / 1.796 GB, free: 63.2 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001098/4.318, allocations: 0.6375 MB / 1.797 GB, free: 63.03 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006372/4.325, allocations: 2.396 MB / 1.799 GB, free: 62.61 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.572e-06/4.325, allocations: 3.375 kB / 1.799 GB, free: 62.61 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005442/4.325, allocations: 130.5 kB / 1.799 GB, free: 62.61 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004065/4.326, allocations: 125.8 kB / 1.799 GB, free: 62.6 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.962e-05/4.326, allocations: 9.891 kB / 1.799 GB, free: 62.6 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005188/4.326, allocations: 0.6925 MB / 1.8 GB, free: 62.08 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.29e-06/4.326, allocations: 3.844 kB / 1.8 GB, free: 62.08 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.004711/4.331, allocations: 1.772 MB / 1.802 GB, free: 61.56 MB / 0.6355 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.005382/4.336, allocations: 2.518 MB / 1.804 GB, free: 60.66 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008492/4.337, allocations: 313.5 kB / 1.804 GB, free: 60.5 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003896/4.338, allocations: 8.641 kB / 1.804 GB, free: 60.5 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001154/4.339, allocations: 68.23 kB / 1.805 GB, free: 60.49 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001433/4.339, allocations: 52.05 kB / 1.805 GB, free: 60.49 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.065e-05/4.339, allocations: 34.72 kB / 1.805 GB, free: 60.49 MB / 0.6355 GB Notification: Performance of sort global known variables: time 0.001551/4.341, allocations: 0.68 MB / 1.805 GB, free: 60.38 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.005195/4.346, allocations: 1.005 MB / 1.806 GB, free: 60.24 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 2 (chi.con.vol.dynBal.U,chi.eva.vol.dynBal.U) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (55): * Single equations (assignments): 50 * 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: 0 * Non-linear torn systems: 1 {1 11} Notification: Performance of Backend phase and start with SimCode phase: time 0.001677/4.348, allocations: 0.745 MB / 1.807 GB, free: 60.06 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.001836/4.349, allocations: 0.9128 MB / 1.808 GB, free: 60.04 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 5.821e-06/4.349, allocations: 0 / 1.808 GB, free: 60.04 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0005608/4.35, allocations: 319.7 kB / 1.808 GB, free: 60.03 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002999/4.353, allocations: 0.5365 MB / 1.809 GB, free: 60.03 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005115/4.358, allocations: 1.742 MB / 1.81 GB, free: 59.49 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001209/4.359, allocations: 1.316 MB / 1.812 GB, free: 58.78 MB / 0.6355 GB Notification: Performance of SimCode: time 6.92e-07/4.359, allocations: 0 / 1.812 GB, free: 58.78 MB / 0.6355 GB (rm -f IBPSA_latest_IBPSA.Fluid.Chillers.Validation.Carnot_y_etaPL.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Chillers.Validation.Carnot_y_etaPL.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Chillers.Validation.Carnot_y_etaPL.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Chillers.Validation.Carnot_y_etaPL.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Chillers_Validation_Carnot_y_etaPL_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_Chillers_Validation_Carnot_y_etaPL.fmu > IBPSA_latest_IBPSA.Fluid.Chillers.Validation.Carnot_y_etaPL.pipe 2>&1)