Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Chillers.Validation.Carnot_TEva_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_TEva_etaPL,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Chillers_Validation_Carnot_TEva_etaPL",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Chillers.Validation.Carnot_TEva_etaPL,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Chillers_Validation_Carnot_TEva_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.001168/0.001168, allocations: 190.4 kB / 7.803 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.4709/0.4709, allocations: 90.85 MB / 99.06 MB, free: 14.96 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.265/1.265, allocations: 221.4 MB / 342.8 MB, free: 5.199 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.0009888/0.000989, allocations: 95.92 kB / 415.5 MB, free: 9.863 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1813/0.1823, allocations: 78.45 MB / 494 MB, free: 11.49 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3914/0.5737, allocations: 72.3 MB / 0.553 GB, free: 44.78 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.655/1.229, allocations: 386 MB / 0.9299 GB, free: 4.977 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000262/1.229, allocations: 88.05 kB / 0.93 GB, free: 4.934 MB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 192 * Number of variables: 192 Notification: Performance of Generate backend data structure: time 3.807/5.036, allocations: 1.071 GB / 2.001 GB, free: 85.78 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.278e-05/5.036, allocations: 9.938 kB / 2.001 GB, free: 85.78 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002051/5.038, allocations: 381.4 kB / 2.001 GB, free: 85.71 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00378/5.042, allocations: 1.26 MB / 2.002 GB, free: 85.36 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003818/5.043, allocations: 107.2 kB / 2.002 GB, free: 85.36 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002752/5.043, allocations: 50.88 kB / 2.002 GB, free: 85.36 MB / 0.6198 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001717/5.045, allocations: 0.599 MB / 2.003 GB, free: 85.35 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001268/5.046, allocations: 0.7627 MB / 2.004 GB, free: 85.19 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.008e-05/5.046, allocations: 0 / 2.004 GB, free: 85.19 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.643e-05/5.046, allocations: 0 / 2.004 GB, free: 85.19 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.785e-05/5.046, allocations: 32.59 kB / 2.004 GB, free: 85.19 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006405/5.053, allocations: 4.705 MB / 2.008 GB, free: 82.61 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007716/5.053, allocations: 406 kB / 2.009 GB, free: 82.59 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002616/5.054, allocations: 190 kB / 2.009 GB, free: 82.58 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001062/5.055, allocations: 1.375 MB / 2.01 GB, free: 81.08 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.472e-05/5.055, allocations: 37.38 kB / 2.01 GB, free: 81.04 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=43): time 4.068e-06/5.055, allocations: 0 / 2.01 GB, free: 81.04 MB / 0.6198 GB Notification: Performance of matching and sorting (n=43): time 0.003318/5.058, allocations: 0.8551 MB / 2.011 GB, free: 80.94 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.353e-05/5.058, allocations: 58.03 kB / 2.011 GB, free: 80.88 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001028/5.059, allocations: 0.7459 MB / 2.012 GB, free: 80.73 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 6.152e-05/5.059, allocations: 25.7 kB / 2.012 GB, free: 80.7 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002082/5.059, allocations: 390.4 kB / 2.012 GB, free: 80.48 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001097/5.059, allocations: 144.8 kB / 2.012 GB, free: 80.38 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.804e-05/5.06, allocations: 2.875 kB / 2.012 GB, free: 80.38 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.14e-05/5.06, allocations: 326.5 kB / 2.013 GB, free: 80.08 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002537/5.06, allocations: 161.2 kB / 2.013 GB, free: 80.08 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004145/5.06, allocations: 393.5 kB / 2.013 GB, free: 79.83 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009802/5.061, allocations: 335.8 kB / 2.014 GB, free: 79.82 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.068e-06/5.061, allocations: 0 / 2.014 GB, free: 79.82 MB / 0.6198 GB Notification: Performance of matching and sorting (n=62) (initialization): time 0.001743/5.063, allocations: 0.7567 MB / 2.014 GB, free: 79.73 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003167/5.063, allocations: 1.488 MB / 2.016 GB, free: 78.18 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.016e-06/5.063, allocations: 3.969 kB / 2.016 GB, free: 78.18 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007009/5.064, allocations: 240.3 kB / 2.016 GB, free: 78.17 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004573/5.065, allocations: 110.3 kB / 2.016 GB, free: 78.17 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009485/5.066, allocations: 0.8868 MB / 2.017 GB, free: 77.64 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001308/5.067, allocations: 161.9 kB / 2.017 GB, free: 77.62 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.519e-05/5.067, allocations: 34.59 kB / 2.017 GB, free: 77.62 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 9.598e-06/5.067, allocations: 3.562 kB / 2.017 GB, free: 77.62 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001534/5.069, allocations: 0.6321 MB / 2.018 GB, free: 77.6 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.231e-06/5.069, allocations: 3.844 kB / 2.018 GB, free: 77.6 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000616/5.069, allocations: 239.4 kB / 2.018 GB, free: 77.59 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004198/5.07, allocations: 109.1 kB / 2.018 GB, free: 77.59 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008738/5.07, allocations: 0.8761 MB / 2.019 GB, free: 77.06 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00114/5.072, allocations: 132.1 kB / 2.019 GB, free: 77.05 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.067e-05/5.072, allocations: 31.64 kB / 2.019 GB, free: 77.05 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (46): * Single equations (assignments): 45 * 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 15} Notification: Performance of prepare postOptimizeDAE: time 0.0002011/5.072, allocations: 129.5 kB / 2.019 GB, free: 76.93 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000154/5.072, allocations: 97.47 kB / 2.019 GB, free: 76.88 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003769/5.076, allocations: 1.027 MB / 2.02 GB, free: 76.81 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.399e-05/5.076, allocations: 6.234 kB / 2.02 GB, free: 76.81 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.181e-06/5.076, allocations: 0 / 2.02 GB, free: 76.81 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.596e-06/5.076, allocations: 6.641 kB / 2.02 GB, free: 76.81 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004995/5.081, allocations: 1.946 MB / 2.022 GB, free: 76.44 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.883e-06/5.081, allocations: 2.062 kB / 2.022 GB, free: 76.44 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002075/5.081, allocations: 54.36 kB / 2.022 GB, free: 76.44 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006544/5.082, allocations: 254.9 kB / 2.022 GB, free: 76.43 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.747e-05/5.082, allocations: 9.031 kB / 2.022 GB, free: 76.43 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009467/5.083, allocations: 0.9037 MB / 2.023 GB, free: 75.9 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.881e-06/5.083, allocations: 6.344 kB / 2.023 GB, free: 75.9 MB / 0.6198 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003257/5.086, allocations: 1.204 MB / 2.025 GB, free: 75.5 MB / 0.6198 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.003513/5.09, allocations: 1.635 MB / 2.026 GB, free: 74.72 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005715/5.09, allocations: 263.9 kB / 2.026 GB, free: 74.57 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001421/5.09, allocations: 1.531 kB / 2.026 GB, free: 74.57 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008564/5.091, allocations: 94.97 kB / 2.027 GB, free: 74.57 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.74e-05/5.091, allocations: 34.39 kB / 2.027 GB, free: 74.57 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.222e-05/5.091, allocations: 26.28 kB / 2.027 GB, free: 74.57 MB / 0.6198 GB Notification: Performance of sort global known variables: time 0.0009315/5.092, allocations: 0.5723 MB / 2.027 GB, free: 74.31 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.003662/5.096, allocations: 0.838 MB / 2.028 GB, free: 73.96 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (32): * Single equations (assignments): 27 * 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 {2 17} Notification: Performance of Backend phase and start with SimCode phase: time 0.001393/5.097, allocations: 0.6858 MB / 2.029 GB, free: 73.77 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.001661/5.099, allocations: 0.7731 MB / 2.029 GB, free: 73.52 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 4.448e-06/5.099, allocations: 3.562 kB / 2.029 GB, free: 73.52 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0004331/5.1, allocations: 258 kB / 2.03 GB, free: 73.45 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001849/5.101, allocations: 371.3 kB / 2.03 GB, free: 73.38 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003025/5.104, allocations: 1.35 MB / 2.031 GB, free: 72.79 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006838/5.105, allocations: 1.169 MB / 2.032 GB, free: 72.06 MB / 0.6198 GB Notification: Performance of SimCode: time 9.42e-07/5.105, allocations: 0 / 2.032 GB, free: 72.06 MB / 0.6198 GB (rm -f IBPSA_latest_IBPSA.Fluid.Chillers.Validation.Carnot_TEva_etaPL.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Chillers.Validation.Carnot_TEva_etaPL.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Chillers.Validation.Carnot_TEva_etaPL.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Chillers.Validation.Carnot_TEva_etaPL.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Chillers_Validation_Carnot_TEva_etaPL_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_Chillers_Validation_Carnot_TEva_etaPL.fmu > IBPSA_latest_IBPSA.Fluid.Chillers.Validation.Carnot_TEva_etaPL.pipe 2>&1)