Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi,fileNamePrefix="Buildings_8_Buildings_Utilities_Psychrometrics_Examples_TWetBul_TDryBulXi",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi,fileNamePrefix="Buildings_8_Buildings_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/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.627/1.627, allocations: 289.8 MB / 297.1 MB, free: 6.656 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00159/0.00159, allocations: 175.7 kB / 366.3 MB, free: 1.996 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.529/1.529, allocations: 205.1 MB / 0.6256 GB, free: 7.477 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001101/0.001101, allocations: 89 kB / 0.7395 GB, free: 39.88 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2918/0.2929, allocations: 122.4 MB / 0.8591 GB, free: 13.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7209/1.014, allocations: 116.3 MB / 0.9726 GB, free: 76.32 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.914/4.928, allocations: 2.057 GB / 3.03 GB, free: 68.37 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003562/4.929, allocations: 80.61 kB / 3.03 GB, free: 68.29 MB / 0.948 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.1796/5.108, allocations: 58.41 MB / 3.087 GB, free: 9.102 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.159e-05/5.108, allocations: 12 kB / 3.087 GB, free: 9.09 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009599/5.109, allocations: 51.83 kB / 3.087 GB, free: 9.039 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002832/5.11, allocations: 202.8 kB / 3.087 GB, free: 8.801 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.653e-05/5.11, allocations: 4 kB / 3.087 GB, free: 8.797 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.956e-05/5.11, allocations: 4 kB / 3.087 GB, free: 8.793 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003123/5.11, allocations: 79.97 kB / 3.087 GB, free: 8.715 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003079/5.11, allocations: 154.3 kB / 3.087 GB, free: 8.543 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.422e-05/5.11, allocations: 0 / 3.087 GB, free: 8.543 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.94e-05/5.11, allocations: 7.906 kB / 3.087 GB, free: 8.535 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.847e-06/5.11, allocations: 6.156 kB / 3.087 GB, free: 8.531 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001432/5.112, allocations: 0.787 MB / 3.088 GB, free: 7.68 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002436/5.112, allocations: 98.44 kB / 3.088 GB, free: 7.574 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001308/5.112, allocations: 56.78 kB / 3.088 GB, free: 7.516 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 3.056e-05/5.112, allocations: 0 / 3.088 GB, free: 7.516 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.122e-05/5.112, allocations: 30.56 kB / 3.088 GB, free: 7.477 MB / 0.948 GB Notification: Performance of pre-optimization done (n=8): time 1.362e-06/5.112, allocations: 4 kB / 3.088 GB, free: 7.473 MB / 0.948 GB Notification: Performance of matching and sorting (n=8): time 0.001201/5.113, allocations: 194.4 kB / 3.089 GB, free: 7.273 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.734e-05/5.114, allocations: 51.41 kB / 3.089 GB, free: 7.211 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001074/5.114, allocations: 124.1 kB / 3.089 GB, free: 7.082 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 2.512e-05/5.114, allocations: 25.7 kB / 3.089 GB, free: 7.051 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 5.325e-05/5.114, allocations: 107.9 kB / 3.089 GB, free: 6.941 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 3.427e-05/5.114, allocations: 27.56 kB / 3.089 GB, free: 6.914 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.765e-05/5.114, allocations: 0 / 3.089 GB, free: 6.914 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 6.495e-05/5.114, allocations: 318.8 kB / 3.089 GB, free: 6.594 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001199/5.114, allocations: 43.98 kB / 3.089 GB, free: 6.551 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001438/5.114, allocations: 82 kB / 3.089 GB, free: 6.449 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001427/5.114, allocations: 53.39 kB / 3.089 GB, free: 6.398 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.604e-06/5.114, allocations: 0 / 3.089 GB, free: 6.398 MB / 0.948 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.001144/5.116, allocations: 206.3 kB / 3.09 GB, free: 6.188 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.66e-05/5.116, allocations: 4 kB / 3.09 GB, free: 6.184 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.265e-06/5.116, allocations: 0 / 3.09 GB, free: 6.184 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009555/5.117, allocations: 88.89 kB / 3.09 GB, free: 6.094 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003634/5.117, allocations: 45.73 kB / 3.09 GB, free: 6.051 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002574/5.119, allocations: 1.496 MB / 3.091 GB, free: 4.434 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003468/5.12, allocations: 23.97 kB / 3.091 GB, free: 4.41 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.159e-05/5.12, allocations: 7.984 kB / 3.091 GB, free: 4.402 MB / 0.948 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.0001286/5.12, allocations: 116.9 kB / 3.091 GB, free: 4.281 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.305e-05/5.12, allocations: 8.094 kB / 3.091 GB, free: 4.273 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001063/5.121, allocations: 250.8 kB / 3.092 GB, free: 4.02 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.472e-06/5.121, allocations: 5.688 kB / 3.092 GB, free: 4.016 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.536e-06/5.121, allocations: 0 / 3.092 GB, free: 4.016 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.187e-06/5.121, allocations: 4 kB / 3.092 GB, free: 4.012 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003058/5.122, allocations: 206 kB / 3.092 GB, free: 3.773 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.665e-06/5.122, allocations: 0 / 3.092 GB, free: 3.773 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003314/5.122, allocations: 43.89 kB / 3.092 GB, free: 3.73 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007946/5.123, allocations: 88.77 kB / 3.092 GB, free: 3.641 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.122e-05/5.123, allocations: 0 / 3.092 GB, free: 3.641 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002337/5.125, allocations: 1.514 MB / 3.093 GB, free: 2.008 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.748e-06/5.125, allocations: 0 / 3.093 GB, free: 2.008 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001081/5.126, allocations: 312.8 kB / 3.094 GB, free: 1.684 MB / 0.948 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001475/5.128, allocations: 0.6974 MB / 3.094 GB, free: 0.9648 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 4.917e-05/5.128, allocations: 81.02 kB / 3.094 GB, free: 0.8672 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.517e-05/5.128, allocations: 0 / 3.094 GB, free: 0.8672 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004768/5.128, allocations: 28.11 kB / 3.094 GB, free: 0.8398 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.374e-05/5.128, allocations: 19.91 kB / 3.094 GB, free: 0.8203 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.314e-05/5.128, allocations: 4 kB / 3.094 GB, free: 0.8164 MB / 0.948 GB Notification: Performance of sort global known variables: time 8.203e-05/5.129, allocations: 95.27 kB / 3.095 GB, free: 0.7227 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.002381/5.131, allocations: 143.2 kB / 3.095 GB, free: 0.5859 MB / 0.948 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.3911/5.522, allocations: 0.6949 MB / 3.095 GB, free: 408.2 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0007741/5.523, allocations: 231.9 kB / 3.096 GB, free: 408.1 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 3.918e-06/5.523, allocations: 0 / 3.096 GB, free: 408.1 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0003316/5.523, allocations: 190.4 kB / 3.096 GB, free: 408 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002759/5.524, allocations: 13.05 kB / 3.096 GB, free: 408 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007495/5.524, allocations: 226.2 kB / 3.096 GB, free: 407.9 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002345/5.525, allocations: 0.7333 MB / 3.097 GB, free: 407.2 MB / 0.948 GB Notification: Performance of SimCode: time 7.12e-07/5.525, allocations: 0 / 3.097 GB, free: 407.2 MB / 0.948 GB (rm -f Buildings_8_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe ; mkfifo Buildings_8_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe >> ../files/Buildings_8_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Utilities_Psychrometrics_Examples_TWetBul_TDryBulXi_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Utilities_Psychrometrics_Examples_TWetBul_TDryBulXi.fmu > Buildings_8_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe 2>&1)