Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.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.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow,fileNamePrefix="Buildings_8_0_0_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_8_0_0_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.0/package.mo): time 2.657/2.657, allocations: 284.8 MB / 292.1 MB, free: 10.75 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.001652/0.001652, allocations: 181.2 kB / 360.3 MB, free: 7.516 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.062/2.062, allocations: 205.1 MB / 0.6187 GB, free: 13.2 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.001244/0.001243, allocations: 93.7 kB / 0.7317 GB, free: 45.08 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2985/0.2998, allocations: 121.4 MB / 0.8502 GB, free: 3.898 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6588/0.9587, allocations: 115.2 MB / 0.9627 GB, free: 78.56 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.227/1.186, allocations: 137.4 MB / 1.097 GB, free: 3.43 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002834/1.186, allocations: 80.88 kB / 1.097 GB, free: 3.352 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.01189/1.198, allocations: 2.272 MB / 1.099 GB, free: 1.098 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.613e-05/1.198, allocations: 12.48 kB / 1.099 GB, free: 1.086 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.482e-05/1.198, allocations: 2.125 kB / 1.099 GB, free: 1.086 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001563/1.198, allocations: 167.7 kB / 1.099 GB, free: 0.8828 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.077e-05/1.198, allocations: 1.156 kB / 1.099 GB, free: 0.8828 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.221e-05/1.198, allocations: 0 / 1.099 GB, free: 0.8828 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.515e-05/1.198, allocations: 4.688 kB / 1.099 GB, free: 0.8789 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.389e-05/1.198, allocations: 26.2 kB / 1.099 GB, free: 0.8477 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.155e-06/1.198, allocations: 4.562 kB / 1.099 GB, free: 0.8438 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.334e-05/1.198, allocations: 2.578 kB / 1.099 GB, free: 0.8438 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.48e-06/1.199, allocations: 0.7188 kB / 1.099 GB, free: 0.8438 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001763/1.199, allocations: 138.6 kB / 1.1 GB, free: 0.6719 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 6.561e-05/1.199, allocations: 27.83 kB / 1.1 GB, free: 0.6367 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.294e-05/1.199, allocations: 4.859 kB / 1.1 GB, free: 0.6289 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.562e-05/1.199, allocations: 0.7188 kB / 1.1 GB, free: 0.6289 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.8e-05/1.199, allocations: 36.25 kB / 1.1 GB, free: 0.5859 MB / 0.698 GB Notification: Performance of pre-optimization done (n=2): time 1.362e-06/1.199, allocations: 0.5 kB / 1.1 GB, free: 0.5859 MB / 0.698 GB Notification: Performance of matching and sorting (n=2): time 0.0001486/1.199, allocations: 38.31 kB / 1.1 GB, free: 0.543 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.163e-05/1.199, allocations: 56.03 kB / 1.1 GB, free: 488 kB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.92e-05/1.199, allocations: 89.75 kB / 1.1 GB, free: 392 kB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.361e-05/1.199, allocations: 25.7 kB / 1.1 GB, free: 360 kB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 3.507e-05/1.199, allocations: 81.14 kB / 1.1 GB, free: 276 kB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 3.227e-05/1.199, allocations: 7.906 kB / 1.1 GB, free: 268 kB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.647e-06/1.199, allocations: 4.656 kB / 1.1 GB, free: 264 kB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0002037/1.2, allocations: 315.5 kB / 1.1 GB, free: 15.94 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.294e-05/1.2, allocations: 0 / 1.1 GB, free: 15.94 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.304e-05/1.2, allocations: 4.5 kB / 1.1 GB, free: 15.94 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.985e-05/1.2, allocations: 8.203 kB / 1.1 GB, free: 15.93 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/1.2, allocations: 0 / 1.1 GB, free: 15.93 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2) (initialization): time 9.168e-05/1.2, allocations: 38.27 kB / 1.1 GB, free: 15.89 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.599e-05/1.2, allocations: 4.938 kB / 1.1 GB, free: 15.88 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.51e-06/1.2, allocations: 0 / 1.1 GB, free: 15.88 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.293e-05/1.2, allocations: 4 kB / 1.1 GB, free: 15.88 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002196/1.2, allocations: 11.98 kB / 1.1 GB, free: 15.87 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005235/1.201, allocations: 0.5937 MB / 1.101 GB, free: 15.25 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.124e-05/1.201, allocations: 4.031 kB / 1.101 GB, free: 15.25 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.324e-06/1.201, allocations: 0.6562 kB / 1.101 GB, free: 15.25 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.059e-05/1.201, allocations: 105.3 kB / 1.101 GB, free: 15.14 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.335e-05/1.201, allocations: 3.906 kB / 1.101 GB, free: 15.13 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001438/1.201, allocations: 49.31 kB / 1.101 GB, free: 15.08 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.228e-06/1.201, allocations: 4.875 kB / 1.101 GB, free: 15.08 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.193e-06/1.201, allocations: 4 kB / 1.101 GB, free: 15.07 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.768e-06/1.201, allocations: 0 / 1.101 GB, free: 15.07 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001212/1.201, allocations: 130.2 kB / 1.101 GB, free: 14.91 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.175e-06/1.201, allocations: 0 / 1.101 GB, free: 14.91 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001486/1.201, allocations: 13.8 kB / 1.101 GB, free: 14.9 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.398e-06/1.201, allocations: 0.7031 kB / 1.101 GB, free: 14.9 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.327e-06/1.201, allocations: 3.906 kB / 1.101 GB, free: 14.89 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004526/1.202, allocations: 0.5899 MB / 1.102 GB, free: 14.28 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.522e-06/1.202, allocations: 4.031 kB / 1.102 GB, free: 14.28 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001013/1.202, allocations: 65.03 kB / 1.102 GB, free: 14.2 MB / 0.7136 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002667/1.202, allocations: 445.5 kB / 1.102 GB, free: 13.74 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 5.397e-05/1.202, allocations: 81.09 kB / 1.102 GB, free: 13.64 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.801e-05/1.202, allocations: 0 / 1.102 GB, free: 13.64 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.348e-05/1.202, allocations: 7.938 kB / 1.102 GB, free: 13.63 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.195e-05/1.202, allocations: 0 / 1.102 GB, free: 13.63 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.867e-06/1.202, allocations: 0 / 1.102 GB, free: 13.63 MB / 0.7136 GB Notification: Performance of sort global known variables: time 4.138e-05/1.202, allocations: 79.28 kB / 1.102 GB, free: 13.55 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.001075/1.203, allocations: 12 kB / 1.102 GB, free: 13.54 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.000235/1.204, allocations: 123.2 kB / 1.103 GB, free: 13.41 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0002796/1.204, allocations: 19.98 kB / 1.103 GB, free: 13.39 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/1.204, allocations: 0 / 1.103 GB, free: 13.39 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0001798/1.204, allocations: 11.98 kB / 1.103 GB, free: 13.38 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001261/1.204, allocations: 10.94 kB / 1.103 GB, free: 13.38 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002384/1.205, allocations: 48.75 kB / 1.103 GB, free: 13.3 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003981/1.205, allocations: 0.6888 MB / 1.103 GB, free: 12.59 MB / 0.7136 GB Notification: Performance of SimCode: time 1.192e-06/1.205, allocations: 4 kB / 1.103 GB, free: 12.59 MB / 0.7136 GB (rm -f Buildings_8.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_m_flow_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_m_flow.fmu > Buildings_8.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe 2>&1)