Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck,fileNamePrefix="Buildings_8_0_0_Buildings_Utilities_Psychrometrics_Functions_BaseClasses_Examples_WaterVaporPressureDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck,fileNamePrefix="Buildings_8_0_0_Buildings_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/Buildings 8.0.0/package.mo): time 2.66/2.66, allocations: 284.8 MB / 292.1 MB, free: 10.79 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.003242/0.003241, allocations: 185.2 kB / 360.3 MB, free: 7.551 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.29/2.29, allocations: 205.1 MB / 0.6187 GB, free: 13.22 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001226/0.001225, allocations: 89.73 kB / 0.7317 GB, free: 45.12 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.3218/0.3231, allocations: 121.4 MB / 0.8502 GB, free: 3.926 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6399/0.963, allocations: 115.2 MB / 0.9628 GB, free: 78.57 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2792/1.242, allocations: 137.2 MB / 1.097 GB, free: 3.621 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004341/1.243, allocations: 84.78 kB / 1.097 GB, free: 3.539 MB / 0.698 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.01436/1.257, allocations: 1.836 MB / 1.099 GB, free: 1.707 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 6.31e-05/1.257, allocations: 8.5 kB / 1.099 GB, free: 1.699 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000264/1.258, allocations: 18.92 kB / 1.099 GB, free: 1.684 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001216/1.258, allocations: 169.6 kB / 1.099 GB, free: 1.48 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.638e-05/1.258, allocations: 0.7969 kB / 1.099 GB, free: 1.48 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.702e-05/1.258, allocations: 6.594 kB / 1.099 GB, free: 1.477 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.425e-05/1.258, allocations: 8 kB / 1.099 GB, free: 1.469 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001045/1.258, allocations: 41.69 kB / 1.099 GB, free: 1.422 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.698e-06/1.258, allocations: 0 / 1.099 GB, free: 1.422 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.577e-05/1.258, allocations: 0 / 1.099 GB, free: 1.422 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.34e-06/1.258, allocations: 0 / 1.099 GB, free: 1.422 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001937/1.258, allocations: 144.6 kB / 1.099 GB, free: 1.246 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001076/1.258, allocations: 42.58 kB / 1.099 GB, free: 1.195 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.515e-05/1.258, allocations: 16.98 kB / 1.099 GB, free: 1.176 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.748e-05/1.258, allocations: 5.969 kB / 1.099 GB, free: 1.172 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.89e-05/1.259, allocations: 35.14 kB / 1.099 GB, free: 1.129 MB / 0.698 GB Notification: Performance of pre-optimization done (n=5): time 1.773e-06/1.259, allocations: 0 / 1.099 GB, free: 1.129 MB / 0.698 GB Notification: Performance of matching and sorting (n=8): time 0.003645/1.262, allocations: 477.1 kB / 1.1 GB, free: 0.6211 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.024e-05/1.262, allocations: 56.09 kB / 1.1 GB, free: 0.5547 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.902e-05/1.262, allocations: 89 kB / 1.1 GB, free: 472 kB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.294e-05/1.262, allocations: 26.33 kB / 1.1 GB, free: 440 kB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 3.828e-05/1.262, allocations: 83.89 kB / 1.1 GB, free: 356 kB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 4.949e-05/1.263, allocations: 23.64 kB / 1.1 GB, free: 332 kB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.616e-06/1.263, allocations: 0 / 1.1 GB, free: 332 kB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001177/1.263, allocations: 322.8 kB / 1.1 GB, free: 0 / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.65e-05/1.263, allocations: 16.05 kB / 1.1 GB, free: 15.98 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.703e-05/1.263, allocations: 20.5 kB / 1.1 GB, free: 15.96 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.304e-05/1.263, allocations: 24.47 kB / 1.1 GB, free: 15.94 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.353e-06/1.263, allocations: 2.531 kB / 1.1 GB, free: 15.94 MB / 0.7136 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002672/1.263, allocations: 81.62 kB / 1.1 GB, free: 15.86 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.82e-05/1.263, allocations: 8 kB / 1.1 GB, free: 15.85 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.023e-06/1.263, allocations: 0 / 1.1 GB, free: 15.85 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.686e-05/1.263, allocations: 3.125 kB / 1.1 GB, free: 15.85 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002668/1.264, allocations: 16 kB / 1.1 GB, free: 15.83 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.312e-06/1.264, allocations: 0.625 kB / 1.1 GB, free: 15.83 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001284/1.264, allocations: 9.297 kB / 1.1 GB, free: 15.82 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.592e-05/1.264, allocations: 4 kB / 1.1 GB, free: 15.82 MB / 0.7136 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 0.000105/1.264, allocations: 108.7 kB / 1.1 GB, free: 15.71 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.412e-05/1.264, allocations: 0.7812 kB / 1.1 GB, free: 15.71 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.96e-05/1.264, allocations: 15.91 kB / 1.1 GB, free: 15.69 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.755e-06/1.264, allocations: 5.156 kB / 1.1 GB, free: 15.69 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.451e-06/1.264, allocations: 4 kB / 1.1 GB, free: 15.68 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.279e-06/1.264, allocations: 0 / 1.1 GB, free: 15.68 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001787/1.264, allocations: 153 kB / 1.101 GB, free: 15.5 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.066e-06/1.264, allocations: 0 / 1.101 GB, free: 15.5 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002655/1.265, allocations: 12 kB / 1.101 GB, free: 15.49 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.004e-06/1.265, allocations: 5.812 kB / 1.101 GB, free: 15.49 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.506e-05/1.265, allocations: 0 / 1.101 GB, free: 15.49 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.135e-06/1.265, allocations: 0 / 1.101 GB, free: 15.49 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.046e-06/1.265, allocations: 4 kB / 1.101 GB, free: 15.48 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003861/1.265, allocations: 147.4 kB / 1.101 GB, free: 15.32 MB / 0.7136 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.000534/1.266, allocations: 0.5312 MB / 1.101 GB, free: 14.77 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 5.01e-05/1.266, allocations: 85.02 kB / 1.101 GB, free: 14.67 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.704e-05/1.266, allocations: 0 / 1.101 GB, free: 14.67 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002057/1.266, allocations: 4 kB / 1.101 GB, free: 14.67 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.973e-05/1.266, allocations: 7.984 kB / 1.101 GB, free: 14.66 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.386e-05/1.266, allocations: 4.125 kB / 1.101 GB, free: 14.66 MB / 0.7136 GB Notification: Performance of sort global known variables: time 3.378e-05/1.266, allocations: 75.28 kB / 1.101 GB, free: 14.58 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0011/1.267, allocations: 12 kB / 1.101 GB, free: 14.57 MB / 0.7136 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.0001849/1.267, allocations: 103.2 kB / 1.102 GB, free: 14.46 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0002198/1.268, allocations: 51.94 kB / 1.102 GB, free: 14.41 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.266e-06/1.268, allocations: 4 kB / 1.102 GB, free: 14.41 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0001377/1.268, allocations: 28 kB / 1.102 GB, free: 14.38 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002183/1.268, allocations: 15.89 kB / 1.102 GB, free: 14.36 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007584/1.269, allocations: 126 kB / 1.102 GB, free: 14.22 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003762/1.269, allocations: 0.7036 MB / 1.102 GB, free: 13.49 MB / 0.7136 GB Notification: Performance of SimCode: time 1.133e-06/1.269, allocations: 0 / 1.102 GB, free: 13.49 MB / 0.7136 GB (rm -f Buildings_8.0.0_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.pipe ; mkfifo Buildings_8.0.0_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.pipe >> ../files/Buildings_8.0.0_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Utilities_Psychrometrics_Functions_BaseClasses_Examples_WaterVaporPressureDerivativeCheck_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-09 Buildings_8_0_0_Buildings_Utilities_Psychrometrics_Functions_BaseClasses_Examples_WaterVaporPressureDerivativeCheck.fmu > Buildings_8.0.0_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.pipe 2>&1)