Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.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.InverseFlowFunctions,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_BaseClasses_FlowModels_Validation_InverseFlowFunctions",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_BaseClasses_FlowModels_Validation_InverseFlowFunctions",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.37/1.37, allocations: 285.5 MB / 292.8 MB, free: 10.54 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.0009536/0.0009536, allocations: 177.3 kB / 361.1 MB, free: 7.137 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.214/1.214, allocations: 205.1 MB / 0.6195 GB, free: 10.35 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.0007866/0.0007867, allocations: 102.2 kB / 0.7326 GB, free: 44.27 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2122/0.213, allocations: 121.4 MB / 0.8512 GB, free: 2.914 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5118/0.7248, allocations: 115.3 MB / 0.9638 GB, free: 78.3 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1452/0.8701, allocations: 138.9 MB / 1.099 GB, free: 1.227 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002085/0.8704, allocations: 76.61 kB / 1.099 GB, free: 1.152 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.01625/0.8866, allocations: 5.311 MB / 1.105 GB, free: 11.9 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.37e-05/0.8867, allocations: 8 kB / 1.105 GB, free: 11.89 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.524e-05/0.8867, allocations: 11.91 kB / 1.105 GB, free: 11.88 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000139/0.8869, allocations: 163.1 kB / 1.105 GB, free: 11.68 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.113e-05/0.8869, allocations: 0 / 1.105 GB, free: 11.68 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.209e-05/0.8869, allocations: 7.984 kB / 1.105 GB, free: 11.67 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.783e-05/0.887, allocations: 8 kB / 1.105 GB, free: 11.66 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.389e-05/0.8871, allocations: 45.62 kB / 1.105 GB, free: 11.61 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.885e-06/0.8871, allocations: 0 / 1.105 GB, free: 11.61 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.047e-05/0.8871, allocations: 1.812 kB / 1.105 GB, free: 11.61 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.893e-06/0.8871, allocations: 3.906 kB / 1.105 GB, free: 11.61 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000325/0.8875, allocations: 229.5 kB / 1.105 GB, free: 11.35 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001881/0.8877, allocations: 34.7 kB / 1.105 GB, free: 11.3 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.993e-05/0.8877, allocations: 20.94 kB / 1.105 GB, free: 11.28 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.538e-05/0.8877, allocations: 0 / 1.105 GB, free: 11.28 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.318e-05/0.8878, allocations: 42.47 kB / 1.105 GB, free: 11.23 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=4): time 2.134e-06/0.8878, allocations: 4 kB / 1.105 GB, free: 11.23 MB / 0.7136 GB Notification: Performance of matching and sorting (n=4): time 0.0001561/0.8879, allocations: 45.62 kB / 1.105 GB, free: 11.18 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.16e-05/0.888, allocations: 60.84 kB / 1.105 GB, free: 11.11 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.005e-05/0.8881, allocations: 92.94 kB / 1.105 GB, free: 11.01 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.437e-05/0.8881, allocations: 25.7 kB / 1.105 GB, free: 10.98 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 3.69e-05/0.8881, allocations: 84.05 kB / 1.105 GB, free: 10.89 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 5.573e-05/0.8882, allocations: 7.906 kB / 1.105 GB, free: 10.88 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.707e-06/0.8882, allocations: 0 / 1.105 GB, free: 10.88 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 9.51e-05/0.8883, allocations: 322.7 kB / 1.106 GB, free: 10.56 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.473e-05/0.8883, allocations: 8 kB / 1.106 GB, free: 10.55 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.552e-05/0.8883, allocations: 17.72 kB / 1.106 GB, free: 10.53 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.277e-05/0.8884, allocations: 8 kB / 1.106 GB, free: 10.52 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.422e-06/0.8884, allocations: 0 / 1.106 GB, free: 10.52 MB / 0.7136 GB Notification: Performance of matching and sorting (n=5) (initialization): time 8.712e-05/0.8885, allocations: 53.62 kB / 1.106 GB, free: 10.46 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.365e-05/0.8885, allocations: 8 kB / 1.106 GB, free: 10.45 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.658e-06/0.8885, allocations: 0 / 1.106 GB, free: 10.45 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.938e-06/0.8885, allocations: 0 / 1.106 GB, free: 10.45 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.923e-05/0.8886, allocations: 16.02 kB / 1.106 GB, free: 10.44 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.138e-06/0.8886, allocations: 0.9375 kB / 1.106 GB, free: 10.44 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.542e-05/0.8886, allocations: 3.906 kB / 1.106 GB, free: 10.43 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.344e-06/0.8886, allocations: 4 kB / 1.106 GB, free: 10.43 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * 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.855e-05/0.8887, allocations: 101 kB / 1.106 GB, free: 10.32 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.374e-05/0.8887, allocations: 0 / 1.106 GB, free: 10.32 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001327/0.8889, allocations: 64.97 kB / 1.106 GB, free: 10.25 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.366e-06/0.8889, allocations: 6.016 kB / 1.106 GB, free: 10.25 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.111e-06/0.8889, allocations: 7.984 kB / 1.106 GB, free: 10.24 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.106e-06/0.8889, allocations: 0 / 1.106 GB, free: 10.24 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001191/0.889, allocations: 130.2 kB / 1.106 GB, free: 10.08 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.495e-06/0.889, allocations: 3.984 kB / 1.106 GB, free: 10.07 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.53e-05/0.8891, allocations: 7.984 kB / 1.106 GB, free: 10.07 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.284e-06/0.8891, allocations: 0 / 1.106 GB, free: 10.07 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.915e-06/0.8891, allocations: 7.906 kB / 1.106 GB, free: 10.06 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.272e-06/0.8891, allocations: 0 / 1.106 GB, free: 10.06 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.136e-06/0.8891, allocations: 2.188 kB / 1.106 GB, free: 10.06 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001154/0.8892, allocations: 151.5 kB / 1.106 GB, free: 9.895 MB / 0.7136 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.000208/0.8894, allocations: 0.5119 MB / 1.107 GB, free: 9.363 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 3.476e-05/0.8895, allocations: 86.58 kB / 1.107 GB, free: 9.262 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.746e-05/0.8895, allocations: 0 / 1.107 GB, free: 9.262 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.908e-05/0.8896, allocations: 3.938 kB / 1.107 GB, free: 9.258 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.345e-05/0.8896, allocations: 7.984 kB / 1.107 GB, free: 9.25 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.589e-06/0.8896, allocations: 4 kB / 1.107 GB, free: 9.246 MB / 0.7136 GB Notification: Performance of sort global known variables: time 3.305e-05/0.8896, allocations: 75.28 kB / 1.107 GB, free: 9.172 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0007914/0.8904, allocations: 28 kB / 1.107 GB, free: 9.145 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 (4): * Single equations (assignments): 4 * 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.0001893/0.8906, allocations: 130.9 kB / 1.107 GB, free: 9.008 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 7.548e-05/0.8907, allocations: 23.94 kB / 1.107 GB, free: 8.984 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.8907, allocations: 0 / 1.107 GB, free: 8.984 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 1.672e-05/0.8907, allocations: 8.062 kB / 1.107 GB, free: 8.977 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001406/0.8909, allocations: 7.906 kB / 1.107 GB, free: 8.969 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002089/0.8911, allocations: 64.67 kB / 1.107 GB, free: 8.883 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002298/0.8913, allocations: 0.6915 MB / 1.108 GB, free: 8.168 MB / 0.7136 GB Notification: Performance of SimCode: time 2.3e-07/0.8914, allocations: 0 / 1.108 GB, free: 8.168 MB / 0.7136 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_BaseClasses_FlowModels_Validation_InverseFlowFunctions_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_BaseClasses_FlowModels_Validation_InverseFlowFunctions.fmu > Buildings_maint.8.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe 2>&1)