Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_X.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_X,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Functions_Examples_pW_X",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_X,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Functions_Examples_pW_X",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/BuildingSystems 2.0.0-master/package.mo): time 0.6812/0.6812, allocations: 141.8 MB / 149.1 MB, free: 13.1 MB / 138.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001157/0.001157, allocations: 184.1 kB / 181.9 MB, free: 9.781 MB / 154.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.222/1.222, allocations: 221.4 MB / 436 MB, free: 2.18 MB / 330.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008843/0.0008843, allocations: 99.08 kB / 0.507 GB, free: 17.7 MB / 378.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001841/0.001841, allocations: 269.5 kB / 0.5884 GB, free: 3.742 MB / 442.9 MB Notification: Performance of FrontEnd - loaded program: time 0.337/0.3389, allocations: 89.65 MB / 0.676 GB, free: 136.3 MB / 0.5107 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1289/0.4678, allocations: 82.77 MB / 0.7568 GB, free: 82.96 MB / 0.5107 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1069/0.5747, allocations: 108.1 MB / 0.8624 GB, free: 6.652 MB / 0.5419 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002031/0.575, allocations: 84.53 kB / 0.8625 GB, free: 6.57 MB / 0.5419 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.00437/0.5794, allocations: 1.522 MB / 0.864 GB, free: 5.004 MB / 0.5419 GB Notification: Performance of prepare preOptimizeDAE: time 4.662e-05/0.5794, allocations: 9 kB / 0.864 GB, free: 4.996 MB / 0.5419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002184/0.5796, allocations: 19.97 kB / 0.864 GB, free: 4.977 MB / 0.5419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001176/0.5798, allocations: 174.8 kB / 0.8642 GB, free: 4.766 MB / 0.5419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.32e-05/0.5798, allocations: 0 / 0.8642 GB, free: 4.766 MB / 0.5419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.149e-05/0.5798, allocations: 4 kB / 0.8642 GB, free: 4.762 MB / 0.5419 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.71e-05/0.5799, allocations: 16 kB / 0.8642 GB, free: 4.746 MB / 0.5419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.511e-05/0.58, allocations: 37.69 kB / 0.8643 GB, free: 4.703 MB / 0.5419 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.344e-06/0.58, allocations: 0 / 0.8643 GB, free: 4.703 MB / 0.5419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.307e-05/0.58, allocations: 4 kB / 0.8643 GB, free: 4.699 MB / 0.5419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.759e-06/0.58, allocations: 0 / 0.8643 GB, free: 4.699 MB / 0.5419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000149/0.5802, allocations: 142.2 kB / 0.8644 GB, free: 4.523 MB / 0.5419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001948/0.5821, allocations: 274.4 kB / 0.8647 GB, free: 4.246 MB / 0.5419 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.181e-05/0.5822, allocations: 16.86 kB / 0.8647 GB, free: 4.227 MB / 0.5419 GB Notification: Performance of preOpt evalFunc (simulation): time 1.036e-05/0.5822, allocations: 0 / 0.8647 GB, free: 4.227 MB / 0.5419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.908e-05/0.5822, allocations: 30.56 kB / 0.8647 GB, free: 4.188 MB / 0.5419 GB Notification: Performance of pre-optimization done (n=4): time 1.142e-06/0.5822, allocations: 0 / 0.8647 GB, free: 4.188 MB / 0.5419 GB Notification: Performance of matching and sorting (n=4): time 0.0001381/0.5824, allocations: 53.78 kB / 0.8647 GB, free: 4.129 MB / 0.5419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.776e-05/0.5824, allocations: 51.41 kB / 0.8648 GB, free: 4.066 MB / 0.5419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.787e-05/0.5825, allocations: 89 kB / 0.8649 GB, free: 3.973 MB / 0.5419 GB Notification: Performance of collectPreVariables (initialization): time 1.386e-05/0.5825, allocations: 25.7 kB / 0.8649 GB, free: 3.941 MB / 0.5419 GB Notification: Performance of collectInitialEqns (initialization): time 2.308e-05/0.5825, allocations: 80.14 kB / 0.865 GB, free: 3.859 MB / 0.5419 GB Notification: Performance of collectInitialBindings (initialization): time 3.389e-05/0.5826, allocations: 19.8 kB / 0.865 GB, free: 3.84 MB / 0.5419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.266e-06/0.5826, allocations: 0 / 0.865 GB, free: 3.84 MB / 0.5419 GB Notification: Performance of setup shared object (initialization): time 8.359e-05/0.5827, allocations: 310.8 kB / 0.8653 GB, free: 3.527 MB / 0.5419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.979e-05/0.5827, allocations: 11.94 kB / 0.8653 GB, free: 3.516 MB / 0.5419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.423e-05/0.5827, allocations: 4 kB / 0.8653 GB, free: 3.512 MB / 0.5419 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.087e-05/0.5827, allocations: 8 kB / 0.8653 GB, free: 3.504 MB / 0.5419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.383e-06/0.5827, allocations: 4.125 kB / 0.8653 GB, free: 3.5 MB / 0.5419 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.675e-05/0.5828, allocations: 53.59 kB / 0.8654 GB, free: 3.441 MB / 0.5419 GB Notification: Performance of prepare postOptimizeDAE: time 1.415e-05/0.5829, allocations: 4 kB / 0.8654 GB, free: 3.438 MB / 0.5419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.348e-06/0.5829, allocations: 3.938 kB / 0.8654 GB, free: 3.434 MB / 0.5419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.35e-05/0.5829, allocations: 0 / 0.8654 GB, free: 3.434 MB / 0.5419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.963e-05/0.5829, allocations: 11.98 kB / 0.8654 GB, free: 3.422 MB / 0.5419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.036e-06/0.583, allocations: 0 / 0.8654 GB, free: 3.422 MB / 0.5419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.855e-05/0.583, allocations: 0 / 0.8654 GB, free: 3.422 MB / 0.5419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.528e-06/0.583, allocations: 0 / 0.8654 GB, free: 3.422 MB / 0.5419 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.132e-05/0.5831, allocations: 113 kB / 0.8655 GB, free: 3.305 MB / 0.5419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.029e-05/0.5831, allocations: 3.906 kB / 0.8655 GB, free: 3.301 MB / 0.5419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.617e-05/0.5831, allocations: 7.469 kB / 0.8655 GB, free: 3.289 MB / 0.5419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.366e-06/0.5831, allocations: 0 / 0.8655 GB, free: 3.289 MB / 0.5419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.367e-06/0.5831, allocations: 3.938 kB / 0.8655 GB, free: 3.285 MB / 0.5419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.354e-06/0.5831, allocations: 4 kB / 0.8655 GB, free: 3.281 MB / 0.5419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.633e-05/0.5832, allocations: 146.1 kB / 0.8657 GB, free: 3.098 MB / 0.5419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.243e-06/0.5832, allocations: 0 / 0.8657 GB, free: 3.098 MB / 0.5419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.845e-05/0.5833, allocations: 4 kB / 0.8657 GB, free: 3.094 MB / 0.5419 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.553e-06/0.5833, allocations: 0 / 0.8657 GB, free: 3.094 MB / 0.5419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.034e-06/0.5833, allocations: 4 kB / 0.8657 GB, free: 3.09 MB / 0.5419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.021e-06/0.5833, allocations: 4 kB / 0.8657 GB, free: 3.086 MB / 0.5419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.5833, allocations: 0 / 0.8657 GB, free: 3.086 MB / 0.5419 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 8.483e-05/0.5834, allocations: 81.02 kB / 0.8658 GB, free: 2.988 MB / 0.5419 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0001627/0.5836, allocations: 461.7 kB / 0.8662 GB, free: 2.516 MB / 0.5419 GB Notification: Performance of postOpt removeConstants (simulation): time 6.171e-05/0.5836, allocations: 85.05 kB / 0.8663 GB, free: 2.414 MB / 0.5419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.146e-05/0.5837, allocations: 4 kB / 0.8663 GB, free: 2.41 MB / 0.5419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.272e-05/0.5837, allocations: 0 / 0.8663 GB, free: 2.41 MB / 0.5419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.428e-05/0.5837, allocations: 7.984 kB / 0.8663 GB, free: 2.402 MB / 0.5419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.568e-06/0.5838, allocations: 0 / 0.8663 GB, free: 2.402 MB / 0.5419 GB Notification: Performance of sort global known variables: time 2.215e-05/0.5838, allocations: 75.28 kB / 0.8664 GB, free: 2.328 MB / 0.5419 GB Notification: Performance of remove unused functions: time 0.0007321/0.5845, allocations: 8 kB / 0.8664 GB, free: 2.32 MB / 0.5419 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 9.078e-05/0.5846, allocations: 95.25 kB / 0.8665 GB, free: 2.215 MB / 0.5419 GB Notification: Performance of simCode: created initialization part: time 7.369e-05/0.5847, allocations: 28.09 kB / 0.8665 GB, free: 2.188 MB / 0.5419 GB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.5847, allocations: 0 / 0.8665 GB, free: 2.188 MB / 0.5419 GB Notification: Performance of simCode: created simulation system equations: time 1.888e-05/0.5847, allocations: 11.94 kB / 0.8665 GB, free: 2.176 MB / 0.5419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001802/0.5849, allocations: 15.89 kB / 0.8665 GB, free: 2.16 MB / 0.5419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002101/0.5851, allocations: 67.98 kB / 0.8666 GB, free: 2.07 MB / 0.5419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002098/0.5854, allocations: 0.6915 MB / 0.8672 GB, free: 1.355 MB / 0.5419 GB Notification: Performance of SimCode: time 2.9e-07/0.5854, allocations: 0 / 0.8672 GB, free: 1.355 MB / 0.5419 GB (rm -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_X.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Functions_Examples_pW_X_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Functions_Examples_pW_X.fmu > BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe 2>&1)