Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.HumidityRatioPressure.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.Utilities.Psychrometrics.Examples.HumidityRatioPressure,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Psychrometrics_Examples_HumidityRatioPressure",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Psychrometrics.Examples.HumidityRatioPressure,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Psychrometrics_Examples_HumidityRatioPressure",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.00127/0.00127, allocations: 187.8 kB / 7.805 MB, free: 2.488 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7034/0.7034, allocations: 90.85 MB / 99.07 MB, free: 14.94 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.412/1.412, allocations: 221.4 MB / 342.7 MB, free: 5.5 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.001195/0.001195, allocations: 99.2 kB / 415.5 MB, free: 6.445 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1902/0.1914, allocations: 78.43 MB / 493.9 MB, free: 8.008 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5097/0.7011, allocations: 72.31 MB / 0.553 GB, free: 73.23 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1734/0.8747, allocations: 103 MB / 0.6536 GB, free: 6.961 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002994/0.875, allocations: 79.94 kB / 0.6536 GB, free: 6.883 MB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.01428/0.8893, allocations: 3.572 MB / 0.6571 GB, free: 3.312 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.002e-05/0.8894, allocations: 12.77 kB / 0.6571 GB, free: 3.301 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003176/0.8897, allocations: 28.97 kB / 0.6572 GB, free: 3.273 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002659/0.89, allocations: 192.4 kB / 0.6573 GB, free: 3.047 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.343e-05/0.8901, allocations: 34.19 kB / 0.6574 GB, free: 3.008 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.438e-05/0.8901, allocations: 4.5 kB / 0.6574 GB, free: 3.004 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001929/0.8903, allocations: 44.53 kB / 0.6574 GB, free: 2.961 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001947/0.8905, allocations: 84.73 kB / 0.6575 GB, free: 2.875 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.135e-06/0.8906, allocations: 0 / 0.6575 GB, free: 2.875 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.991e-05/0.8906, allocations: 0 / 0.6575 GB, free: 2.875 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.422e-06/0.8906, allocations: 0.5312 kB / 0.6575 GB, free: 2.875 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007048/0.8913, allocations: 348.5 kB / 0.6578 GB, free: 2.5 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006352/0.892, allocations: 117.2 kB / 0.6579 GB, free: 2.379 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.778e-05/0.8921, allocations: 32.78 kB / 0.658 GB, free: 2.348 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.045e-05/0.8921, allocations: 0 / 0.658 GB, free: 2.348 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.448e-05/0.8921, allocations: 34.5 kB / 0.658 GB, free: 2.305 MB / 474.7 MB Notification: Performance of pre-optimization done (n=7): time 1.413e-06/0.8921, allocations: 0 / 0.658 GB, free: 2.305 MB / 474.7 MB Notification: Performance of matching and sorting (n=7): time 0.0002551/0.8924, allocations: 73.64 kB / 0.6581 GB, free: 2.227 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.127e-05/0.8924, allocations: 51.41 kB / 0.6581 GB, free: 2.164 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001559/0.8926, allocations: 113.2 kB / 0.6582 GB, free: 2.043 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 2.416e-05/0.8926, allocations: 25.7 kB / 0.6583 GB, free: 2.012 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.237e-05/0.8927, allocations: 99.97 kB / 0.6584 GB, free: 1.91 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.871e-05/0.8927, allocations: 19.66 kB / 0.6584 GB, free: 1.891 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.304e-06/0.8928, allocations: 0 / 0.6584 GB, free: 1.891 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001114/0.8929, allocations: 318.8 kB / 0.6587 GB, free: 1.57 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.463e-05/0.8929, allocations: 20 kB / 0.6587 GB, free: 1.551 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.603e-05/0.893, allocations: 33.66 kB / 0.6587 GB, free: 1.512 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.035e-05/0.8931, allocations: 27.89 kB / 0.6588 GB, free: 1.484 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.8931, allocations: 0 / 0.6588 GB, free: 1.484 MB / 474.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001903/0.8933, allocations: 80.75 kB / 0.6588 GB, free: 1.402 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.674e-05/0.8933, allocations: 7.984 kB / 0.6588 GB, free: 1.395 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.631e-06/0.8933, allocations: 0 / 0.6588 GB, free: 1.395 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.287e-05/0.8934, allocations: 0 / 0.6588 GB, free: 1.395 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001811/0.8935, allocations: 27.92 kB / 0.6589 GB, free: 1.367 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.785e-06/0.8936, allocations: 4.031 kB / 0.6589 GB, free: 1.363 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001218/0.8937, allocations: 8 kB / 0.6589 GB, free: 1.355 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.021e-05/0.8937, allocations: 0 / 0.6589 GB, free: 1.355 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 8 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.082e-05/0.8938, allocations: 108.9 kB / 0.659 GB, free: 1.242 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.107e-05/0.8939, allocations: 7.891 kB / 0.659 GB, free: 1.234 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.635e-05/0.8939, allocations: 16.38 kB / 0.659 GB, free: 1.219 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.873e-06/0.8939, allocations: 4 kB / 0.659 GB, free: 1.215 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.841e-06/0.894, allocations: 1.625 kB / 0.659 GB, free: 1.215 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.761e-06/0.894, allocations: 3.984 kB / 0.659 GB, free: 1.211 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002456/0.8942, allocations: 170.1 kB / 0.6592 GB, free: 1.008 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-06/0.8942, allocations: 0 / 0.6592 GB, free: 1.008 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001562/0.8944, allocations: 23.89 kB / 0.6592 GB, free: 0.9844 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.384e-06/0.8944, allocations: 0 / 0.6592 GB, free: 0.9844 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.251e-05/0.8944, allocations: 0 / 0.6592 GB, free: 0.9844 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.8944, allocations: 8 kB / 0.6592 GB, free: 0.9766 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.829e-06/0.8945, allocations: 0 / 0.6592 GB, free: 0.9766 MB / 474.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002149/0.8947, allocations: 176.8 kB / 0.6594 GB, free: 0.7891 MB / 474.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003292/0.895, allocations: 0.5428 MB / 0.6599 GB, free: 232 kB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.524e-05/0.8951, allocations: 81.02 kB / 0.66 GB, free: 132 kB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.586e-05/0.8951, allocations: 5.625 kB / 0.66 GB, free: 128 kB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002542/0.8954, allocations: 19.89 kB / 0.66 GB, free: 108 kB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.382e-05/0.8954, allocations: 4 kB / 0.66 GB, free: 104 kB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.974e-05/0.8955, allocations: 7.984 kB / 0.66 GB, free: 96 kB / 474.7 MB Notification: Performance of sort global known variables: time 6.676e-05/0.8955, allocations: 96.53 kB / 0.6601 GB, free: 0 / 474.7 MB Notification: Performance of remove unused functions: time 0.001401/0.897, allocations: 16.05 kB / 0.6601 GB, free: 15.98 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 7 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001558/0.8971, allocations: 104.8 kB / 0.6602 GB, free: 15.88 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0001749/0.8973, allocations: 41.88 kB / 0.6603 GB, free: 15.84 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.8973, allocations: 3.375 kB / 0.6603 GB, free: 15.84 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 6.581e-05/0.8974, allocations: 27.94 kB / 0.6603 GB, free: 15.81 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000387/0.8978, allocations: 23.95 kB / 0.6603 GB, free: 15.79 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000517/0.8983, allocations: 136.6 kB / 0.6605 GB, free: 15.63 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004159/0.8987, allocations: 0.7153 MB / 0.6612 GB, free: 14.89 MB / 490.7 MB Notification: Performance of SimCode: time 3.51e-07/0.8988, allocations: 0 / 0.6612 GB, free: 14.89 MB / 490.7 MB (rm -f IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.HumidityRatioPressure.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Utilities_Psychrometrics_Examples_HumidityRatioPressure_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Utilities_Psychrometrics_Examples_HumidityRatioPressure.fmu > IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe 2>&1)