Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Utilities_Psychrometrics_Examples_TWetBul_TDryBulXi",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi,fileNamePrefix="Buildings_maint_7_0_x_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 7.0.3-maint.7.0.x/package.mo): time 1.266/1.266, allocations: 249.4 MB / 256.7 MB, free: 7.047 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009748/0.0009746, allocations: 185.1 kB / 316 MB, free: 3.555 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.185/1.185, allocations: 205.1 MB / 0.5667 GB, free: 15.7 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008448/0.0008447, allocations: 82.7 kB / 0.671 GB, free: 4.836 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.3324/0.3332, allocations: 112.5 MB / 0.7808 GB, free: 103 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1503/0.4836, allocations: 106.3 MB / 0.8847 GB, free: 12.59 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.648/4.132, allocations: 2.175 GB / 3.06 GB, free: 220.9 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002396/4.132, allocations: 75.95 kB / 3.06 GB, free: 220.8 MB / 0.8698 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.09976/4.232, allocations: 56.88 MB / 3.116 GB, free: 162.9 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 3.78e-05/4.232, allocations: 8 kB / 3.116 GB, free: 162.8 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005801/4.232, allocations: 59.83 kB / 3.116 GB, free: 162.8 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001755/4.233, allocations: 202.8 kB / 3.116 GB, free: 162.5 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.007e-05/4.233, allocations: 4 kB / 3.116 GB, free: 162.5 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.562e-05/4.233, allocations: 7.906 kB / 3.116 GB, free: 162.5 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001915/4.233, allocations: 87.92 kB / 3.116 GB, free: 162.4 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001835/4.233, allocations: 145.8 kB / 3.116 GB, free: 162.3 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.774e-06/4.233, allocations: 0 / 3.116 GB, free: 162.3 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.951e-05/4.233, allocations: 4 kB / 3.116 GB, free: 162.3 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.611e-06/4.233, allocations: 0 / 3.116 GB, free: 162.3 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008982/4.234, allocations: 0.8016 MB / 3.117 GB, free: 161.4 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001523/4.234, allocations: 98.55 kB / 3.117 GB, free: 161.3 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.967e-05/4.234, allocations: 52.78 kB / 3.117 GB, free: 161.3 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.305e-05/4.234, allocations: 3.984 kB / 3.117 GB, free: 161.2 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.379e-05/4.234, allocations: 38.5 kB / 3.117 GB, free: 161.2 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=8): time 1.263e-06/4.234, allocations: 0 / 3.117 GB, free: 161.2 MB / 0.8698 GB Notification: Performance of matching and sorting (n=8): time 0.0007792/4.235, allocations: 194.3 kB / 3.117 GB, free: 161 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.969e-05/4.235, allocations: 51.41 kB / 3.117 GB, free: 160.9 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.948e-05/4.235, allocations: 119.7 kB / 3.117 GB, free: 160.8 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 1.862e-05/4.235, allocations: 29.7 kB / 3.117 GB, free: 160.8 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 3.568e-05/4.235, allocations: 108 kB / 3.118 GB, free: 160.7 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 2.293e-05/4.235, allocations: 23.56 kB / 3.118 GB, free: 160.6 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.261e-05/4.235, allocations: 0 / 3.118 GB, free: 160.6 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 5.006e-05/4.235, allocations: 322.8 kB / 3.118 GB, free: 160.3 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.934e-05/4.235, allocations: 43.92 kB / 3.118 GB, free: 160.3 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.024e-05/4.236, allocations: 86.14 kB / 3.118 GB, free: 160.2 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.972e-05/4.236, allocations: 51.94 kB / 3.118 GB, free: 160.1 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/4.236, allocations: 0 / 3.118 GB, free: 160.1 MB / 0.8698 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0006868/4.236, allocations: 214.2 kB / 3.118 GB, free: 159.9 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.205e-05/4.236, allocations: 4 kB / 3.118 GB, free: 159.9 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.99e-06/4.236, allocations: 4 kB / 3.118 GB, free: 159.9 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005896/4.237, allocations: 84.89 kB / 3.118 GB, free: 159.8 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002286/4.237, allocations: 47.89 kB / 3.118 GB, free: 159.8 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001588/4.239, allocations: 1.476 MB / 3.12 GB, free: 158.2 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002186/4.239, allocations: 31.94 kB / 3.12 GB, free: 158.1 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.95e-05/4.239, allocations: 11.98 kB / 3.12 GB, free: 158.1 MB / 0.8698 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 6.952e-05/4.239, allocations: 106.9 kB / 3.12 GB, free: 158 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.57e-05/4.239, allocations: 7.906 kB / 3.12 GB, free: 158 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007096/4.24, allocations: 246.9 kB / 3.12 GB, free: 157.8 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.205e-06/4.24, allocations: 7.938 kB / 3.12 GB, free: 157.7 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.42e-07/4.24, allocations: 0 / 3.12 GB, free: 157.7 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.517e-06/4.24, allocations: 0 / 3.12 GB, free: 157.7 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001753/4.24, allocations: 214 kB / 3.12 GB, free: 157.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.873e-06/4.24, allocations: 8 kB / 3.12 GB, free: 157.5 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002111/4.24, allocations: 35.97 kB / 3.12 GB, free: 157.5 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004861/4.241, allocations: 88.77 kB / 3.121 GB, free: 157.4 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.769e-05/4.241, allocations: 0 / 3.121 GB, free: 157.4 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001417/4.242, allocations: 1.507 MB / 3.122 GB, free: 155.7 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/4.242, allocations: 0 / 3.122 GB, free: 155.7 MB / 0.8698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0006289/4.243, allocations: 320.2 kB / 3.122 GB, free: 155.4 MB / 0.8698 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0007405/4.244, allocations: 0.6935 MB / 3.123 GB, free: 154.7 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 2.122e-05/4.244, allocations: 88.95 kB / 3.123 GB, free: 154.6 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.792e-05/4.244, allocations: 0 / 3.123 GB, free: 154.6 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002283/4.244, allocations: 27.97 kB / 3.123 GB, free: 154.6 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.417e-05/4.244, allocations: 15.89 kB / 3.123 GB, free: 154.5 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.512e-05/4.244, allocations: 0 / 3.123 GB, free: 154.5 MB / 0.8698 GB Notification: Performance of sort global known variables: time 3.664e-05/4.244, allocations: 101.6 kB / 3.123 GB, free: 154.4 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0009881/4.245, allocations: 127.9 kB / 3.123 GB, free: 154.3 MB / 0.8698 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.0007166/4.246, allocations: 0.7214 MB / 3.124 GB, free: 153.6 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0004802/4.246, allocations: 225.7 kB / 3.124 GB, free: 153.4 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 2.315e-06/4.246, allocations: 0 / 3.124 GB, free: 153.4 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0002963/4.247, allocations: 193.9 kB / 3.124 GB, free: 153.2 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002088/4.247, allocations: 15.89 kB / 3.124 GB, free: 153.2 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006621/4.247, allocations: 219.3 kB / 3.125 GB, free: 152.9 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002363/4.248, allocations: 0.7267 MB / 3.125 GB, free: 152.2 MB / 0.8698 GB Notification: Performance of SimCode: time 1.052e-06/4.248, allocations: 0 / 3.125 GB, free: 152.2 MB / 0.8698 GB (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Utilities_Psychrometrics_Examples_TWetBul_TDryBulXi_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Utilities_Psychrometrics_Examples_TWetBul_TDryBulXi.fmu > Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe 2>&1)