Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir.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.TotalAirDryAir,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Utilities_Psychrometrics_Examples_TotalAirDryAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir,fileNamePrefix="Buildings_maint_7_0_x_Buildings_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/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.239/1.239, allocations: 249.4 MB / 256.7 MB, free: 15.82 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001119/0.00112, allocations: 175.6 kB / 316 MB, free: 7.203 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.357/1.357, allocations: 205.1 MB / 0.5667 GB, free: 23.59 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.0008357/0.0008357, allocations: 89.5 kB / 0.671 GB, free: 0.8789 MB / 0.4948 GB Notification: Performance of FrontEnd - loaded program: time 0.2148/0.2157, allocations: 112.5 MB / 0.7808 GB, free: 304 kB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4118/0.6275, allocations: 106.3 MB / 0.8846 GB, free: 76.34 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1456/0.7732, allocations: 131.6 MB / 1.013 GB, free: 8.527 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00024/0.7735, allocations: 75.95 kB / 1.013 GB, free: 8.453 MB / 0.6667 GB 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.006954/0.7804, allocations: 2.421 MB / 1.016 GB, free: 5.984 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 3.277e-05/0.7805, allocations: 8 kB / 1.016 GB, free: 5.977 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.861e-05/0.7805, allocations: 7.906 kB / 1.016 GB, free: 5.969 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001199/0.7806, allocations: 166.9 kB / 1.016 GB, free: 5.766 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.15e-05/0.7807, allocations: 37.69 kB / 1.016 GB, free: 5.723 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.686e-06/0.7807, allocations: 8 kB / 1.016 GB, free: 5.715 MB / 0.6667 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.182e-05/0.7808, allocations: 16 kB / 1.016 GB, free: 5.699 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.752e-05/0.7809, allocations: 53.69 kB / 1.016 GB, free: 5.641 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.073e-06/0.7809, allocations: 0 / 1.016 GB, free: 5.641 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.272e-05/0.7809, allocations: 3.938 kB / 1.016 GB, free: 5.637 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.517e-06/0.7809, allocations: 0 / 1.016 GB, free: 5.637 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004542/0.7814, allocations: 285.3 kB / 1.016 GB, free: 5.32 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 5.489e-05/0.7815, allocations: 34.58 kB / 1.016 GB, free: 5.277 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.278e-05/0.7815, allocations: 16.86 kB / 1.016 GB, free: 5.258 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 1.161e-05/0.7815, allocations: 3.906 kB / 1.016 GB, free: 5.254 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.945e-05/0.7815, allocations: 34.56 kB / 1.016 GB, free: 5.211 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=4): time 1.062e-06/0.7815, allocations: 3.938 kB / 1.016 GB, free: 5.207 MB / 0.6667 GB Notification: Performance of matching and sorting (n=4): time 0.0001388/0.7817, allocations: 53.78 kB / 1.016 GB, free: 5.148 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.915e-05/0.7817, allocations: 55.34 kB / 1.016 GB, free: 5.082 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.525e-05/0.7818, allocations: 97 kB / 1.016 GB, free: 4.98 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 1.504e-05/0.7818, allocations: 25.7 kB / 1.016 GB, free: 4.949 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 3.926e-05/0.7819, allocations: 92.03 kB / 1.017 GB, free: 4.855 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 1.545e-05/0.7819, allocations: 15.75 kB / 1.017 GB, free: 4.84 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.206e-06/0.7819, allocations: 0 / 1.017 GB, free: 4.84 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 9.339e-05/0.782, allocations: 318.8 kB / 1.017 GB, free: 4.52 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.04e-05/0.782, allocations: 8 kB / 1.017 GB, free: 4.512 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.998e-05/0.7821, allocations: 25.7 kB / 1.017 GB, free: 4.48 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.496e-05/0.7821, allocations: 12 kB / 1.017 GB, free: 4.469 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.222e-06/0.7821, allocations: 0 / 1.017 GB, free: 4.469 MB / 0.6667 GB Notification: Performance of matching and sorting (n=5) (initialization): time 9.156e-05/0.7822, allocations: 69.56 kB / 1.017 GB, free: 4.395 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 9.097e-06/0.7822, allocations: 7.938 kB / 1.017 GB, free: 4.387 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.407e-06/0.7822, allocations: 4.031 kB / 1.017 GB, free: 4.383 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.444e-06/0.7822, allocations: 0 / 1.017 GB, free: 4.383 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001092/0.7824, allocations: 15.98 kB / 1.017 GB, free: 4.367 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.002e-06/0.7824, allocations: 4 kB / 1.017 GB, free: 4.363 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.987e-05/0.7824, allocations: 4 kB / 1.017 GB, free: 4.359 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.44e-06/0.7825, allocations: 8 kB / 1.017 GB, free: 4.352 MB / 0.6667 GB 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 5.038e-05/0.7825, allocations: 112.8 kB / 1.017 GB, free: 4.234 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.983e-05/0.7825, allocations: 4 kB / 1.017 GB, free: 4.23 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.272e-05/0.7826, allocations: 8 kB / 1.017 GB, free: 4.219 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.282e-06/0.7826, allocations: 0 / 1.017 GB, free: 4.219 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.627e-06/0.7826, allocations: 0 / 1.017 GB, free: 4.219 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.058e-06/0.7826, allocations: 3.906 kB / 1.017 GB, free: 4.215 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001259/0.7827, allocations: 150.2 kB / 1.017 GB, free: 4.031 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.42e-07/0.7827, allocations: 0 / 1.017 GB, free: 4.031 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.677e-05/0.7828, allocations: 12 kB / 1.017 GB, free: 4.02 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.846e-06/0.7828, allocations: 7.984 kB / 1.017 GB, free: 4.012 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.131e-06/0.7828, allocations: 0 / 1.017 GB, free: 4.012 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.62e-07/0.7828, allocations: 0 / 1.017 GB, free: 4.012 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.362e-06/0.7828, allocations: 0 / 1.017 GB, free: 4.012 MB / 0.6667 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001018/0.7829, allocations: 147.5 kB / 1.017 GB, free: 3.852 MB / 0.6667 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0001846/0.7831, allocations: 0.5271 MB / 1.018 GB, free: 3.305 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 2.812e-05/0.7832, allocations: 81.02 kB / 1.018 GB, free: 3.207 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.423e-05/0.7832, allocations: 0 / 1.018 GB, free: 3.207 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001453/0.7833, allocations: 23.92 kB / 1.018 GB, free: 3.184 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.774e-05/0.7834, allocations: 3.984 kB / 1.018 GB, free: 3.18 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.568e-06/0.7834, allocations: 4 kB / 1.018 GB, free: 3.176 MB / 0.6667 GB Notification: Performance of sort global known variables: time 3.263e-05/0.7834, allocations: 83.28 kB / 1.018 GB, free: 3.094 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.0007481/0.7842, allocations: 15.84 kB / 1.018 GB, free: 3.078 MB / 0.6667 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 (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.0001021/0.7843, allocations: 95.25 kB / 1.018 GB, free: 2.977 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 8.676e-05/0.7844, allocations: 27.98 kB / 1.018 GB, free: 2.949 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.7844, allocations: 8 kB / 1.018 GB, free: 2.941 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 2.707e-05/0.7844, allocations: 16 kB / 1.018 GB, free: 2.926 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001607/0.7846, allocations: 0 / 1.018 GB, free: 2.926 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002326/0.7848, allocations: 83.81 kB / 1.018 GB, free: 2.816 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002652/0.7851, allocations: 0.6971 MB / 1.019 GB, free: 2.098 MB / 0.6667 GB Notification: Performance of SimCode: time 2.5e-07/0.7851, allocations: 0 / 1.019 GB, free: 2.098 MB / 0.6667 GB (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Utilities_Psychrometrics_Examples_TotalAirDryAir_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Utilities_Psychrometrics_Examples_TotalAirDryAir.fmu > Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir.pipe 2>&1)