Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_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.HeatPumps.Validation.Carnot_TCon_etaPL,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_HeatPumps_Validation_Carnot_TCon_etaPL",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_HeatPumps_Validation_Carnot_TCon_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.001193/0.001193, allocations: 191.7 kB / 7.808 MB, free: 2.438 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4553/0.4553, allocations: 90.86 MB / 99.08 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.31/1.31, allocations: 221.4 MB / 342.8 MB, free: 5.434 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.0009795/0.0009796, allocations: 99.44 kB / 415.5 MB, free: 6.48 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1792/0.1802, allocations: 78.44 MB / 493.9 MB, free: 8.031 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3838/0.564, allocations: 72.3 MB / 0.553 GB, free: 73.2 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6335/1.198, allocations: 386.2 MB / 0.9301 GB, free: 5.016 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002242/1.198, allocations: 85.95 kB / 0.9302 GB, free: 4.973 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: 192 * Number of variables: 192 Notification: Performance of Generate backend data structure: time 3.708/4.906, allocations: 1.071 GB / 2.001 GB, free: 76.25 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.26e-05/4.906, allocations: 10.75 kB / 2.001 GB, free: 76.25 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002571/4.909, allocations: 487 kB / 2.001 GB, free: 76.18 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003574/4.912, allocations: 1.313 MB / 2.002 GB, free: 75.88 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003639/4.913, allocations: 106.1 kB / 2.003 GB, free: 75.88 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002102/4.913, allocations: 49.44 kB / 2.003 GB, free: 75.88 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001388/4.914, allocations: 0.6352 MB / 2.003 GB, free: 75.87 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00148/4.916, allocations: 0.7638 MB / 2.004 GB, free: 75.71 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.034e-05/4.916, allocations: 3.875 kB / 2.004 GB, free: 75.71 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.893e-05/4.916, allocations: 0 / 2.004 GB, free: 75.71 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.644e-05/4.916, allocations: 34.06 kB / 2.004 GB, free: 75.71 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007219/4.923, allocations: 4.78 MB / 2.009 GB, free: 73.13 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002685/4.926, allocations: 0.688 MB / 2.009 GB, free: 73.11 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002838/4.926, allocations: 215.6 kB / 2.01 GB, free: 73.1 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005209/4.927, allocations: 0.9104 MB / 2.01 GB, free: 72.07 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.318e-05/4.927, allocations: 36.59 kB / 2.011 GB, free: 72.03 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=43): time 3.096e-06/4.927, allocations: 0 / 2.011 GB, free: 72.03 MB / 0.6355 GB Notification: Performance of matching and sorting (n=43): time 0.00309/4.93, allocations: 0.7894 MB / 2.011 GB, free: 71.93 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.339e-05/4.93, allocations: 58.16 kB / 2.011 GB, free: 71.87 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001128/4.931, allocations: 0.7447 MB / 2.012 GB, free: 71.73 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 8.465e-05/4.931, allocations: 29.64 kB / 2.012 GB, free: 71.7 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.000207/4.932, allocations: 388.9 kB / 2.012 GB, free: 71.47 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.000113/4.932, allocations: 142.8 kB / 2.013 GB, free: 71.38 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.012e-05/4.932, allocations: 0 / 2.013 GB, free: 71.38 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 7.58e-05/4.932, allocations: 325.4 kB / 2.013 GB, free: 71.07 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002964/4.932, allocations: 181.3 kB / 2.013 GB, free: 71.07 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004091/4.933, allocations: 418.2 kB / 2.013 GB, free: 70.8 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007375/4.933, allocations: 274.4 kB / 2.014 GB, free: 70.79 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.106e-06/4.933, allocations: 0 / 2.014 GB, free: 70.79 MB / 0.6355 GB Notification: Performance of matching and sorting (n=62) (initialization): time 0.002998/4.936, allocations: 0.9465 MB / 2.015 GB, free: 70.69 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002726/4.937, allocations: 1.57 MB / 2.016 GB, free: 69.05 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.969e-06/4.937, allocations: 4.906 kB / 2.016 GB, free: 69.05 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007006/4.937, allocations: 249 kB / 2.016 GB, free: 69.04 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005277/4.938, allocations: 119.4 kB / 2.017 GB, free: 69.04 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009485/4.939, allocations: 0.8848 MB / 2.017 GB, free: 68.52 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001349/4.94, allocations: 173.7 kB / 2.018 GB, free: 68.5 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.935e-05/4.94, allocations: 33.58 kB / 2.018 GB, free: 68.5 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 7.314e-06/4.94, allocations: 7.953 kB / 2.018 GB, free: 68.5 MB / 0.6355 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002779/4.943, allocations: 0.8218 MB / 2.018 GB, free: 68.47 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.362e-06/4.943, allocations: 3.656 kB / 2.018 GB, free: 68.47 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006089/4.944, allocations: 238.2 kB / 2.019 GB, free: 68.46 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005119/4.944, allocations: 126 kB / 2.019 GB, free: 68.46 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008208/4.945, allocations: 0.8738 MB / 2.02 GB, free: 67.93 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00113/4.946, allocations: 151.2 kB / 2.02 GB, free: 67.91 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.34e-05/4.946, allocations: 37.64 kB / 2.02 GB, free: 67.91 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * 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.000172/4.946, allocations: 113.2 kB / 2.02 GB, free: 67.81 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001402/4.947, allocations: 97.75 kB / 2.02 GB, free: 67.76 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00316/4.95, allocations: 0.9826 MB / 2.021 GB, free: 67.7 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.353e-05/4.95, allocations: 8.344 kB / 2.021 GB, free: 67.69 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/4.95, allocations: 0 / 2.021 GB, free: 67.69 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.675e-06/4.95, allocations: 3.703 kB / 2.021 GB, free: 67.69 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004155/4.954, allocations: 1.93 MB / 2.023 GB, free: 67.3 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.611e-06/4.954, allocations: 3.531 kB / 2.023 GB, free: 67.3 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002888/4.954, allocations: 69.72 kB / 2.023 GB, free: 67.3 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000661/4.955, allocations: 250.7 kB / 2.023 GB, free: 67.29 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.016e-05/4.955, allocations: 5.781 kB / 2.023 GB, free: 67.29 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009262/4.956, allocations: 0.9128 MB / 2.024 GB, free: 66.76 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.497e-06/4.956, allocations: 3.094 kB / 2.024 GB, free: 66.76 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002916/4.959, allocations: 1.143 MB / 2.025 GB, free: 66.36 MB / 0.6355 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.003049/4.962, allocations: 1.578 MB / 2.027 GB, free: 65.6 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004617/4.962, allocations: 267.6 kB / 2.027 GB, free: 65.45 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000145/4.963, allocations: 7.375 kB / 2.027 GB, free: 65.45 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008784/4.963, allocations: 106.5 kB / 2.027 GB, free: 65.44 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.138e-05/4.964, allocations: 41.38 kB / 2.027 GB, free: 65.44 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.715e-05/4.964, allocations: 25.22 kB / 2.027 GB, free: 65.44 MB / 0.6355 GB Notification: Performance of sort global known variables: time 0.0007763/4.964, allocations: 0.5697 MB / 2.028 GB, free: 65.33 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.003203/4.968, allocations: 0.8022 MB / 2.029 GB, free: 65.22 MB / 0.6355 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.001126/4.969, allocations: 0.6772 MB / 2.029 GB, free: 65.05 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.001643/4.97, allocations: 0.8135 MB / 2.03 GB, free: 65.02 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 4.168e-06/4.97, allocations: 0 / 2.03 GB, free: 65.02 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0004455/4.971, allocations: 269.1 kB / 2.03 GB, free: 65.02 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001639/4.973, allocations: 370.2 kB / 2.031 GB, free: 65.02 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004982/4.978, allocations: 1.625 MB / 2.032 GB, free: 64.59 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009559/4.978, allocations: 1.169 MB / 2.033 GB, free: 63.88 MB / 0.6355 GB Notification: Performance of SimCode: time 5.51e-07/4.978, allocations: 0.6875 kB / 2.033 GB, free: 63.88 MB / 0.6355 GB (rm -f IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_HeatPumps_Validation_Carnot_TCon_etaPL_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_HeatPumps_Validation_Carnot_TCon_etaPL.fmu > IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.pipe 2>&1)