Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.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_dp,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_dp",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_dp",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.648/2.648, allocations: 284.8 MB / 292.1 MB, free: 10.7 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.001656/0.001656, allocations: 185.3 kB / 360.3 MB, free: 7.539 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.047/2.047, allocations: 205.1 MB / 0.6187 GB, free: 13.3 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.001246/0.001245, allocations: 91.3 kB / 0.7317 GB, free: 45.15 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.3453/0.3466, allocations: 121.4 MB / 0.8502 GB, free: 3.93 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.605/0.9517, allocations: 115.2 MB / 0.9627 GB, free: 78.53 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2248/1.177, allocations: 137.5 MB / 1.097 GB, free: 3.328 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003152/1.177, allocations: 83.83 kB / 1.097 GB, free: 3.25 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.01776/1.195, allocations: 3.432 MB / 1.1 GB, free: 15.86 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.702e-05/1.195, allocations: 8.5 kB / 1.1 GB, free: 15.85 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.123e-05/1.195, allocations: 0.5312 kB / 1.1 GB, free: 15.85 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001481/1.195, allocations: 164.7 kB / 1.101 GB, free: 15.65 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.689e-05/1.195, allocations: 4 kB / 1.101 GB, free: 15.64 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.336e-06/1.195, allocations: 0 / 1.101 GB, free: 15.64 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.626e-05/1.195, allocations: 0 / 1.101 GB, free: 15.64 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.839e-05/1.195, allocations: 30.3 kB / 1.101 GB, free: 15.61 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.766e-05/1.195, allocations: 6.625 kB / 1.101 GB, free: 15.61 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.698e-06/1.195, allocations: 0 / 1.101 GB, free: 15.61 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.39e-06/1.195, allocations: 0 / 1.101 GB, free: 15.61 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001792/1.195, allocations: 139.1 kB / 1.101 GB, free: 15.43 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 5.606e-05/1.195, allocations: 19.45 kB / 1.101 GB, free: 15.41 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.247e-05/1.196, allocations: 12.92 kB / 1.101 GB, free: 15.39 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.727e-05/1.196, allocations: 0.5 kB / 1.101 GB, free: 15.39 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.173e-05/1.196, allocations: 31.78 kB / 1.101 GB, free: 15.35 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=2): time 1.532e-06/1.196, allocations: 0 / 1.101 GB, free: 15.35 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2): time 0.0001564/1.196, allocations: 38.78 kB / 1.101 GB, free: 15.31 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.21e-05/1.196, allocations: 55.94 kB / 1.101 GB, free: 15.24 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.476e-05/1.196, allocations: 89.69 kB / 1.101 GB, free: 15.15 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.06e-05/1.196, allocations: 25.7 kB / 1.101 GB, free: 15.12 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 3.435e-05/1.196, allocations: 84.86 kB / 1.101 GB, free: 15.03 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 3.01e-05/1.196, allocations: 4.531 kB / 1.101 GB, free: 15.03 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.226e-06/1.196, allocations: 3.938 kB / 1.101 GB, free: 15.02 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001902/1.196, allocations: 311.9 kB / 1.101 GB, free: 14.71 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.788e-05/1.196, allocations: 4.5 kB / 1.101 GB, free: 14.71 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.16e-05/1.196, allocations: 160 / 1.101 GB, free: 14.71 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.551e-05/1.196, allocations: 12.7 kB / 1.101 GB, free: 14.7 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.245e-06/1.196, allocations: 0 / 1.101 GB, free: 14.7 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001014/1.196, allocations: 41.61 kB / 1.102 GB, free: 14.65 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.657e-05/1.196, allocations: 4 kB / 1.102 GB, free: 14.64 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.65e-06/1.196, allocations: 0 / 1.102 GB, free: 14.64 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.513e-05/1.197, allocations: 0 / 1.102 GB, free: 14.64 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002452/1.197, allocations: 11.98 kB / 1.102 GB, free: 14.63 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005225/1.197, allocations: 0.5952 MB / 1.102 GB, free: 14.02 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.039e-05/1.197, allocations: 0 / 1.102 GB, free: 14.02 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.105e-06/1.197, allocations: 0 / 1.102 GB, free: 14.02 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.801e-05/1.197, allocations: 108.8 kB / 1.102 GB, free: 13.9 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.438e-05/1.198, allocations: 3.906 kB / 1.102 GB, free: 13.9 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001447/1.198, allocations: 45 kB / 1.102 GB, free: 13.85 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.26e-06/1.198, allocations: 6.062 kB / 1.102 GB, free: 13.84 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.099e-06/1.198, allocations: 0 / 1.102 GB, free: 13.84 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.84e-06/1.198, allocations: 0 / 1.102 GB, free: 13.84 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001277/1.198, allocations: 130.2 kB / 1.102 GB, free: 13.68 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.455e-06/1.198, allocations: 0 / 1.102 GB, free: 13.68 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001617/1.198, allocations: 15.92 kB / 1.102 GB, free: 13.66 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.639e-06/1.198, allocations: 0 / 1.102 GB, free: 13.66 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.077e-05/1.198, allocations: 3.906 kB / 1.102 GB, free: 13.66 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004611/1.199, allocations: 0.586 MB / 1.103 GB, free: 13.05 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.256e-06/1.199, allocations: 0 / 1.103 GB, free: 13.05 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 9.895e-05/1.199, allocations: 65.72 kB / 1.103 GB, free: 12.97 MB / 0.7136 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.000244/1.199, allocations: 453.5 kB / 1.103 GB, free: 12.5 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 4.914e-05/1.199, allocations: 77.11 kB / 1.104 GB, free: 12.41 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.536e-05/1.199, allocations: 0 / 1.104 GB, free: 12.41 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.751e-05/1.199, allocations: 2 kB / 1.104 GB, free: 12.41 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.86e-05/1.199, allocations: 8 kB / 1.104 GB, free: 12.4 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.501e-06/1.199, allocations: 0 / 1.104 GB, free: 12.4 MB / 0.7136 GB Notification: Performance of sort global known variables: time 3.869e-05/1.199, allocations: 79.03 kB / 1.104 GB, free: 12.33 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.001146/1.2, allocations: 19.88 kB / 1.104 GB, free: 12.31 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.0002512/1.201, allocations: 123.2 kB / 1.104 GB, free: 12.18 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0002984/1.201, allocations: 15.98 kB / 1.104 GB, free: 12.16 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.627e-06/1.201, allocations: 0 / 1.104 GB, free: 12.16 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.000184/1.201, allocations: 23.92 kB / 1.104 GB, free: 12.14 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001328/1.201, allocations: 1.203 kB / 1.104 GB, free: 12.14 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002162/1.201, allocations: 48.73 kB / 1.104 GB, free: 12.07 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003173/1.202, allocations: 0.692 MB / 1.105 GB, free: 11.35 MB / 0.7136 GB Notification: Performance of SimCode: time 9.01e-07/1.202, allocations: 0 / 1.105 GB, free: 11.35 MB / 0.7136 GB (rm -f Buildings_8.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_dp_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_dp.fmu > Buildings_8.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe 2>&1)