Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static.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.ReciprocatingWaterToWater_Static,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_HeatPumps_Validation_ReciprocatingWaterToWater_Static",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_HeatPumps_Validation_ReciprocatingWaterToWater_Static",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.001045/0.001045, allocations: 189.7 kB / 7.802 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.4528/0.4528, 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.238/1.238, allocations: 221.4 MB / 342.8 MB, free: 5.09 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.0009772/0.0009773, allocations: 99.66 kB / 415.5 MB, free: 6.348 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1748/0.1758, allocations: 78.43 MB / 493.9 MB, free: 7.922 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3873/0.5632, allocations: 72.3 MB / 0.553 GB, free: 73.2 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6459/1.209, allocations: 386.2 MB / 0.9301 GB, free: 2.449 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000252/1.209, allocations: 82.7 kB / 0.9302 GB, free: 2.41 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: 294 * Number of variables: 294 Notification: Performance of Generate backend data structure: time 1.979/3.188, allocations: 0.5623 GB / 1.493 GB, free: 84.08 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.599e-05/3.188, allocations: 12.22 kB / 1.493 GB, free: 84.08 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005274/3.194, allocations: 0.6615 MB / 1.493 GB, free: 83.99 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005192/3.199, allocations: 1.785 MB / 1.495 GB, free: 83.63 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001656/3.199, allocations: 87.34 kB / 1.495 GB, free: 83.59 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004034/3.2, allocations: 68.12 kB / 1.495 GB, free: 83.59 MB / 0.6042 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002541/3.202, allocations: 1.005 MB / 1.496 GB, free: 83.59 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00241/3.205, allocations: 1.272 MB / 1.497 GB, free: 83.32 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.081e-05/3.205, allocations: 0 / 1.497 GB, free: 83.32 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001212/3.205, allocations: 6.156 kB / 1.497 GB, free: 83.32 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.669e-05/3.205, allocations: 54.25 kB / 1.497 GB, free: 83.32 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0108/3.216, allocations: 7.288 MB / 1.504 GB, free: 79.79 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009142/3.217, allocations: 0.5241 MB / 1.505 GB, free: 79.77 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004429/3.217, allocations: 313.9 kB / 1.505 GB, free: 79.75 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001206/3.218, allocations: 1.271 MB / 1.507 GB, free: 78.34 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.454e-05/3.218, allocations: 44.84 kB / 1.507 GB, free: 78.3 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=64): time 2.896e-06/3.218, allocations: 0 / 1.507 GB, free: 78.3 MB / 0.6042 GB Notification: Performance of matching and sorting (n=64): time 0.002206/3.22, allocations: 0.8027 MB / 1.507 GB, free: 78.18 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.194e-05/3.22, allocations: 107.4 kB / 1.507 GB, free: 78.05 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0013/3.222, allocations: 0.9669 MB / 1.508 GB, free: 77.91 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 8.891e-05/3.222, allocations: 28.86 kB / 1.508 GB, free: 77.88 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003898/3.222, allocations: 0.5308 MB / 1.509 GB, free: 77.56 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001943/3.223, allocations: 210.2 kB / 1.509 GB, free: 77.43 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.309e-05/3.223, allocations: 2.438 kB / 1.509 GB, free: 77.43 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 8.627e-05/3.223, allocations: 331.9 kB / 1.509 GB, free: 77.12 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004696/3.223, allocations: 293.1 kB / 1.51 GB, free: 77.12 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006224/3.224, allocations: 0.5623 MB / 1.51 GB, free: 76.8 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001132/3.225, allocations: 401 kB / 1.511 GB, free: 76.79 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.57e-06/3.225, allocations: 7.375 kB / 1.511 GB, free: 76.79 MB / 0.6042 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.002287/3.227, allocations: 1.076 MB / 1.512 GB, free: 76.68 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005348/3.228, allocations: 2.455 MB / 1.514 GB, free: 74.14 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.207e-05/3.228, allocations: 10.75 kB / 1.514 GB, free: 74.14 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008576/3.229, allocations: 360.3 kB / 1.514 GB, free: 74.12 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001422/3.23, allocations: 254 kB / 1.515 GB, free: 74.12 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001494/3.232, allocations: 1.094 MB / 1.516 GB, free: 73.59 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002386/3.234, allocations: 225.9 kB / 1.516 GB, free: 73.55 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000123/3.234, allocations: 54.47 kB / 1.516 GB, free: 73.55 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 9.327e-06/3.234, allocations: 2.656 kB / 1.516 GB, free: 73.55 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002082/3.236, allocations: 0.9245 MB / 1.517 GB, free: 73.53 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.125e-06/3.236, allocations: 6.938 kB / 1.517 GB, free: 73.53 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000754/3.237, allocations: 357.6 kB / 1.517 GB, free: 73.52 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001368/3.238, allocations: 249 kB / 1.518 GB, free: 73.52 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001396/3.24, allocations: 1.099 MB / 1.519 GB, free: 72.98 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002204/3.242, allocations: 195.1 kB / 1.519 GB, free: 72.95 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001175/3.242, allocations: 53.39 kB / 1.519 GB, free: 72.95 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * Number of states: 0 () * Number of discrete variables: 2 ($PRE.heaPum.com.isOn,heaPum.com.isOn) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (74): * 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): 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 {5 22} Notification: Performance of prepare postOptimizeDAE: time 0.0003623/3.242, allocations: 128.7 kB / 1.519 GB, free: 72.84 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002619/3.243, allocations: 127.3 kB / 1.519 GB, free: 72.77 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00232/3.245, allocations: 0.9292 MB / 1.52 GB, free: 72.7 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.205e-05/3.245, allocations: 7.094 kB / 1.52 GB, free: 72.7 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.16e-06/3.245, allocations: 0 / 1.52 GB, free: 72.7 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001517/3.247, allocations: 0.8158 MB / 1.521 GB, free: 72.51 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005232/3.252, allocations: 2.852 MB / 1.524 GB, free: 71.62 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.524e-06/3.252, allocations: 13.73 kB / 1.524 GB, free: 71.62 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009804/3.253, allocations: 162.1 kB / 1.524 GB, free: 71.62 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007394/3.254, allocations: 355.2 kB / 1.524 GB, free: 71.6 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.269e-05/3.254, allocations: 18.3 kB / 1.524 GB, free: 71.6 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002208/3.256, allocations: 1.202 MB / 1.525 GB, free: 71.07 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.231e-06/3.256, allocations: 5.781 kB / 1.525 GB, free: 71.07 MB / 0.6042 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00201/3.258, allocations: 1.23 MB / 1.527 GB, free: 70.51 MB / 0.6042 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002161/3.26, allocations: 1.669 MB / 1.528 GB, free: 69.57 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007008/3.261, allocations: 364.1 kB / 1.528 GB, free: 69.41 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002127/3.261, allocations: 6.906 kB / 1.528 GB, free: 69.41 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001599/3.263, allocations: 131.6 kB / 1.529 GB, free: 69.41 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001041/3.263, allocations: 49.23 kB / 1.529 GB, free: 69.4 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.612e-05/3.263, allocations: 45.22 kB / 1.529 GB, free: 69.4 MB / 0.6042 GB Notification: Performance of sort global known variables: time 0.001032/3.264, allocations: 0.7354 MB / 1.529 GB, free: 69.29 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.004535/3.268, allocations: 1.24 MB / 1.531 GB, free: 69.11 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 1 (heaPum.com.isOn) * Number of discrete states: 1 (heaPum.com.isOn) * Top-level inputs: 0 Notification: Strong component statistics for simulation (40): * Single equations (assignments): 37 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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 {5 22} Notification: Performance of Backend phase and start with SimCode phase: time 0.001826/3.27, allocations: 0.884 MB / 1.531 GB, free: 68.89 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.002612/3.273, allocations: 1.246 MB / 1.533 GB, free: 68.85 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 5.23e-06/3.273, allocations: 3.875 kB / 1.533 GB, free: 68.85 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.001305/3.274, allocations: 467.8 kB / 1.533 GB, free: 68.84 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002701/3.277, allocations: 0.5586 MB / 1.534 GB, free: 68.84 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005774/3.283, allocations: 1.951 MB / 1.536 GB, free: 68.27 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001111/3.284, allocations: 1.376 MB / 1.537 GB, free: 67.54 MB / 0.6042 GB Notification: Performance of SimCode: time 1.383e-06/3.284, allocations: 0 / 1.537 GB, free: 67.54 MB / 0.6042 GB (rm -f IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_HeatPumps_Validation_ReciprocatingWaterToWater_Static_fmu --startTime=0 --stopTime=1000 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_HeatPumps_Validation_ReciprocatingWaterToWater_Static.fmu > IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static.pipe 2>&1)