Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.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.TWetBul_TDryBulXi,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Psychrometrics_Examples_TWetBul_TDryBulXi",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Psychrometrics_Examples_TWetBul_TDryBulXi",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.002285/0.002285, allocations: 183.7 kB / 7.803 MB, free: 2.199 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4713/0.4713, 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.367/1.367, allocations: 221.4 MB / 342.8 MB, free: 5.242 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.001063/0.001063, allocations: 99.19 kB / 415.5 MB, free: 6.379 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1918/0.1929, allocations: 78.43 MB / 493.9 MB, free: 7.941 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4176/0.6106, allocations: 72.31 MB / 0.553 GB, free: 73.34 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 3.664/4.275, allocations: 1.668 GB / 2.22 GB, free: 124.5 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002726/4.275, allocations: 84.02 kB / 2.221 GB, free: 124.5 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: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.1116/4.387, allocations: 56.09 MB / 2.275 GB, free: 76.37 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 5.221e-05/4.387, allocations: 8 kB / 2.275 GB, free: 76.36 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007119/4.388, allocations: 67.81 kB / 2.275 GB, free: 76.3 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002998/4.388, allocations: 194.8 kB / 2.276 GB, free: 76.07 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.53e-05/4.388, allocations: 0 / 2.276 GB, free: 76.07 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.991e-05/4.388, allocations: 8 kB / 2.276 GB, free: 76.06 MB / 0.6042 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002485/4.389, allocations: 75.97 kB / 2.276 GB, free: 75.98 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002151/4.389, allocations: 154.8 kB / 2.276 GB, free: 75.81 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.197e-05/4.389, allocations: 0 / 2.276 GB, free: 75.81 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.214e-05/4.389, allocations: 0 / 2.276 GB, free: 75.81 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.125e-06/4.389, allocations: 4 kB / 2.276 GB, free: 75.81 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001114/4.39, allocations: 0.7976 MB / 2.277 GB, free: 74.95 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00019/4.39, allocations: 94.55 kB / 2.277 GB, free: 74.84 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.612e-05/4.39, allocations: 52.84 kB / 2.277 GB, free: 74.79 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 3.179e-05/4.39, allocations: 0 / 2.277 GB, free: 74.79 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.221e-05/4.39, allocations: 38.5 kB / 2.277 GB, free: 74.74 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=8): time 1.493e-06/4.39, allocations: 0 / 2.277 GB, free: 74.74 MB / 0.6042 GB Notification: Performance of matching and sorting (n=8): time 0.0009125/4.391, allocations: 190.5 kB / 2.277 GB, free: 74.55 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.862e-05/4.391, allocations: 59.41 kB / 2.277 GB, free: 74.48 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.882e-05/4.391, allocations: 119.1 kB / 2.277 GB, free: 74.35 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 2.212e-05/4.391, allocations: 25.7 kB / 2.277 GB, free: 74.32 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 4.933e-05/4.391, allocations: 104 kB / 2.277 GB, free: 74.21 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.719e-05/4.391, allocations: 31.55 kB / 2.277 GB, free: 74.18 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.284e-05/4.392, allocations: 3.938 kB / 2.277 GB, free: 74.18 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 7.68e-05/4.392, allocations: 322.8 kB / 2.278 GB, free: 73.86 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.185e-05/4.392, allocations: 39.92 kB / 2.278 GB, free: 73.82 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.336e-05/4.392, allocations: 85.94 kB / 2.278 GB, free: 73.71 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.527e-05/4.392, allocations: 48 kB / 2.278 GB, free: 73.66 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/4.392, allocations: 0 / 2.278 GB, free: 73.66 MB / 0.6042 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0007412/4.393, allocations: 214.2 kB / 2.278 GB, free: 73.45 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.475e-05/4.393, allocations: 4 kB / 2.278 GB, free: 73.44 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.636e-06/4.393, allocations: 7.906 kB / 2.278 GB, free: 73.43 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006398/4.393, allocations: 84.89 kB / 2.278 GB, free: 73.35 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002489/4.394, allocations: 47.91 kB / 2.278 GB, free: 73.3 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001814/4.395, allocations: 1.488 MB / 2.28 GB, free: 71.69 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002479/4.396, allocations: 31.98 kB / 2.28 GB, free: 71.66 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.664e-05/4.396, allocations: 4 kB / 2.28 GB, free: 71.66 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 9 * 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 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0001089/4.396, allocations: 109 kB / 2.28 GB, free: 71.54 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.407e-05/4.396, allocations: 7.906 kB / 2.28 GB, free: 71.54 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008101/4.397, allocations: 254.7 kB / 2.28 GB, free: 71.28 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.581e-06/4.397, allocations: 4 kB / 2.28 GB, free: 71.27 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.244e-06/4.397, allocations: 0 / 2.28 GB, free: 71.27 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.973e-06/4.397, allocations: 3.984 kB / 2.28 GB, free: 71.27 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000239/4.397, allocations: 210 kB / 2.28 GB, free: 71.03 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/4.397, allocations: 0 / 2.28 GB, free: 71.03 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002297/4.397, allocations: 39.97 kB / 2.28 GB, free: 70.99 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005189/4.398, allocations: 84.77 kB / 2.28 GB, free: 70.9 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.574e-05/4.398, allocations: 7.984 kB / 2.28 GB, free: 70.89 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001613/4.399, allocations: 1.512 MB / 2.282 GB, free: 69.27 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.524e-06/4.399, allocations: 0 / 2.282 GB, free: 69.27 MB / 0.6042 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0006903/4.4, allocations: 316.2 kB / 2.282 GB, free: 68.94 MB / 0.6042 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0007919/4.401, allocations: 0.6934 MB / 2.283 GB, free: 68.22 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.994e-05/4.401, allocations: 88.95 kB / 2.283 GB, free: 68.12 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.094e-05/4.401, allocations: 3.938 kB / 2.283 GB, free: 68.11 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002386/4.401, allocations: 27.97 kB / 2.283 GB, free: 68.09 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.325e-05/4.401, allocations: 7.984 kB / 2.283 GB, free: 68.08 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.772e-05/4.401, allocations: 0 / 2.283 GB, free: 68.08 MB / 0.6042 GB Notification: Performance of sort global known variables: time 5.03e-05/4.401, allocations: 106 kB / 2.283 GB, free: 67.98 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.001185/4.403, allocations: 127.9 kB / 2.283 GB, free: 67.85 MB / 0.6042 GB 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 (10): * Single equations (assignments): 9 * 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 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.00093/4.404, allocations: 0.7047 MB / 2.284 GB, free: 67.15 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.00055/4.404, allocations: 229.9 kB / 2.284 GB, free: 66.91 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/4.404, allocations: 0 / 2.284 GB, free: 66.91 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0003358/4.404, allocations: 196.6 kB / 2.284 GB, free: 66.71 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002515/4.405, allocations: 19.89 kB / 2.284 GB, free: 66.7 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007779/4.405, allocations: 215.3 kB / 2.284 GB, free: 66.46 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002722/4.406, allocations: 0.7345 MB / 2.285 GB, free: 65.7 MB / 0.6042 GB Notification: Performance of SimCode: time 2.61e-07/4.406, allocations: 0 / 2.285 GB, free: 65.7 MB / 0.6042 GB (rm -f IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Utilities_Psychrometrics_Examples_TWetBul_TDryBulXi_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Utilities_Psychrometrics_Examples_TWetBul_TDryBulXi.fmu > IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe 2>&1)