Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.TemperatureWetBulb.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.Fluid.Sensors.Examples.TemperatureWetBulb,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Sensors_Examples_TemperatureWetBulb",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Sensors.Examples.TemperatureWetBulb,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Sensors_Examples_TemperatureWetBulb",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.7034/0.7034, allocations: 141.8 MB / 149.1 MB, free: 12.23 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.00108/0.00108, allocations: 180.2 kB / 181.9 MB, free: 9.004 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.311/1.311, allocations: 221.4 MB / 436 MB, free: 1.43 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.0009657/0.0009658, allocations: 100.7 kB / 0.507 GB, free: 17.58 MB / 378.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00172/0.00172, allocations: 271.4 kB / 0.5884 GB, free: 3.035 MB / 442.9 MB Notification: Performance of FrontEnd - loaded program: time 0.346/0.3477, allocations: 89.63 MB / 0.676 GB, free: 136 MB / 0.5107 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1564/0.5042, allocations: 82.78 MB / 0.7568 GB, free: 81.66 MB / 0.5107 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.696/4.2, allocations: 1.829 GB / 2.586 GB, free: 162.4 MB / 0.6982 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002978/4.2, allocations: 87.88 kB / 2.586 GB, free: 162.4 MB / 0.6982 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.6845/4.885, allocations: 199.9 MB / 2.781 GB, free: 196.1 MB / 0.6982 GB Notification: Performance of prepare preOptimizeDAE: time 3.947e-05/4.885, allocations: 10.61 kB / 2.781 GB, free: 196.1 MB / 0.6982 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006077/4.885, allocations: 72.17 kB / 2.781 GB, free: 196 MB / 0.6982 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004679/4.886, allocations: 307.1 kB / 2.782 GB, free: 195.8 MB / 0.6982 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.767e-05/4.886, allocations: 7.094 kB / 2.782 GB, free: 195.8 MB / 0.6982 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.697e-05/4.886, allocations: 11.34 kB / 2.782 GB, free: 195.8 MB / 0.6982 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003107/4.886, allocations: 153.9 kB / 2.782 GB, free: 195.8 MB / 0.6982 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003527/4.887, allocations: 246 kB / 2.782 GB, free: 195.7 MB / 0.6982 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.208e-05/4.887, allocations: 3.844 kB / 2.782 GB, free: 195.7 MB / 0.6982 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.756e-05/4.887, allocations: 3.906 kB / 2.782 GB, free: 195.7 MB / 0.6982 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.915e-06/4.887, allocations: 7.281 kB / 2.782 GB, free: 195.7 MB / 0.6982 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001474/4.888, allocations: 1.211 MB / 2.783 GB, free: 194.9 MB / 0.6982 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001986/4.889, allocations: 125.6 kB / 2.783 GB, free: 194.9 MB / 0.6982 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001164/4.889, allocations: 79.72 kB / 2.783 GB, free: 194.9 MB / 0.6982 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004963/4.889, allocations: 310.5 kB / 2.784 GB, free: 194.6 MB / 0.6982 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.98e-05/4.889, allocations: 38.31 kB / 2.784 GB, free: 194.6 MB / 0.6982 GB Notification: Performance of pre-optimization done (n=14): time 1.643e-06/4.889, allocations: 0 / 2.784 GB, free: 194.6 MB / 0.6982 GB Notification: Performance of matching and sorting (n=14): time 0.001161/4.89, allocations: 301.9 kB / 2.784 GB, free: 194.5 MB / 0.6982 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.213e-05/4.89, allocations: 59.16 kB / 2.784 GB, free: 194.5 MB / 0.6982 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001562/4.891, allocations: 185.2 kB / 2.784 GB, free: 194.4 MB / 0.6982 GB Notification: Performance of collectPreVariables (initialization): time 2.604e-05/4.891, allocations: 25.7 kB / 2.784 GB, free: 194.3 MB / 0.6982 GB Notification: Performance of collectInitialEqns (initialization): time 6.476e-05/4.891, allocations: 143.6 kB / 2.784 GB, free: 194.2 MB / 0.6982 GB Notification: Performance of collectInitialBindings (initialization): time 3.864e-05/4.891, allocations: 52.86 kB / 2.784 GB, free: 194.2 MB / 0.6982 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.242e-05/4.891, allocations: 0 / 2.784 GB, free: 194.2 MB / 0.6982 GB Notification: Performance of setup shared object (initialization): time 6.019e-05/4.891, allocations: 328 kB / 2.785 GB, free: 193.9 MB / 0.6982 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.87e-05/4.891, allocations: 55.5 kB / 2.785 GB, free: 193.9 MB / 0.6982 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001165/4.891, allocations: 115.2 kB / 2.785 GB, free: 193.8 MB / 0.6982 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002042/4.891, allocations: 113.1 kB / 2.785 GB, free: 193.8 MB / 0.6982 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/4.891, allocations: 3 kB / 2.785 GB, free: 193.8 MB / 0.6982 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0008689/4.892, allocations: 293.6 kB / 2.785 GB, free: 193.8 MB / 0.6982 GB Notification: Performance of prepare postOptimizeDAE: time 1.481e-05/4.892, allocations: 8.625 kB / 2.785 GB, free: 193.8 MB / 0.6982 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.362e-06/4.892, allocations: 3.906 kB / 2.785 GB, free: 193.8 MB / 0.6982 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006211/4.893, allocations: 86.33 kB / 2.785 GB, free: 193.8 MB / 0.6982 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002586/4.893, allocations: 56.22 kB / 2.785 GB, free: 193.8 MB / 0.6982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001797/4.895, allocations: 1.507 MB / 2.787 GB, free: 192.5 MB / 0.6982 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002934/4.895, allocations: 44.72 kB / 2.787 GB, free: 192.5 MB / 0.6982 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.846e-05/4.895, allocations: 15.25 kB / 2.787 GB, free: 192.5 MB / 0.6982 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (16): * Single equations (assignments): 15 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 9.955e-05/4.895, allocations: 102.7 kB / 2.787 GB, free: 192.4 MB / 0.6982 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.763e-05/4.895, allocations: 25.12 kB / 2.787 GB, free: 192.4 MB / 0.6982 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008897/4.896, allocations: 316.2 kB / 2.787 GB, free: 192.4 MB / 0.6982 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.485e-06/4.896, allocations: 0 / 2.787 GB, free: 192.4 MB / 0.6982 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.172e-06/4.896, allocations: 0 / 2.787 GB, free: 192.4 MB / 0.6982 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.077e-06/4.896, allocations: 0 / 2.787 GB, free: 192.4 MB / 0.6982 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001269/4.898, allocations: 0.6859 MB / 2.788 GB, free: 192.1 MB / 0.6982 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.815e-06/4.898, allocations: 0 / 2.788 GB, free: 192.1 MB / 0.6982 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002219/4.898, allocations: 54.38 kB / 2.788 GB, free: 192.1 MB / 0.6982 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005105/4.898, allocations: 92.69 kB / 2.788 GB, free: 192 MB / 0.6982 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.909e-05/4.898, allocations: 3.281 kB / 2.788 GB, free: 192 MB / 0.6982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001616/4.9, allocations: 1.524 MB / 2.79 GB, free: 190.8 MB / 0.6982 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.888e-06/4.9, allocations: 3.875 kB / 2.79 GB, free: 190.8 MB / 0.6982 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0008451/4.901, allocations: 439.4 kB / 2.79 GB, free: 190.6 MB / 0.6982 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.00104/4.902, allocations: 0.845 MB / 2.791 GB, free: 190 MB / 0.6982 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001143/4.902, allocations: 115.2 kB / 2.791 GB, free: 189.9 MB / 0.6982 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.655e-05/4.902, allocations: 3.906 kB / 2.791 GB, free: 189.9 MB / 0.6982 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002883/4.902, allocations: 41.61 kB / 2.791 GB, free: 189.9 MB / 0.6982 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.847e-05/4.902, allocations: 11.61 kB / 2.791 GB, free: 189.9 MB / 0.6982 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.313e-05/4.902, allocations: 7.875 kB / 2.791 GB, free: 189.9 MB / 0.6982 GB Notification: Performance of sort global known variables: time 0.0001001/4.903, allocations: 143.1 kB / 2.791 GB, free: 189.8 MB / 0.6982 GB Notification: Performance of remove unused functions: time 0.001325/4.904, allocations: 238.5 kB / 2.792 GB, free: 189.8 MB / 0.6982 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 11 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.001148/4.905, allocations: 1.091 MB / 2.793 GB, free: 189.6 MB / 0.6982 GB Notification: Performance of simCode: created initialization part: time 0.0005699/4.906, allocations: 263 kB / 2.793 GB, free: 189.5 MB / 0.6982 GB Notification: Performance of simCode: created event and clocks part: time 2.866e-06/4.906, allocations: 0 / 2.793 GB, free: 189.5 MB / 0.6982 GB Notification: Performance of simCode: created simulation system equations: time 0.0003383/4.906, allocations: 205.3 kB / 2.793 GB, free: 189.4 MB / 0.6982 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005082/4.907, allocations: 88.62 kB / 2.793 GB, free: 189.4 MB / 0.6982 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007161/4.907, allocations: 344.5 kB / 2.793 GB, free: 189.2 MB / 0.6982 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002685/4.908, allocations: 0.8006 MB / 2.794 GB, free: 188.5 MB / 0.6982 GB Notification: Performance of SimCode: time 2.71e-07/4.908, allocations: 4 kB / 2.794 GB, free: 188.5 MB / 0.6982 GB (rm -f BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.TemperatureWetBulb.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.TemperatureWetBulb.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.TemperatureWetBulb.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.TemperatureWetBulb.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_Sensors_Examples_TemperatureWetBulb_fmu --startTime=0 --stopTime=120 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_Sensors_Examples_TemperatureWetBulb.fmu > BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.TemperatureWetBulb.pipe 2>&1)