Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.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_TEva_2ndLaw,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Chillers_Validation_Carnot_TEva_2ndLaw",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Chillers_Validation_Carnot_TEva_2ndLaw",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.001083/0.001083, allocations: 192.1 kB / 7.807 MB, free: 2.492 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4665/0.4665, allocations: 90.85 MB / 99.08 MB, free: 14.99 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.34/1.34, allocations: 221.4 MB / 342.8 MB, free: 5.223 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.000988/0.0009879, allocations: 92.36 kB / 415.5 MB, free: 6.438 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.18/0.181, allocations: 78.45 MB / 494 MB, free: 7.992 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3923/0.5733, allocations: 72.31 MB / 0.553 GB, free: 73.46 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6771/1.25, allocations: 387.5 MB / 0.9314 GB, free: 4.195 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002379/1.251, allocations: 88.45 kB / 0.9315 GB, free: 4.152 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: 257 * Number of variables: 257 Notification: Performance of Generate backend data structure: time 2.804/4.054, allocations: 0.785 GB / 1.716 GB, free: 80.82 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 5.174e-05/4.054, allocations: 9.844 kB / 1.716 GB, free: 80.82 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002498/4.057, allocations: 0.5125 MB / 1.717 GB, free: 80.73 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003992/4.061, allocations: 1.737 MB / 1.719 GB, free: 80.38 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003584/4.061, allocations: 128.1 kB / 1.719 GB, free: 80.37 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001435/4.062, allocations: 59.28 kB / 1.719 GB, free: 80.37 MB / 0.6042 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001731/4.063, allocations: 0.8385 MB / 1.72 GB, free: 80.37 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001725/4.065, allocations: 1.046 MB / 1.721 GB, free: 80.12 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.914e-05/4.065, allocations: 9.078 kB / 1.721 GB, free: 80.12 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.626e-05/4.065, allocations: 0 / 1.721 GB, free: 80.12 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.211e-05/4.065, allocations: 39.95 kB / 1.721 GB, free: 80.12 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008571/4.074, allocations: 7.103 MB / 1.728 GB, free: 76.17 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009433/4.075, allocations: 0.5347 MB / 1.728 GB, free: 76.14 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003412/4.075, allocations: 222.3 kB / 1.728 GB, free: 76.14 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001023/4.076, allocations: 1.568 MB / 1.73 GB, free: 74.36 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.898e-05/4.076, allocations: 39.25 kB / 1.73 GB, free: 74.32 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=48): time 3.366e-06/4.076, allocations: 0 / 1.73 GB, free: 74.32 MB / 0.6042 GB Notification: Performance of matching and sorting (n=48): time 0.002549/4.079, allocations: 0.8038 MB / 1.731 GB, free: 74.2 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.575e-05/4.079, allocations: 55.75 kB / 1.731 GB, free: 74.14 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001455/4.08, allocations: 0.9487 MB / 1.732 GB, free: 74 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 7.48e-05/4.08, allocations: 25.7 kB / 1.732 GB, free: 73.96 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002865/4.081, allocations: 0.4969 MB / 1.732 GB, free: 73.67 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001461/4.081, allocations: 164.2 kB / 1.732 GB, free: 73.56 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.826e-05/4.081, allocations: 1.859 kB / 1.732 GB, free: 73.56 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 7.817e-05/4.081, allocations: 331.2 kB / 1.733 GB, free: 73.26 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003573/4.081, allocations: 243.8 kB / 1.733 GB, free: 73.26 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005122/4.082, allocations: 0.5283 MB / 1.733 GB, free: 72.91 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001847/4.084, allocations: 0.54 MB / 1.734 GB, free: 72.89 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.539e-06/4.084, allocations: 0 / 1.734 GB, free: 72.89 MB / 0.6042 GB Notification: Performance of matching and sorting (n=83) (initialization): time 0.002891/4.087, allocations: 1.081 MB / 1.735 GB, free: 72.79 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.055e-05/4.087, allocations: 3.938 kB / 1.735 GB, free: 72.79 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.513e-05/4.087, allocations: 13.66 kB / 1.735 GB, free: 72.79 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008013/4.087, allocations: 222.4 kB / 1.735 GB, free: 72.78 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007721/4.088, allocations: 192.6 kB / 1.735 GB, free: 72.78 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008434/4.089, allocations: 0.7573 MB / 1.736 GB, free: 72.26 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001609/4.091, allocations: 210.4 kB / 1.736 GB, free: 72.23 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001007/4.091, allocations: 42.03 kB / 1.736 GB, free: 72.23 MB / 0.6042 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: chi_b.chi.QCon_flow:VARIABLE(unit = "W" ) "Actual heating heat flow rate added to fluid 1" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (73): * Single equations (assignments): 72 * 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 {2 9} Notification: Performance of prepare postOptimizeDAE: time 0.0002275/4.091, allocations: 124.7 kB / 1.737 GB, free: 72.12 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001772/4.091, allocations: 121.1 kB / 1.737 GB, free: 72.05 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002597/4.094, allocations: 1.129 MB / 1.738 GB, free: 71.98 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.893e-05/4.094, allocations: 14.14 kB / 1.738 GB, free: 71.98 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.252e-06/4.094, allocations: 0 / 1.738 GB, free: 71.98 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.456e-06/4.094, allocations: 0 / 1.738 GB, free: 71.98 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005636/4.1, allocations: 2.383 MB / 1.74 GB, free: 71.62 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.192e-06/4.1, allocations: 3.188 kB / 1.74 GB, free: 71.62 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003874/4.1, allocations: 92.41 kB / 1.74 GB, free: 71.62 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007846/4.101, allocations: 224.2 kB / 1.74 GB, free: 71.61 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.481e-05/4.101, allocations: 7.25 kB / 1.74 GB, free: 71.61 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006921/4.102, allocations: 0.75 MB / 1.741 GB, free: 71.09 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.769e-06/4.102, allocations: 9.156 kB / 1.741 GB, free: 71.09 MB / 0.6042 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003652/4.105, allocations: 1.307 MB / 1.742 GB, free: 70.72 MB / 0.6042 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.003933/4.109, allocations: 1.767 MB / 1.744 GB, free: 69.99 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006509/4.11, allocations: 319.1 kB / 1.744 GB, free: 69.82 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001705/4.11, allocations: 11.36 kB / 1.744 GB, free: 69.82 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009224/4.111, allocations: 93.09 kB / 1.745 GB, free: 69.82 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.851e-05/4.111, allocations: 44.97 kB / 1.745 GB, free: 69.82 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.477e-05/4.111, allocations: 24.19 kB / 1.745 GB, free: 69.82 MB / 0.6042 GB Notification: Performance of sort global known variables: time 0.001153/4.112, allocations: 0.722 MB / 1.745 GB, free: 69.71 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.00284/4.115, allocations: 0.6252 MB / 1.746 GB, free: 69.62 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (51): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 10 * 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 {2 10} Notification: Performance of Backend phase and start with SimCode phase: time 0.001396/4.117, allocations: 0.8307 MB / 1.747 GB, free: 69.4 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.001331/4.118, allocations: 0.6556 MB / 1.747 GB, free: 69.39 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.918e-06/4.118, allocations: 0 / 1.747 GB, free: 69.39 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0006134/4.119, allocations: 349.4 kB / 1.748 GB, free: 69.39 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001908/4.12, allocations: 423.6 kB / 1.748 GB, free: 69.38 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003701/4.124, allocations: 1.625 MB / 1.75 GB, free: 68.88 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008976/4.125, allocations: 1.307 MB / 1.751 GB, free: 68.17 MB / 0.6042 GB Notification: Performance of SimCode: time 1.082e-06/4.125, allocations: 0.75 kB / 1.751 GB, free: 68.17 MB / 0.6042 GB (rm -f IBPSA_latest_IBPSA.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Chillers_Validation_Carnot_TEva_2ndLaw_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_Chillers_Validation_Carnot_TEva_2ndLaw.fmu > IBPSA_latest_IBPSA.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe 2>&1)