Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.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/IDEAS 3.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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Psychrometrics_Functions_Examples_pW_TDewPoi",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi,fileNamePrefix="IDEAS_dev_IDEAS_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/Complex 4.0.0+maint.om/package.mo): time 0.004398/0.004398, allocations: 184.3 kB / 7.46 MB, free: 2.238 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7232/0.7232, allocations: 133.5 MB / 141.4 MB, free: 15.75 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.508/1.508, allocations: 221.3 MB / 395 MB, free: 10.21 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001097/0.001097, allocations: 90.86 kB / 477.8 MB, free: 10.81 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.4281/0.4293, allocations: 88.44 MB / 0.5529 GB, free: 88.89 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1848/0.6141, allocations: 82.3 MB / 0.6333 GB, free: 14.01 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5296/1.144, allocations: 111.9 MB / 0.7426 GB, free: 11.02 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002173/1.144, allocations: 80.09 kB / 0.7427 GB, free: 11.02 MB / 0.4948 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.01895/1.163, allocations: 6.237 MB / 0.7488 GB, free: 26.29 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.995e-05/1.163, allocations: 11.41 kB / 0.7488 GB, free: 26.29 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001694/1.163, allocations: 11.98 kB / 0.7488 GB, free: 26.29 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001295/1.163, allocations: 167.2 kB / 0.749 GB, free: 26.09 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.939e-06/1.163, allocations: 0 / 0.749 GB, free: 26.09 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.003e-05/1.163, allocations: 4.594 kB / 0.749 GB, free: 26.09 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.348e-05/1.163, allocations: 13.55 kB / 0.749 GB, free: 26.09 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.157e-05/1.164, allocations: 49.75 kB / 0.749 GB, free: 26.05 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.404e-06/1.164, allocations: 0 / 0.749 GB, free: 26.05 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.287e-05/1.164, allocations: 3.906 kB / 0.749 GB, free: 26.04 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.488e-06/1.164, allocations: 0 / 0.749 GB, free: 26.04 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001651/1.164, allocations: 133.4 kB / 0.7492 GB, free: 25.89 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000886/1.165, allocations: 127.3 kB / 0.7493 GB, free: 25.86 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.671e-05/1.165, allocations: 21.61 kB / 0.7493 GB, free: 25.84 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001279/1.165, allocations: 82.36 kB / 0.7494 GB, free: 25.75 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.28e-05/1.165, allocations: 38.38 kB / 0.7494 GB, free: 25.71 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=4): time 1.052e-06/1.165, allocations: 0 / 0.7494 GB, free: 25.71 MB / 0.5105 GB Notification: Performance of matching and sorting (n=4): time 0.0001928/1.165, allocations: 61.77 kB / 0.7495 GB, free: 25.67 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.892e-05/1.165, allocations: 55.92 kB / 0.7495 GB, free: 25.6 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.87e-05/1.165, allocations: 85.61 kB / 0.7496 GB, free: 25.51 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.828e-05/1.165, allocations: 25.7 kB / 0.7496 GB, free: 25.48 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 4.538e-05/1.165, allocations: 84.02 kB / 0.7497 GB, free: 25.4 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 3.205e-05/1.165, allocations: 8.703 kB / 0.7497 GB, free: 25.39 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.118e-06/1.165, allocations: 0 / 0.7497 GB, free: 25.39 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001102/1.165, allocations: 316.2 kB / 0.75 GB, free: 25.08 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.733e-05/1.165, allocations: 7.344 kB / 0.75 GB, free: 25.08 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.39e-05/1.165, allocations: 12.38 kB / 0.75 GB, free: 25.07 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.734e-05/1.166, allocations: 10.27 kB / 0.7501 GB, free: 25.07 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/1.166, allocations: 0 / 0.7501 GB, free: 25.07 MB / 0.5105 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.000104/1.166, allocations: 56.66 kB / 0.7501 GB, free: 25.04 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.356e-05/1.166, allocations: 4.453 kB / 0.7501 GB, free: 25.04 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.259e-06/1.166, allocations: 0 / 0.7501 GB, free: 25.04 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.043e-05/1.166, allocations: 0 / 0.7501 GB, free: 25.04 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.249e-05/1.166, allocations: 12.94 kB / 0.7501 GB, free: 25.04 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.889e-06/1.166, allocations: 0.7031 kB / 0.7501 GB, free: 25.04 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.048e-05/1.166, allocations: 3.906 kB / 0.7501 GB, free: 25.04 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.608e-06/1.166, allocations: 0.5625 kB / 0.7501 GB, free: 25.04 MB / 0.5105 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 6.982e-05/1.166, allocations: 112.8 kB / 0.7502 GB, free: 24.92 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.02e-05/1.166, allocations: 0.7969 kB / 0.7502 GB, free: 24.92 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002702/1.166, allocations: 80.75 kB / 0.7503 GB, free: 24.87 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.719e-06/1.166, allocations: 4.453 kB / 0.7503 GB, free: 24.87 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/1.166, allocations: 0 / 0.7503 GB, free: 24.87 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.687e-06/1.166, allocations: 0.7031 kB / 0.7503 GB, free: 24.87 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001072/1.166, allocations: 132.3 kB / 0.7504 GB, free: 24.71 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.71e-07/1.166, allocations: 0 / 0.7504 GB, free: 24.71 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.874e-05/1.166, allocations: 19.66 kB / 0.7505 GB, free: 24.71 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.346e-06/1.166, allocations: 4.797 kB / 0.7505 GB, free: 24.7 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.977e-06/1.166, allocations: 0 / 0.7505 GB, free: 24.7 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.485e-06/1.166, allocations: 7.75 kB / 0.7505 GB, free: 24.7 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.348e-06/1.166, allocations: 0.75 kB / 0.7505 GB, free: 24.7 MB / 0.5105 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001278/1.167, allocations: 90.66 kB / 0.7506 GB, free: 24.63 MB / 0.5105 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002522/1.167, allocations: 471.8 kB / 0.751 GB, free: 24.19 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 6.604e-05/1.167, allocations: 83.02 kB / 0.7511 GB, free: 24.09 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.833e-05/1.167, allocations: 8.312 kB / 0.7511 GB, free: 24.09 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.07e-05/1.167, allocations: 4.453 kB / 0.7511 GB, free: 24.08 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.993e-05/1.167, allocations: 1.031 kB / 0.7511 GB, free: 24.08 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.203e-06/1.167, allocations: 4.484 kB / 0.7511 GB, free: 24.08 MB / 0.5105 GB Notification: Performance of sort global known variables: time 3.255e-05/1.167, allocations: 75.28 kB / 0.7512 GB, free: 24.01 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0008648/1.168, allocations: 59.45 kB / 0.7512 GB, free: 23.99 MB / 0.5105 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.0004631/1.168, allocations: 168.6 kB / 0.7514 GB, free: 23.89 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 9.339e-05/1.169, allocations: 23.39 kB / 0.7514 GB, free: 23.89 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/1.169, allocations: 0 / 0.7514 GB, free: 23.89 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 2.959e-05/1.169, allocations: 21.94 kB / 0.7514 GB, free: 23.89 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001279/1.169, allocations: 2.016 kB / 0.7514 GB, free: 23.89 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002784/1.169, allocations: 69.19 kB / 0.7515 GB, free: 23.82 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003813/1.169, allocations: 0.6992 MB / 0.7522 GB, free: 23.11 MB / 0.5105 GB Notification: Performance of SimCode: time 2.51e-07/1.169, allocations: 0 / 0.7522 GB, free: 23.11 MB / 0.5105 GB (rm -f IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Utilities_Psychrometrics_Functions_Examples_pW_TDewPoi_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Utilities_Psychrometrics_Functions_Examples_pW_TDewPoi.fmu > IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.pipe 2>&1)