Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo", uses=false) 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/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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi,fileNamePrefix="Buildings_latest_Buildings_Utilities_Psychrometrics_Functions_Examples_pW_TDewPoi",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi,fileNamePrefix="Buildings_latest_Buildings_Utilities_Psychrometrics_Functions_Examples_pW_TDewPoi",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 10.0.0-master/package.mo): time 1.861/1.861, allocations: 390.4 MB / 397.7 MB, free: 11.25 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001119/0.001119, allocations: 191.6 kB / 490.8 MB, free: 1.93 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.135/1.135, allocations: 221.3 MB / 0.7863 GB, free: 13.63 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009317/0.0009318, allocations: 88.69 kB / 0.9264 GB, free: 14.16 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 0.4004/0.4014, allocations: 149.1 MB / 1.072 GB, free: 182.5 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1764/0.5778, allocations: 143 MB / 1.212 GB, free: 39.98 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.4843/1.062, allocations: 150.7 MB / 1.359 GB, free: 17.46 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001986/1.062, allocations: 82.69 kB / 1.359 GB, free: 17.46 MB / 0.823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.01725/1.08, allocations: 6.245 MB / 1.365 GB, free: 32.73 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.167e-05/1.08, allocations: 8.969 kB / 1.365 GB, free: 32.73 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000146/1.08, allocations: 8.375 kB / 1.365 GB, free: 32.73 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.87e-05/1.08, allocations: 165.9 kB / 1.365 GB, free: 32.53 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.747e-06/1.08, allocations: 0 / 1.365 GB, free: 32.53 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.937e-06/1.08, allocations: 2.219 kB / 1.365 GB, free: 32.53 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.428e-05/1.08, allocations: 16.78 kB / 1.365 GB, free: 32.52 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.042e-05/1.08, allocations: 43.94 kB / 1.365 GB, free: 32.49 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.28e-06/1.08, allocations: 3.938 kB / 1.365 GB, free: 32.49 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.608e-06/1.08, allocations: 2.156 kB / 1.365 GB, free: 32.49 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.058e-06/1.08, allocations: 1.125 kB / 1.365 GB, free: 32.49 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.018e-05/1.08, allocations: 133 kB / 1.365 GB, free: 32.33 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008231/1.081, allocations: 126.9 kB / 1.365 GB, free: 32.3 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.035e-05/1.081, allocations: 17.39 kB / 1.365 GB, free: 32.29 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 7.95e-05/1.081, allocations: 83.88 kB / 1.366 GB, free: 32.2 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.237e-05/1.081, allocations: 33.05 kB / 1.366 GB, free: 32.16 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=4): time 1.062e-06/1.081, allocations: 3.938 kB / 1.366 GB, free: 32.15 MB / 0.8386 GB Notification: Performance of matching and sorting (n=4): time 0.0001474/1.081, allocations: 61.66 kB / 1.366 GB, free: 32.11 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.321e-05/1.081, allocations: 52.58 kB / 1.366 GB, free: 32.05 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.068e-05/1.081, allocations: 86.44 kB / 1.366 GB, free: 31.96 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 8.325e-06/1.081, allocations: 25.7 kB / 1.366 GB, free: 31.93 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 2.01e-05/1.081, allocations: 81.48 kB / 1.366 GB, free: 31.85 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.085e-05/1.081, allocations: 13.95 kB / 1.366 GB, free: 31.84 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.467e-06/1.081, allocations: 0 / 1.366 GB, free: 31.84 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 7.62e-05/1.082, allocations: 313.6 kB / 1.366 GB, free: 31.53 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.664e-05/1.082, allocations: 15.53 kB / 1.366 GB, free: 31.52 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.362e-05/1.082, allocations: 5.078 kB / 1.366 GB, free: 31.52 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.938e-05/1.082, allocations: 12.08 kB / 1.366 GB, free: 31.52 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.283e-06/1.082, allocations: 0 / 1.366 GB, free: 31.52 MB / 0.8386 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.755e-05/1.082, allocations: 59.19 kB / 1.366 GB, free: 31.48 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 9.558e-06/1.082, allocations: 5.594 kB / 1.366 GB, free: 31.48 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.697e-06/1.082, allocations: 4 kB / 1.366 GB, free: 31.48 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.658e-06/1.082, allocations: 1.406 kB / 1.366 GB, free: 31.48 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.809e-05/1.082, allocations: 11.61 kB / 1.366 GB, free: 31.48 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.457e-06/1.082, allocations: 1.25 kB / 1.366 GB, free: 31.48 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.037e-05/1.082, allocations: 4 kB / 1.366 GB, free: 31.47 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.224e-06/1.082, allocations: 5.391 kB / 1.366 GB, free: 31.47 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (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 prepare postOptimizeDAE: time 4.932e-05/1.082, allocations: 111.3 kB / 1.366 GB, free: 31.36 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.021e-05/1.082, allocations: 1.125 kB / 1.366 GB, free: 31.36 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002379/1.082, allocations: 82.64 kB / 1.367 GB, free: 31.32 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.264e-06/1.082, allocations: 0 / 1.367 GB, free: 31.32 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.276e-06/1.082, allocations: 1.344 kB / 1.367 GB, free: 31.32 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.105e-06/1.082, allocations: 0 / 1.367 GB, free: 31.32 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.127e-05/1.082, allocations: 138.5 kB / 1.367 GB, free: 31.16 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/1.082, allocations: 6.281 kB / 1.367 GB, free: 31.15 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.576e-05/1.082, allocations: 8.812 kB / 1.367 GB, free: 31.15 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.984e-06/1.082, allocations: 3.938 kB / 1.367 GB, free: 31.15 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.554e-06/1.082, allocations: 1.375 kB / 1.367 GB, free: 31.15 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/1.082, allocations: 3.938 kB / 1.367 GB, free: 31.14 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.664e-06/1.082, allocations: 0 / 1.367 GB, free: 31.14 MB / 0.8386 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001084/1.083, allocations: 87.02 kB / 1.367 GB, free: 31.08 MB / 0.8386 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0001832/1.083, allocations: 467.7 kB / 1.367 GB, free: 30.64 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 3.288e-05/1.083, allocations: 80.5 kB / 1.367 GB, free: 30.54 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.441e-05/1.083, allocations: 2.75 kB / 1.367 GB, free: 30.54 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.058e-05/1.083, allocations: 7.625 kB / 1.367 GB, free: 30.54 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.826e-05/1.083, allocations: 3.219 kB / 1.367 GB, free: 30.54 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.733e-06/1.083, allocations: 5.625 kB / 1.367 GB, free: 30.54 MB / 0.8386 GB Notification: Performance of sort global known variables: time 2.387e-05/1.083, allocations: 77.25 kB / 1.367 GB, free: 30.46 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0009448/1.084, allocations: 58.97 kB / 1.367 GB, free: 30.44 MB / 0.8386 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 (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 Backend phase and start with SimCode phase: time 0.0003059/1.084, allocations: 175.2 kB / 1.368 GB, free: 30.34 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 8.04e-05/1.084, allocations: 26.72 kB / 1.368 GB, free: 30.34 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/1.084, allocations: 1.312 kB / 1.368 GB, free: 30.34 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 2.265e-05/1.084, allocations: 18.03 kB / 1.368 GB, free: 30.33 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001056/1.084, allocations: 6.719 kB / 1.368 GB, free: 30.33 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001917/1.085, allocations: 63.28 kB / 1.368 GB, free: 30.27 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002289/1.085, allocations: 0.6963 MB / 1.368 GB, free: 29.57 MB / 0.8386 GB Notification: Performance of SimCode: time 2.91e-07/1.085, allocations: 0 / 1.368 GB, free: 29.57 MB / 0.8386 GB (rm -f Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.pipe >> ../files/Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Psychrometrics_Functions_Examples_pW_TDewPoi_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_Psychrometrics_Functions_Examples_pW_TDewPoi.fmu > Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.pipe 2>&1)