Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.SublimationPressureIce.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.Examples.SublimationPressureIce,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Examples_SublimationPressureIce",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Psychrometrics.Examples.SublimationPressureIce,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Examples_SublimationPressureIce",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.7651/0.7651, allocations: 141.8 MB / 149.1 MB, free: 1.367 MB / 122.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001007/0.001007, allocations: 177.2 kB / 182 MB, free: 0.7227 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.293/1.293, allocations: 221.4 MB / 436 MB, free: 5.547 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.0009815/0.0009817, allocations: 95.88 kB / 0.507 GB, free: 2.219 MB / 410.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001688/0.001688, allocations: 284.6 kB / 0.5885 GB, free: 47.32 MB / 410.9 MB Notification: Performance of FrontEnd - loaded program: time 0.3607/0.3625, allocations: 89.61 MB / 0.676 GB, free: 59.53 MB / 442.9 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.147/0.5094, allocations: 82.79 MB / 0.7568 GB, free: 0.7031 MB / 442.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1415/0.6509, allocations: 108.5 MB / 0.8627 GB, free: 4.094 MB / 0.5419 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002034/0.6512, allocations: 73.98 kB / 0.8628 GB, free: 4.023 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.004223/0.6554, allocations: 1.333 MB / 0.8641 GB, free: 2.641 MB / 0.5419 GB Notification: Performance of prepare preOptimizeDAE: time 4.577e-05/0.6555, allocations: 9 kB / 0.8641 GB, free: 2.633 MB / 0.5419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.16e-05/0.6555, allocations: 7.906 kB / 0.8641 GB, free: 2.625 MB / 0.5419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001174/0.6557, allocations: 171 kB / 0.8643 GB, free: 2.418 MB / 0.5419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.225e-05/0.6557, allocations: 0 / 0.8643 GB, free: 2.418 MB / 0.5419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.588e-06/0.6557, allocations: 0 / 0.8643 GB, free: 2.418 MB / 0.5419 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.03e-05/0.6558, allocations: 12 kB / 0.8643 GB, free: 2.406 MB / 0.5419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.693e-05/0.6558, allocations: 33.69 kB / 0.8643 GB, free: 2.367 MB / 0.5419 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.747e-06/0.6559, allocations: 4 kB / 0.8643 GB, free: 2.363 MB / 0.5419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.929e-06/0.6559, allocations: 3.938 kB / 0.8643 GB, free: 2.359 MB / 0.5419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.523e-06/0.6559, allocations: 3.906 kB / 0.8643 GB, free: 2.355 MB / 0.5419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002951/0.6562, allocations: 221.5 kB / 0.8646 GB, free: 2.102 MB / 0.5419 GB Notification: Performance of preOpt comSubExp (simulation): time 9.082e-05/0.6563, allocations: 30.52 kB / 0.8646 GB, free: 2.062 MB / 0.5419 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.308e-05/0.6563, allocations: 4.859 kB / 0.8646 GB, free: 2.055 MB / 0.5419 GB Notification: Performance of preOpt evalFunc (simulation): time 2.353e-05/0.6563, allocations: 12.06 kB / 0.8646 GB, free: 2.043 MB / 0.5419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.241e-05/0.6564, allocations: 34.47 kB / 0.8646 GB, free: 2 MB / 0.5419 GB Notification: Performance of pre-optimization done (n=2): time 1.152e-06/0.6564, allocations: 0 / 0.8646 GB, free: 2 MB / 0.5419 GB Notification: Performance of matching and sorting (n=2): time 0.0001598/0.6565, allocations: 41.69 kB / 0.8647 GB, free: 1.953 MB / 0.5419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.557e-05/0.6566, allocations: 51.41 kB / 0.8647 GB, free: 1.891 MB / 0.5419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.492e-05/0.6566, allocations: 92.98 kB / 0.8648 GB, free: 1.793 MB / 0.5419 GB Notification: Performance of collectPreVariables (initialization): time 1.262e-05/0.6567, allocations: 25.7 kB / 0.8648 GB, free: 1.762 MB / 0.5419 GB Notification: Performance of collectInitialEqns (initialization): time 3.378e-05/0.6567, allocations: 84.17 kB / 0.8649 GB, free: 1.676 MB / 0.5419 GB Notification: Performance of collectInitialBindings (initialization): time 1.925e-05/0.6567, allocations: 15.84 kB / 0.8649 GB, free: 1.66 MB / 0.5419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.396e-06/0.6567, allocations: 0 / 0.8649 GB, free: 1.66 MB / 0.5419 GB Notification: Performance of setup shared object (initialization): time 8.814e-05/0.6568, allocations: 314.8 kB / 0.8652 GB, free: 1.344 MB / 0.5419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.569e-05/0.6568, allocations: 4 kB / 0.8652 GB, free: 1.34 MB / 0.5419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.265e-05/0.6569, allocations: 7.938 kB / 0.8652 GB, free: 1.332 MB / 0.5419 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.86e-05/0.6569, allocations: 4 kB / 0.8652 GB, free: 1.328 MB / 0.5419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.6569, allocations: 0 / 0.8652 GB, free: 1.328 MB / 0.5419 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.835e-05/0.657, allocations: 45.64 kB / 0.8653 GB, free: 1.277 MB / 0.5419 GB Notification: Performance of prepare postOptimizeDAE: time 1.15e-05/0.657, allocations: 12 kB / 0.8653 GB, free: 1.266 MB / 0.5419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.137e-06/0.657, allocations: 0 / 0.8653 GB, free: 1.266 MB / 0.5419 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.798e-06/0.657, allocations: 0 / 0.8653 GB, free: 1.266 MB / 0.5419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001004/0.6571, allocations: 11.98 kB / 0.8653 GB, free: 1.254 MB / 0.5419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.757e-06/0.6571, allocations: 0 / 0.8653 GB, free: 1.254 MB / 0.5419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.976e-05/0.6572, allocations: 15.98 kB / 0.8653 GB, free: 1.238 MB / 0.5419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.35e-06/0.6572, allocations: 0 / 0.8653 GB, free: 1.238 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 (2): * Single equations (assignments): 2 * 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.707e-05/0.6573, allocations: 105 kB / 0.8654 GB, free: 1.129 MB / 0.5419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.194e-05/0.6573, allocations: 3.906 kB / 0.8654 GB, free: 1.125 MB / 0.5419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001003/0.6574, allocations: 48.94 kB / 0.8655 GB, free: 1.074 MB / 0.5419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.663e-06/0.6574, allocations: 0 / 0.8655 GB, free: 1.074 MB / 0.5419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.086e-06/0.6574, allocations: 0 / 0.8655 GB, free: 1.074 MB / 0.5419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.725e-06/0.6574, allocations: 0 / 0.8655 GB, free: 1.074 MB / 0.5419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001243/0.6576, allocations: 142.2 kB / 0.8656 GB, free: 0.8984 MB / 0.5419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.246e-06/0.6576, allocations: 0 / 0.8656 GB, free: 0.8984 MB / 0.5419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.294e-05/0.6577, allocations: 19.92 kB / 0.8656 GB, free: 0.8789 MB / 0.5419 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/0.6577, allocations: 0 / 0.8656 GB, free: 0.8789 MB / 0.5419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.422e-06/0.6577, allocations: 0 / 0.8656 GB, free: 0.8789 MB / 0.5419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.422e-06/0.6577, allocations: 0 / 0.8656 GB, free: 0.8789 MB / 0.5419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.943e-06/0.6577, allocations: 0 / 0.8656 GB, free: 0.8789 MB / 0.5419 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00011/0.6578, allocations: 147.5 kB / 0.8658 GB, free: 0.7188 MB / 0.5419 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0001886/0.658, allocations: 0.5038 MB / 0.8663 GB, free: 200 kB / 0.5419 GB Notification: Performance of postOpt removeConstants (simulation): time 2.955e-05/0.658, allocations: 81.02 kB / 0.8663 GB, free: 100 kB / 0.5419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.498e-05/0.6581, allocations: 4 kB / 0.8663 GB, free: 96 kB / 0.5419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.56e-05/0.6582, allocations: 16.05 kB / 0.8664 GB, free: 80 kB / 0.5419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.189e-05/0.6582, allocations: 0 / 0.8664 GB, free: 80 kB / 0.5419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.396e-06/0.6582, allocations: 0 / 0.8664 GB, free: 80 kB / 0.5419 GB Notification: Performance of sort global known variables: time 0.2092/0.8674, allocations: 83.28 kB / 0.8664 GB, free: 168.6 MB / 0.5419 GB Notification: Performance of remove unused functions: time 0.0008894/0.8683, allocations: 14.03 kB / 0.8664 GB, free: 168.6 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 (2): * Single equations (assignments): 2 * 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.0001661/0.8685, allocations: 121 kB / 0.8666 GB, free: 168.5 MB / 0.5419 GB Notification: Performance of simCode: created initialization part: time 8.119e-05/0.8686, allocations: 11.22 kB / 0.8666 GB, free: 168.5 MB / 0.5419 GB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.8686, allocations: 7.25 kB / 0.8666 GB, free: 168.5 MB / 0.5419 GB Notification: Performance of simCode: created simulation system equations: time 1.999e-05/0.8686, allocations: 10.8 kB / 0.8666 GB, free: 168.5 MB / 0.5419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001618/0.8688, allocations: 3.812 kB / 0.8666 GB, free: 168.5 MB / 0.5419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000182/0.869, allocations: 53.7 kB / 0.8666 GB, free: 168.4 MB / 0.5419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001189/0.8691, allocations: 0.6874 MB / 0.8673 GB, free: 167.7 MB / 0.5419 GB Notification: Performance of SimCode: time 2.4e-07/0.8691, allocations: 7.688 kB / 0.8673 GB, free: 167.7 MB / 0.5419 GB (rm -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.SublimationPressureIce.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.SublimationPressureIce.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.SublimationPressureIce.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.SublimationPressureIce.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Examples_SublimationPressureIce_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Examples_SublimationPressureIce.fmu > BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.SublimationPressureIce.pipe 2>&1)