Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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_IDEAS_Utilities_Psychrometrics_Functions_Examples_pW_TDewPoi",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi,fileNamePrefix="IDEAS_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.002393/0.002393, allocations: 174.5 kB / 7.452 MB, free: 2.316 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.713/0.713, allocations: 133.5 MB / 141.4 MB, free: 15.7 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.7/1.7, allocations: 221.3 MB / 395 MB, free: 10.16 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.0009472/0.0009471, allocations: 110.1 kB / 477.8 MB, free: 10.75 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.552/0.553, allocations: 88.43 MB / 0.5529 GB, free: 89.23 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2276/0.7806, allocations: 82.3 MB / 0.6333 GB, free: 13.94 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6867/1.467, allocations: 111.9 MB / 0.7426 GB, free: 10.63 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002403/1.468, allocations: 80.27 kB / 0.7427 GB, free: 10.63 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.01853/1.486, allocations: 6.239 MB / 0.7488 GB, free: 25.91 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.691e-05/1.486, allocations: 7.688 kB / 0.7488 GB, free: 25.91 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000161/1.486, allocations: 11.69 kB / 0.7488 GB, free: 25.91 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001174/1.487, allocations: 164.3 kB / 0.749 GB, free: 25.71 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.262e-05/1.487, allocations: 3.781 kB / 0.749 GB, free: 25.71 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.086e-05/1.487, allocations: 0 / 0.749 GB, free: 25.71 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.984e-05/1.487, allocations: 13.22 kB / 0.749 GB, free: 25.71 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.406e-05/1.487, allocations: 45.05 kB / 0.749 GB, free: 25.67 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.037e-06/1.487, allocations: 0 / 0.749 GB, free: 25.67 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.429e-05/1.487, allocations: 3.906 kB / 0.749 GB, free: 25.67 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.669e-06/1.487, allocations: 0 / 0.749 GB, free: 25.67 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001487/1.487, allocations: 132.5 kB / 0.7492 GB, free: 25.51 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009162/1.488, allocations: 128.3 kB / 0.7493 GB, free: 25.48 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.261e-05/1.488, allocations: 23.09 kB / 0.7493 GB, free: 25.46 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001229/1.488, allocations: 82.73 kB / 0.7494 GB, free: 25.37 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.409e-05/1.488, allocations: 35.06 kB / 0.7494 GB, free: 25.33 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=4): time 1.102e-06/1.488, allocations: 0 / 0.7494 GB, free: 25.33 MB / 0.5105 GB Notification: Performance of matching and sorting (n=4): time 0.0001657/1.488, allocations: 56.03 kB / 0.7495 GB, free: 25.3 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.408e-05/1.488, allocations: 55.41 kB / 0.7495 GB, free: 25.23 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.281e-05/1.488, allocations: 85.66 kB / 0.7496 GB, free: 25.14 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.605e-05/1.488, allocations: 29.48 kB / 0.7496 GB, free: 25.11 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 3.134e-05/1.489, allocations: 80.75 kB / 0.7497 GB, free: 25.03 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 3.205e-05/1.489, allocations: 8.609 kB / 0.7497 GB, free: 25.02 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.677e-06/1.489, allocations: 0 / 0.7497 GB, free: 25.02 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001031/1.489, allocations: 315.5 kB / 0.75 GB, free: 24.71 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.653e-05/1.489, allocations: 10.66 kB / 0.75 GB, free: 24.71 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.48e-05/1.489, allocations: 15.38 kB / 0.75 GB, free: 24.7 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.736e-05/1.489, allocations: 11.22 kB / 0.7501 GB, free: 24.7 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/1.489, allocations: 0 / 0.7501 GB, free: 24.7 MB / 0.5105 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001007/1.489, allocations: 53.48 kB / 0.7501 GB, free: 24.67 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 9.958e-06/1.489, allocations: 3.812 kB / 0.7501 GB, free: 24.67 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.089e-06/1.489, allocations: 0.6562 kB / 0.7501 GB, free: 24.67 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.134e-05/1.489, allocations: 0 / 0.7501 GB, free: 24.67 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.901e-05/1.489, allocations: 12.77 kB / 0.7501 GB, free: 24.66 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.949e-06/1.489, allocations: 0.6562 kB / 0.7501 GB, free: 24.66 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.96e-05/1.489, allocations: 7.844 kB / 0.7501 GB, free: 24.66 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.418e-06/1.489, allocations: 11.53 kB / 0.7501 GB, free: 24.65 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 0.0001117/1.489, allocations: 104.9 kB / 0.7502 GB, free: 24.54 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.041e-05/1.489, allocations: 0.6562 kB / 0.7502 GB, free: 24.54 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002706/1.489, allocations: 88.67 kB / 0.7503 GB, free: 24.49 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.024e-06/1.489, allocations: 0 / 0.7503 GB, free: 24.49 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.448e-06/1.489, allocations: 0 / 0.7503 GB, free: 24.49 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.516e-06/1.489, allocations: 0.6562 kB / 0.7503 GB, free: 24.49 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001024/1.49, allocations: 136.2 kB / 0.7505 GB, free: 24.33 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/1.49, allocations: 0 / 0.7505 GB, free: 24.33 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.513e-05/1.49, allocations: 16.88 kB / 0.7505 GB, free: 24.32 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.404e-06/1.49, allocations: 0.5156 kB / 0.7505 GB, free: 24.32 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.764e-06/1.49, allocations: 3.844 kB / 0.7505 GB, free: 24.32 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.615e-06/1.49, allocations: 8.688 kB / 0.7505 GB, free: 24.32 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.984e-06/1.49, allocations: 0 / 0.7505 GB, free: 24.32 MB / 0.5105 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001206/1.49, allocations: 83.8 kB / 0.7506 GB, free: 24.25 MB / 0.5105 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002364/1.49, allocations: 471.6 kB / 0.751 GB, free: 23.81 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 5.975e-05/1.49, allocations: 83.34 kB / 0.7511 GB, free: 23.71 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.446e-05/1.49, allocations: 3.906 kB / 0.7511 GB, free: 23.71 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.793e-05/1.49, allocations: 0.6094 kB / 0.7511 GB, free: 23.71 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.51e-05/1.49, allocations: 5.125 kB / 0.7511 GB, free: 23.71 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.384e-06/1.49, allocations: 4.312 kB / 0.7511 GB, free: 23.71 MB / 0.5105 GB Notification: Performance of sort global known variables: time 3.571e-05/1.49, allocations: 75.28 kB / 0.7512 GB, free: 23.64 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0008144/1.491, allocations: 56.25 kB / 0.7512 GB, free: 23.62 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.0004274/1.492, allocations: 184.3 kB / 0.7514 GB, free: 23.52 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 8.287e-05/1.492, allocations: 27.53 kB / 0.7514 GB, free: 23.51 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/1.492, allocations: 0 / 0.7514 GB, free: 23.51 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 2.134e-05/1.492, allocations: 11.67 kB / 0.7514 GB, free: 23.51 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001211/1.492, allocations: 5.047 kB / 0.7514 GB, free: 23.51 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002286/1.492, allocations: 67.45 kB / 0.7515 GB, free: 23.45 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002647/1.492, allocations: 0.6997 MB / 0.7522 GB, free: 22.74 MB / 0.5105 GB Notification: Performance of SimCode: time 2.51e-07/1.492, allocations: 0 / 0.7522 GB, free: 22.74 MB / 0.5105 GB (rm -f IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.pipe ; mkfifo IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.pipe >> ../files/IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Utilities_Psychrometrics_Functions_Examples_pW_TDewPoi_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Utilities_Psychrometrics_Functions_Examples_pW_TDewPoi.fmu > IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.pipe 2>&1)