Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_m_flow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_m_flow",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.1-maint.8.0.x/package.mo): time 1.395/1.395, allocations: 285.5 MB / 292.8 MB, free: 10.43 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.001002/0.001002, allocations: 189.2 kB / 361.1 MB, free: 7.066 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.227/1.227, allocations: 205.1 MB / 0.6195 GB, free: 10.25 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.0008484/0.0008484, allocations: 94.83 kB / 0.7326 GB, free: 44.23 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2211/0.222, allocations: 121.4 MB / 0.8512 GB, free: 2.855 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5053/0.7273, allocations: 115.3 MB / 0.9637 GB, free: 78.23 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1534/0.8807, allocations: 137.6 MB / 1.098 GB, free: 2.336 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002927/0.8811, allocations: 75.95 kB / 1.098 GB, free: 2.262 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.007335/0.8884, allocations: 2.276 MB / 1.1 GB, free: 8 kB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.791e-05/0.8885, allocations: 8.5 kB / 1.1 GB, free: 0 / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.485e-05/0.8885, allocations: 0 / 1.1 GB, free: 0 / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001411/0.8887, allocations: 170.9 kB / 1.101 GB, free: 15.79 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.452e-05/0.8887, allocations: 0 / 1.101 GB, free: 15.79 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.083e-05/0.8887, allocations: 4 kB / 1.101 GB, free: 15.79 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.59e-05/0.8888, allocations: 3.844 kB / 1.101 GB, free: 15.79 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.592e-05/0.8889, allocations: 34.83 kB / 1.101 GB, free: 15.75 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.027e-06/0.8889, allocations: 0.6562 kB / 1.101 GB, free: 15.75 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.698e-06/0.8889, allocations: 0.6875 kB / 1.101 GB, free: 15.75 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.661e-06/0.8889, allocations: 0 / 1.101 GB, free: 15.75 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001758/0.8891, allocations: 139.4 kB / 1.101 GB, free: 15.58 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 5.39e-05/0.8892, allocations: 19.14 kB / 1.101 GB, free: 15.55 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.56e-05/0.8892, allocations: 13.48 kB / 1.101 GB, free: 15.54 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.444e-05/0.8892, allocations: 5.734 kB / 1.101 GB, free: 15.53 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.879e-05/0.8893, allocations: 32.25 kB / 1.101 GB, free: 15.49 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=2): time 1.183e-06/0.8893, allocations: 1.312 kB / 1.101 GB, free: 15.49 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2): time 0.0001507/0.8894, allocations: 33.7 kB / 1.101 GB, free: 15.45 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.561e-05/0.8895, allocations: 55.34 kB / 1.101 GB, free: 15.39 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.834e-05/0.8896, allocations: 97.98 kB / 1.101 GB, free: 15.29 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.737e-05/0.8896, allocations: 26.86 kB / 1.101 GB, free: 15.25 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 2.729e-05/0.8896, allocations: 80.14 kB / 1.101 GB, free: 15.17 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 8.041e-05/0.8897, allocations: 3.906 kB / 1.101 GB, free: 15.17 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.915e-06/0.8897, allocations: 0.9688 kB / 1.101 GB, free: 15.17 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001249/0.8898, allocations: 311.4 kB / 1.101 GB, free: 14.86 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.231e-05/0.8899, allocations: 4 kB / 1.101 GB, free: 14.85 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.184e-06/0.8899, allocations: 0.9375 kB / 1.101 GB, free: 14.85 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.009e-05/0.8899, allocations: 8.531 kB / 1.101 GB, free: 14.84 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.8899, allocations: 0 / 1.101 GB, free: 14.84 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.941e-05/0.89, allocations: 46.56 kB / 1.101 GB, free: 14.79 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.416e-05/0.89, allocations: 4 kB / 1.101 GB, free: 14.79 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.56e-06/0.89, allocations: 1.625 kB / 1.101 GB, free: 14.79 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.49e-05/0.8901, allocations: 0 / 1.101 GB, free: 14.79 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001905/0.8902, allocations: 8 kB / 1.101 GB, free: 14.78 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004299/0.8907, allocations: 0.5929 MB / 1.102 GB, free: 14.17 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.129e-05/0.8907, allocations: 0 / 1.102 GB, free: 14.17 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.705e-06/0.8907, allocations: 0.5625 kB / 1.102 GB, free: 14.17 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 (2): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 9.823e-05/0.8908, allocations: 106.6 kB / 1.102 GB, free: 14.06 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.118e-05/0.8909, allocations: 3.906 kB / 1.102 GB, free: 14.05 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001354/0.891, allocations: 51.19 kB / 1.102 GB, free: 14 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.896e-06/0.891, allocations: 1.172 kB / 1.102 GB, free: 14 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.063e-06/0.891, allocations: 5.938 kB / 1.102 GB, free: 14 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.328e-06/0.891, allocations: 0 / 1.102 GB, free: 14 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001176/0.8912, allocations: 134.2 kB / 1.102 GB, free: 13.83 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.794e-06/0.8912, allocations: 0 / 1.102 GB, free: 13.83 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.944e-05/0.8913, allocations: 8 kB / 1.102 GB, free: 13.82 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.516e-06/0.8913, allocations: 0 / 1.102 GB, free: 13.82 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.193e-05/0.8913, allocations: 3.906 kB / 1.102 GB, free: 13.82 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003582/0.8917, allocations: 0.5899 MB / 1.103 GB, free: 13.2 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.609e-06/0.8917, allocations: 3.938 kB / 1.103 GB, free: 13.2 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 8.065e-05/0.8918, allocations: 61.08 kB / 1.103 GB, free: 13.12 MB / 0.7136 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002275/0.892, allocations: 449.6 kB / 1.103 GB, free: 12.66 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 4.541e-05/0.8921, allocations: 81.67 kB / 1.104 GB, free: 12.56 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.688e-05/0.8921, allocations: 0 / 1.104 GB, free: 12.56 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.527e-05/0.8921, allocations: 6.469 kB / 1.104 GB, free: 12.56 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.102e-05/0.8921, allocations: 6.047 kB / 1.104 GB, free: 12.55 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.236e-06/0.8921, allocations: 4 kB / 1.104 GB, free: 12.55 MB / 0.7136 GB Notification: Performance of sort global known variables: time 3.287e-05/0.8922, allocations: 75.28 kB / 1.104 GB, free: 12.48 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0007504/0.8929, allocations: 8 kB / 1.104 GB, free: 12.47 MB / 0.7136 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): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002493/0.8932, allocations: 130.9 kB / 1.104 GB, free: 12.33 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001725/0.8934, allocations: 19.98 kB / 1.104 GB, free: 12.31 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.905e-06/0.8934, allocations: 0 / 1.104 GB, free: 12.31 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 9.743e-05/0.8935, allocations: 12 kB / 1.104 GB, free: 12.3 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000109/0.8936, allocations: 4 kB / 1.104 GB, free: 12.3 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001943/0.8938, allocations: 52.67 kB / 1.104 GB, free: 12.22 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000235/0.8941, allocations: 0.6842 MB / 1.104 GB, free: 11.51 MB / 0.7136 GB Notification: Performance of SimCode: time 2.5e-07/0.8941, allocations: 4 kB / 1.104 GB, free: 11.51 MB / 0.7136 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_m_flow_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_m_flow.fmu > Buildings_maint.8.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe 2>&1)