Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature.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.HeatPumps.Validation.Carnot_TCon_LowTemperature,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_HeatPumps_Validation_Carnot_TCon_LowTemperature",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_HeatPumps_Validation_Carnot_TCon_LowTemperature",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.001341/0.001341, allocations: 188 kB / 7.801 MB, free: 2.496 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4575/0.4575, 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.268/1.268, allocations: 221.4 MB / 342.7 MB, free: 5.211 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.000997/0.0009972, allocations: 98.06 kB / 415.5 MB, free: 6.441 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1737/0.1748, allocations: 78.45 MB / 494 MB, free: 8.004 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3791/0.5539, allocations: 72.3 MB / 0.553 GB, free: 73.27 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6435/1.197, allocations: 386.2 MB / 0.9301 GB, free: 2.188 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002616/1.198, allocations: 90.7 kB / 0.9302 GB, free: 2.145 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: 194 * Number of variables: 194 Notification: Performance of Generate backend data structure: time 2.105/3.303, allocations: 0.6533 GB / 1.584 GB, free: 72.27 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.609e-05/3.303, allocations: 11.16 kB / 1.584 GB, free: 72.27 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002638/3.306, allocations: 488 kB / 1.584 GB, free: 72.09 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003579/3.309, allocations: 1.317 MB / 1.585 GB, free: 71.14 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003701/3.31, allocations: 109.4 kB / 1.585 GB, free: 71.12 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002208/3.31, allocations: 49.75 kB / 1.585 GB, free: 71.12 MB / 0.6042 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001372/3.311, allocations: 0.6308 MB / 1.586 GB, free: 70.8 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001224/3.312, allocations: 0.775 MB / 1.587 GB, free: 69.98 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.184e-05/3.312, allocations: 3.938 kB / 1.587 GB, free: 69.98 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.38e-05/3.313, allocations: 0 / 1.587 GB, free: 69.98 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.33e-05/3.313, allocations: 32.94 kB / 1.587 GB, free: 69.95 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006734/3.319, allocations: 4.796 MB / 1.592 GB, free: 64.95 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002555/3.322, allocations: 0.6751 MB / 1.592 GB, free: 64.29 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002872/3.322, allocations: 208 kB / 1.592 GB, free: 64.09 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004922/3.323, allocations: 0.9025 MB / 1.593 GB, free: 62.98 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.264e-05/3.323, allocations: 38.56 kB / 1.593 GB, free: 62.94 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=43): time 2.935e-06/3.323, allocations: 0 / 1.593 GB, free: 62.94 MB / 0.6042 GB Notification: Performance of matching and sorting (n=43): time 0.00305/3.326, allocations: 0.8086 MB / 1.594 GB, free: 62.15 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.073e-05/3.326, allocations: 55.41 kB / 1.594 GB, free: 62.08 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009891/3.327, allocations: 0.7476 MB / 1.595 GB, free: 61.32 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 6.911e-05/3.327, allocations: 25.7 kB / 1.595 GB, free: 61.29 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001817/3.327, allocations: 398.4 kB / 1.595 GB, free: 60.89 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001008/3.327, allocations: 145.8 kB / 1.595 GB, free: 60.75 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.015e-05/3.327, allocations: 0 / 1.595 GB, free: 60.75 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.264e-05/3.327, allocations: 330 kB / 1.596 GB, free: 60.42 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002743/3.328, allocations: 177.2 kB / 1.596 GB, free: 60.25 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003863/3.328, allocations: 423.8 kB / 1.596 GB, free: 59.73 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006786/3.329, allocations: 263.3 kB / 1.597 GB, free: 59.48 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.529e-06/3.329, allocations: 7.875 kB / 1.597 GB, free: 59.47 MB / 0.6042 GB Notification: Performance of matching and sorting (n=63) (initialization): time 0.003022/3.332, allocations: 0.9525 MB / 1.598 GB, free: 58.54 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003231/3.332, allocations: 1.654 MB / 1.599 GB, free: 56.77 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.036e-05/3.332, allocations: 4 kB / 1.599 GB, free: 56.76 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006939/3.333, allocations: 236.2 kB / 1.599 GB, free: 56.54 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005742/3.333, allocations: 136.9 kB / 1.599 GB, free: 56.41 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001014/3.334, allocations: 0.886 MB / 1.6 GB, free: 55.51 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001464/3.336, allocations: 186.8 kB / 1.601 GB, free: 55.34 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.774e-05/3.336, allocations: 35.98 kB / 1.601 GB, free: 55.3 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 7.554e-06/3.336, allocations: 8.5 kB / 1.601 GB, free: 55.3 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002793/3.339, allocations: 0.8127 MB / 1.601 GB, free: 54.51 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.218e-06/3.339, allocations: 4 kB / 1.601 GB, free: 54.5 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006083/3.339, allocations: 241.6 kB / 1.602 GB, free: 54.27 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005509/3.34, allocations: 132.9 kB / 1.602 GB, free: 54.15 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008755/3.341, allocations: 0.8716 MB / 1.603 GB, free: 53.25 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00127/3.342, allocations: 155.7 kB / 1.603 GB, free: 53.12 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.823e-05/3.342, allocations: 31.98 kB / 1.603 GB, free: 53.09 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (47): * Single equations (assignments): 46 * 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.000175/3.342, allocations: 127.8 kB / 1.603 GB, free: 52.96 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001884/3.343, allocations: 94.78 kB / 1.603 GB, free: 52.86 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003107/3.346, allocations: 0.973 MB / 1.604 GB, free: 51.92 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.266e-05/3.346, allocations: 4 kB / 1.604 GB, free: 51.91 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.153e-06/3.346, allocations: 4 kB / 1.604 GB, free: 51.91 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.107e-06/3.346, allocations: 6.984 kB / 1.604 GB, free: 51.91 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004451/3.35, allocations: 1.933 MB / 1.606 GB, free: 49.92 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.563e-06/3.35, allocations: 4 kB / 1.606 GB, free: 49.92 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003283/3.351, allocations: 80.14 kB / 1.606 GB, free: 49.84 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006421/3.351, allocations: 240.4 kB / 1.606 GB, free: 49.61 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.77e-05/3.351, allocations: 7.984 kB / 1.606 GB, free: 49.6 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009174/3.352, allocations: 0.9147 MB / 1.607 GB, free: 48.66 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.939e-06/3.352, allocations: 7.984 kB / 1.607 GB, free: 48.65 MB / 0.6042 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002995/3.355, allocations: 1.141 MB / 1.608 GB, free: 47.43 MB / 0.6042 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.003172/3.358, allocations: 1.578 MB / 1.61 GB, free: 45.76 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005836/3.359, allocations: 263.7 kB / 1.61 GB, free: 45.48 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002386/3.359, allocations: 4 kB / 1.61 GB, free: 45.48 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001087/3.36, allocations: 131.2 kB / 1.61 GB, free: 45.35 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001049/3.361, allocations: 39.58 kB / 1.61 GB, free: 45.31 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.514e-05/3.361, allocations: 23.98 kB / 1.61 GB, free: 45.29 MB / 0.6042 GB Notification: Performance of sort global known variables: time 0.0009233/3.362, allocations: 0.5759 MB / 1.611 GB, free: 44.7 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.00368/3.365, allocations: 0.8032 MB / 1.611 GB, free: 43.9 MB / 0.6042 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.001284/3.367, allocations: 0.6688 MB / 1.612 GB, free: 43.3 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.00157/3.368, allocations: 0.8137 MB / 1.613 GB, free: 42.49 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 4.529e-06/3.368, allocations: 0 / 1.613 GB, free: 42.49 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0004739/3.369, allocations: 275.1 kB / 1.613 GB, free: 42.22 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001861/3.37, allocations: 383.4 kB / 1.614 GB, free: 41.86 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00477/3.375, allocations: 1.646 MB / 1.615 GB, free: 40.16 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00062/3.376, allocations: 1.173 MB / 1.616 GB, free: 38.96 MB / 0.6042 GB Notification: Performance of SimCode: time 7.22e-07/3.376, allocations: 0 / 1.616 GB, free: 38.96 MB / 0.6042 GB (rm -f IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_HeatPumps_Validation_Carnot_TCon_LowTemperature_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_HeatPumps_Validation_Carnot_TCon_LowTemperature.fmu > IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature.pipe 2>&1)