Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.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.BaseClasses.Examples.WaterVaporPressureDerivativeCheck,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Functions_BaseClasses_Examples_WaterVaporPressureDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Functions_BaseClasses_Examples_WaterVaporPressureDerivativeCheck",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.6937/0.6937, allocations: 141.8 MB / 149.1 MB, free: 4.477 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.00103/0.00103, allocations: 182 kB / 181.9 MB, free: 108 kB / 138.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.238/1.238, allocations: 221.3 MB / 436 MB, free: 9.277 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.0009375/0.0009376, allocations: 98.92 kB / 0.507 GB, free: 24.2 MB / 394.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001816/0.001816, allocations: 266.5 kB / 0.5884 GB, free: 12.3 MB / 442.9 MB Notification: Performance of FrontEnd - loaded program: time 0.207/0.2089, allocations: 89.67 MB / 0.676 GB, free: 2.551 MB / 0.5107 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4261/0.635, allocations: 82.76 MB / 0.7568 GB, free: 112.8 MB / 0.5263 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1286/0.7637, allocations: 108.1 MB / 0.8624 GB, free: 4.582 MB / 0.5263 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002759/0.764, allocations: 84.89 kB / 0.8625 GB, free: 4.504 MB / 0.5263 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.004814/0.7689, allocations: 1.868 MB / 0.8643 GB, free: 2.605 MB / 0.5263 GB Notification: Performance of prepare preOptimizeDAE: time 4.13e-05/0.7689, allocations: 12.69 kB / 0.8643 GB, free: 2.594 MB / 0.5263 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001402/0.7691, allocations: 8.672 kB / 0.8643 GB, free: 2.586 MB / 0.5263 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.882e-05/0.7691, allocations: 163 kB / 0.8645 GB, free: 2.387 MB / 0.5263 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.269e-05/0.7692, allocations: 4.625 kB / 0.8645 GB, free: 2.383 MB / 0.5263 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.289e-05/0.7692, allocations: 0 / 0.8645 GB, free: 2.383 MB / 0.5263 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.797e-05/0.7693, allocations: 16.83 kB / 0.8645 GB, free: 2.367 MB / 0.5263 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001/0.7694, allocations: 38.39 kB / 0.8645 GB, free: 2.324 MB / 0.5263 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.775e-06/0.7694, allocations: 0 / 0.8645 GB, free: 2.324 MB / 0.5263 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.227e-05/0.7694, allocations: 0.5312 kB / 0.8645 GB, free: 2.324 MB / 0.5263 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.145e-06/0.7694, allocations: 0 / 0.8645 GB, free: 2.324 MB / 0.5263 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000126/0.7696, allocations: 143.4 kB / 0.8647 GB, free: 2.148 MB / 0.5263 GB Notification: Performance of preOpt comSubExp (simulation): time 7.628e-05/0.7696, allocations: 43.58 kB / 0.8647 GB, free: 2.098 MB / 0.5263 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.392e-05/0.7697, allocations: 24.97 kB / 0.8647 GB, free: 2.07 MB / 0.5263 GB Notification: Performance of preOpt evalFunc (simulation): time 1.293e-05/0.7697, allocations: 0.5 kB / 0.8647 GB, free: 2.07 MB / 0.5263 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.056e-05/0.7697, allocations: 35.91 kB / 0.8648 GB, free: 2.027 MB / 0.5263 GB Notification: Performance of pre-optimization done (n=5): time 1.132e-06/0.7697, allocations: 0 / 0.8648 GB, free: 2.027 MB / 0.5263 GB Notification: Performance of matching and sorting (n=8): time 0.001934/0.7717, allocations: 472.7 kB / 0.8652 GB, free: 1.523 MB / 0.5263 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.881e-05/0.7717, allocations: 52.09 kB / 0.8653 GB, free: 1.461 MB / 0.5263 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.953e-05/0.7717, allocations: 89.53 kB / 0.8654 GB, free: 1.367 MB / 0.5263 GB Notification: Performance of collectPreVariables (initialization): time 1.254e-05/0.7718, allocations: 26.8 kB / 0.8654 GB, free: 1.336 MB / 0.5263 GB Notification: Performance of collectInitialEqns (initialization): time 1.345e-05/0.7718, allocations: 80.14 kB / 0.8655 GB, free: 1.254 MB / 0.5263 GB Notification: Performance of collectInitialBindings (initialization): time 3.407e-05/0.7718, allocations: 32.27 kB / 0.8655 GB, free: 1.223 MB / 0.5263 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.542e-06/0.7718, allocations: 2.438 kB / 0.8655 GB, free: 1.223 MB / 0.5263 GB Notification: Performance of setup shared object (initialization): time 4.647e-05/0.7719, allocations: 315.3 kB / 0.8658 GB, free: 0.9062 MB / 0.5263 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.55e-05/0.7719, allocations: 20.56 kB / 0.8658 GB, free: 0.8867 MB / 0.5263 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.16e-05/0.772, allocations: 20.97 kB / 0.8658 GB, free: 0.8672 MB / 0.5263 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.637e-05/0.772, allocations: 23.92 kB / 0.8659 GB, free: 0.8438 MB / 0.5263 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.51e-07/0.772, allocations: 0 / 0.8659 GB, free: 0.8438 MB / 0.5263 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001213/0.7721, allocations: 90.61 kB / 0.8659 GB, free: 0.75 MB / 0.5263 GB Notification: Performance of prepare postOptimizeDAE: time 1.33e-05/0.7722, allocations: 4 kB / 0.866 GB, free: 0.7461 MB / 0.5263 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.95e-06/0.7722, allocations: 0.7188 kB / 0.866 GB, free: 0.7461 MB / 0.5263 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.466e-05/0.7722, allocations: 0 / 0.866 GB, free: 0.7461 MB / 0.5263 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001556/0.7724, allocations: 21.39 kB / 0.866 GB, free: 0.7266 MB / 0.5263 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.679e-06/0.7724, allocations: 0 / 0.866 GB, free: 0.7266 MB / 0.5263 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.922e-05/0.7724, allocations: 5.312 kB / 0.866 GB, free: 0.7227 MB / 0.5263 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.757e-06/0.7725, allocations: 0 / 0.866 GB, free: 0.7227 MB / 0.5263 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 (9): * Single equations (assignments): 9 * 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.491e-05/0.7725, allocations: 104.9 kB / 0.8661 GB, free: 0.6133 MB / 0.5263 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.315e-05/0.7725, allocations: 4.531 kB / 0.8661 GB, free: 0.6094 MB / 0.5263 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.408e-05/0.7726, allocations: 19.78 kB / 0.8661 GB, free: 0.5898 MB / 0.5263 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.923e-06/0.7726, allocations: 0 / 0.8661 GB, free: 0.5898 MB / 0.5263 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.06e-06/0.7726, allocations: 0.625 kB / 0.8661 GB, free: 0.5898 MB / 0.5263 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.839e-06/0.7726, allocations: 0 / 0.8661 GB, free: 0.5898 MB / 0.5263 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.109e-05/0.7727, allocations: 153.1 kB / 0.8662 GB, free: 416 kB / 0.5263 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.7727, allocations: 0 / 0.8662 GB, free: 416 kB / 0.5263 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001377/0.7729, allocations: 12 kB / 0.8663 GB, free: 404 kB / 0.5263 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.036e-06/0.7729, allocations: 4.5 kB / 0.8663 GB, free: 400 kB / 0.5263 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.075e-05/0.7729, allocations: 4.5 kB / 0.8663 GB, free: 396 kB / 0.5263 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.325e-06/0.7729, allocations: 3.984 kB / 0.8663 GB, free: 392 kB / 0.5263 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.565e-06/0.7729, allocations: 0.7188 kB / 0.8663 GB, free: 392 kB / 0.5263 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001891/0.7731, allocations: 138 kB / 0.8664 GB, free: 236 kB / 0.5263 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003481/0.7735, allocations: 0.5305 MB / 0.8669 GB, free: 15.68 MB / 0.5419 GB Notification: Performance of postOpt removeConstants (simulation): time 3.279e-05/0.7735, allocations: 78.14 kB / 0.867 GB, free: 15.58 MB / 0.5419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.018e-05/0.7735, allocations: 7.906 kB / 0.867 GB, free: 15.57 MB / 0.5419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001114/0.7737, allocations: 4.719 kB / 0.867 GB, free: 15.57 MB / 0.5419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.11e-05/0.7737, allocations: 4.703 kB / 0.867 GB, free: 15.57 MB / 0.5419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.283e-05/0.7737, allocations: 8.25 kB / 0.867 GB, free: 15.56 MB / 0.5419 GB Notification: Performance of sort global known variables: time 2.823e-05/0.7737, allocations: 80.16 kB / 0.8671 GB, free: 15.48 MB / 0.5419 GB Notification: Performance of remove unused functions: time 0.0008072/0.7745, allocations: 8 kB / 0.8671 GB, free: 15.47 MB / 0.5419 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (y_comp) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * 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.0001843/0.7747, allocations: 109.1 kB / 0.8672 GB, free: 15.36 MB / 0.5419 GB Notification: Performance of simCode: created initialization part: time 0.0001445/0.7749, allocations: 56.2 kB / 0.8673 GB, free: 15.3 MB / 0.5419 GB Notification: Performance of simCode: created event and clocks part: time 2.896e-06/0.7749, allocations: 0 / 0.8673 GB, free: 15.3 MB / 0.5419 GB Notification: Performance of simCode: created simulation system equations: time 5.408e-05/0.775, allocations: 40.92 kB / 0.8673 GB, free: 15.27 MB / 0.5419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001738/0.7751, allocations: 1.031 kB / 0.8673 GB, free: 15.27 MB / 0.5419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005205/0.7757, allocations: 127.2 kB / 0.8674 GB, free: 15.12 MB / 0.5419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003725/0.7761, allocations: 0.7036 MB / 0.8681 GB, free: 14.39 MB / 0.5419 GB Notification: Performance of SimCode: time 2.4e-07/0.7761, allocations: 0 / 0.8681 GB, free: 14.39 MB / 0.5419 GB (rm -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Functions_BaseClasses_Examples_WaterVaporPressureDerivativeCheck_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-09 BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Functions_BaseClasses_Examples_WaterVaporPressureDerivativeCheck.fmu > BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.pipe 2>&1)