Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.TotalAirDryAir.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.TotalAirDryAir,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Psychrometrics_Examples_TotalAirDryAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Psychrometrics.Examples.TotalAirDryAir,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Psychrometrics_Examples_TotalAirDryAir",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.001816/0.001816, 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.5613/0.5613, allocations: 90.85 MB / 99.07 MB, free: 14.99 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.519/1.519, 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.001016/0.001016, allocations: 85.61 kB / 415.5 MB, free: 9.871 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1783/0.1794, allocations: 78.45 MB / 493.9 MB, free: 11.52 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3742/0.5536, allocations: 72.31 MB / 0.553 GB, free: 44.82 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1259/0.6796, allocations: 101.5 MB / 0.6521 GB, free: 7.18 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003113/0.68, allocations: 77.73 kB / 0.6522 GB, free: 7.105 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.007799/0.6878, allocations: 2.435 MB / 0.6546 GB, free: 4.633 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.431e-05/0.6878, allocations: 8 kB / 0.6546 GB, free: 4.625 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.591e-05/0.6879, allocations: 15.89 kB / 0.6546 GB, free: 4.609 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001257/0.688, allocations: 172.7 kB / 0.6547 GB, free: 4.402 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.174e-05/0.6881, allocations: 29.7 kB / 0.6548 GB, free: 4.367 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.207e-05/0.6881, allocations: 4 kB / 0.6548 GB, free: 4.363 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.508e-05/0.6882, allocations: 27.89 kB / 0.6548 GB, free: 4.336 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.837e-05/0.6883, allocations: 53.62 kB / 0.6548 GB, free: 4.277 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.824e-06/0.6883, allocations: 0 / 0.6548 GB, free: 4.277 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.486e-05/0.6884, allocations: 0 / 0.6548 GB, free: 4.277 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.699e-06/0.6884, allocations: 0 / 0.6548 GB, free: 4.277 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004991/0.6889, allocations: 281.3 kB / 0.6551 GB, free: 3.965 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.906e-05/0.689, allocations: 30.58 kB / 0.6551 GB, free: 3.926 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.037e-05/0.689, allocations: 20.8 kB / 0.6552 GB, free: 3.902 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.408e-05/0.6891, allocations: 4 kB / 0.6552 GB, free: 3.898 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.784e-05/0.6891, allocations: 38.64 kB / 0.6552 GB, free: 3.852 MB / 474.7 MB Notification: Performance of pre-optimization done (n=4): time 1.092e-06/0.6891, allocations: 0 / 0.6552 GB, free: 3.852 MB / 474.7 MB Notification: Performance of matching and sorting (n=4): time 0.0002005/0.6893, allocations: 49.61 kB / 0.6553 GB, free: 3.797 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.697e-05/0.6894, allocations: 55.41 kB / 0.6553 GB, free: 3.73 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.593e-05/0.6895, allocations: 101 kB / 0.6554 GB, free: 3.625 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 2.962e-05/0.6895, allocations: 25.7 kB / 0.6554 GB, free: 3.594 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.822e-05/0.6896, allocations: 88.89 kB / 0.6555 GB, free: 3.504 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.904e-05/0.6896, allocations: 19.77 kB / 0.6555 GB, free: 3.484 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.288e-06/0.6896, allocations: 0 / 0.6555 GB, free: 3.484 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.000113/0.6897, allocations: 318.8 kB / 0.6558 GB, free: 3.164 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.247e-05/0.6898, allocations: 8 kB / 0.6558 GB, free: 3.156 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.818e-05/0.6898, allocations: 29.66 kB / 0.6559 GB, free: 3.121 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.494e-05/0.6898, allocations: 4 kB / 0.6559 GB, free: 3.117 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.6898, allocations: 0 / 0.6559 GB, free: 3.117 MB / 474.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.874e-05/0.6899, allocations: 57.69 kB / 0.6559 GB, free: 3.055 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.209e-05/0.69, allocations: 4.938 kB / 0.6559 GB, free: 3.051 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.132e-06/0.69, allocations: 3.906 kB / 0.6559 GB, free: 3.047 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.257e-05/0.69, allocations: 4 kB / 0.6559 GB, free: 3.043 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001663/0.6902, allocations: 20.02 kB / 0.656 GB, free: 3.023 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.137e-06/0.6902, allocations: 3.938 kB / 0.656 GB, free: 3.02 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001173/0.6903, allocations: 11.98 kB / 0.656 GB, free: 3.008 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.217e-06/0.6903, allocations: 0 / 0.656 GB, free: 3.008 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 (5): * Single equations (assignments): 5 * 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 0.000109/0.6905, allocations: 109 kB / 0.6561 GB, free: 2.895 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.61e-05/0.6905, allocations: 3.906 kB / 0.6561 GB, free: 2.891 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.442e-05/0.6906, allocations: 8 kB / 0.6561 GB, free: 2.875 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-06/0.6906, allocations: 5.312 kB / 0.6561 GB, free: 2.871 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.125e-06/0.6906, allocations: 4.078 kB / 0.6561 GB, free: 2.867 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.113e-06/0.6906, allocations: 3.984 kB / 0.6561 GB, free: 2.863 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002073/0.6908, allocations: 154.2 kB / 0.6563 GB, free: 2.676 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.6908, allocations: 0 / 0.6563 GB, free: 2.676 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.925e-05/0.6909, allocations: 19.98 kB / 0.6563 GB, free: 2.656 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.703e-06/0.691, allocations: 0 / 0.6563 GB, free: 2.656 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.444e-06/0.691, allocations: 0 / 0.6563 GB, free: 2.656 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.002e-06/0.691, allocations: 0 / 0.6563 GB, free: 2.656 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.365e-06/0.691, allocations: 0 / 0.6563 GB, free: 2.656 MB / 474.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001357/0.6911, allocations: 155.4 kB / 0.6564 GB, free: 2.488 MB / 474.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002812/0.6914, allocations: 0.5156 MB / 0.6569 GB, free: 1.953 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.36e-05/0.6915, allocations: 89 kB / 0.657 GB, free: 1.848 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.175e-05/0.6915, allocations: 4 kB / 0.657 GB, free: 1.844 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001859/0.6917, allocations: 16.92 kB / 0.657 GB, free: 1.828 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.849e-05/0.6918, allocations: 8 kB / 0.657 GB, free: 1.82 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.919e-06/0.6918, allocations: 0 / 0.657 GB, free: 1.82 MB / 474.7 MB Notification: Performance of sort global known variables: time 4.453e-05/0.6918, allocations: 90.23 kB / 0.6571 GB, free: 1.734 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0008912/0.6927, allocations: 15.88 kB / 0.6571 GB, free: 1.719 MB / 474.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 (4): * Single equations (assignments): 4 * 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.0001312/0.6929, allocations: 103.2 kB / 0.6572 GB, free: 1.609 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 9.736e-05/0.693, allocations: 23.94 kB / 0.6573 GB, free: 1.586 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.693, allocations: 0 / 0.6573 GB, free: 1.586 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 3.002e-05/0.693, allocations: 12 kB / 0.6573 GB, free: 1.574 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001829/0.6932, allocations: 10.12 kB / 0.6573 GB, free: 1.566 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000269/0.6935, allocations: 79.81 kB / 0.6574 GB, free: 1.461 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003267/0.6938, allocations: 0.6954 MB / 0.658 GB, free: 0.7422 MB / 474.7 MB Notification: Performance of SimCode: time 2.5e-07/0.6939, allocations: 7.938 kB / 0.658 GB, free: 0.7344 MB / 474.7 MB (rm -f IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.TotalAirDryAir.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.TotalAirDryAir.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.TotalAirDryAir.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.TotalAirDryAir.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Utilities_Psychrometrics_Examples_TotalAirDryAir_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Utilities_Psychrometrics_Examples_TotalAirDryAir.fmu > IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.TotalAirDryAir.pipe 2>&1)