Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: translateModel(BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions") translateModel(BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions") [: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/BuildingSystems 2.0.0-master/package.mo): time 0.7913/0.7913, allocations: 141.8 MB / 149.1 MB, free: 4.48 MB / 122.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001108/0.001108, allocations: 187.4 kB / 181.9 MB, free: 148 kB / 138.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.456/1.456, allocations: 221.3 MB / 436 MB, free: 9.297 MB / 330.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001021/0.001021, allocations: 95.67 kB / 0.507 GB, free: 24.2 MB / 394.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001861/0.001862, allocations: 280.8 kB / 0.5884 GB, free: 12.32 MB / 442.9 MB Notification: Performance of FrontEnd - loaded program: time 1.315e-05/1.331e-05, allocations: 7.938 kB / 0.6759 GB, free: 2.684 MB / 0.5107 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4862/0.4862, allocations: 82.76 MB / 0.7567 GB, free: 112.8 MB / 0.5263 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1236/0.6098, allocations: 109.6 MB / 0.8637 GB, free: 3.098 MB / 0.5263 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001923/0.6101, allocations: 84.31 kB / 0.8638 GB, free: 3.02 MB / 0.5263 GB Notification: Performance of FrontEnd: time 0.0153/0.6254, allocations: 5.025 MB / 0.8687 GB, free: 14.03 MB / 0.5419 GB Notification: Performance of Transformations before backend: time 1.791e-05/0.6254, allocations: 0 / 0.8687 GB, free: 14.03 MB / 0.5419 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.0004393/0.6259, allocations: 362.4 kB / 0.8691 GB, free: 13.63 MB / 0.5419 GB Notification: Performance of prepare preOptimizeDAE: time 5.463e-05/0.626, allocations: 8.031 kB / 0.8691 GB, free: 13.62 MB / 0.5419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.374e-05/0.626, allocations: 4 kB / 0.8691 GB, free: 13.62 MB / 0.5419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001364/0.6261, allocations: 163 kB / 0.8692 GB, free: 13.42 MB / 0.5419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.612e-05/0.6262, allocations: 4 kB / 0.8692 GB, free: 13.41 MB / 0.5419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.274e-05/0.6262, allocations: 4 kB / 0.8693 GB, free: 13.41 MB / 0.5419 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.536e-05/0.6263, allocations: 12 kB / 0.8693 GB, free: 13.4 MB / 0.5419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.186e-05/0.6264, allocations: 37.62 kB / 0.8693 GB, free: 13.36 MB / 0.5419 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.993e-06/0.6264, allocations: 8 kB / 0.8693 GB, free: 13.35 MB / 0.5419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.006e-06/0.6264, allocations: 0 / 0.8693 GB, free: 13.35 MB / 0.5419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.829e-06/0.6264, allocations: 0 / 0.8693 GB, free: 13.35 MB / 0.5419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003582/0.6268, allocations: 229.4 kB / 0.8695 GB, free: 13.09 MB / 0.5419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002046/0.627, allocations: 42.69 kB / 0.8696 GB, free: 13.04 MB / 0.5419 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.698e-05/0.627, allocations: 16.86 kB / 0.8696 GB, free: 13.02 MB / 0.5419 GB Notification: Performance of preOpt evalFunc (simulation): time 3.337e-05/0.6271, allocations: 7.984 kB / 0.8696 GB, free: 13.01 MB / 0.5419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.38e-05/0.6271, allocations: 34.5 kB / 0.8696 GB, free: 12.96 MB / 0.5419 GB Notification: Performance of pre-optimization done (n=4): time 1.442e-06/0.6271, allocations: 4 kB / 0.8696 GB, free: 12.96 MB / 0.5419 GB Notification: Performance of matching and sorting (n=4): time 0.0001854/0.6273, allocations: 53.62 kB / 0.8697 GB, free: 12.9 MB / 0.5419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.226e-05/0.6274, allocations: 51.41 kB / 0.8697 GB, free: 12.84 MB / 0.5419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.469e-05/0.6274, allocations: 92.94 kB / 0.8698 GB, free: 12.74 MB / 0.5419 GB Notification: Performance of collectPreVariables (initialization): time 1.567e-05/0.6275, allocations: 25.7 kB / 0.8698 GB, free: 12.71 MB / 0.5419 GB Notification: Performance of collectInitialEqns (initialization): time 6.022e-05/0.6275, allocations: 84.14 kB / 0.8699 GB, free: 12.62 MB / 0.5419 GB Notification: Performance of collectInitialBindings (initialization): time 1.439e-05/0.6276, allocations: 15.8 kB / 0.8699 GB, free: 12.61 MB / 0.5419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.327e-06/0.6276, allocations: 0 / 0.8699 GB, free: 12.61 MB / 0.5419 GB Notification: Performance of setup shared object (initialization): time 0.0001284/0.6277, allocations: 314.8 kB / 0.8702 GB, free: 12.29 MB / 0.5419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.022e-05/0.6277, allocations: 10.91 kB / 0.8702 GB, free: 12.29 MB / 0.5419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.767e-05/0.6278, allocations: 13.72 kB / 0.8703 GB, free: 12.27 MB / 0.5419 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.543e-05/0.6278, allocations: 11.98 kB / 0.8703 GB, free: 12.25 MB / 0.5419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.6278, allocations: 0 / 0.8703 GB, free: 12.25 MB / 0.5419 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000109/0.6279, allocations: 61.53 kB / 0.8703 GB, free: 12.19 MB / 0.5419 GB Notification: Performance of prepare postOptimizeDAE: time 1.65e-05/0.6279, allocations: 8 kB / 0.8703 GB, free: 12.18 MB / 0.5419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.322e-06/0.628, allocations: 0 / 0.8703 GB, free: 12.18 MB / 0.5419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.372e-05/0.628, allocations: 0 / 0.8703 GB, free: 12.18 MB / 0.5419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.342e-05/0.628, allocations: 8 kB / 0.8703 GB, free: 12.17 MB / 0.5419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.859e-06/0.628, allocations: 0 / 0.8703 GB, free: 12.17 MB / 0.5419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.747e-05/0.6281, allocations: 0 / 0.8703 GB, free: 12.17 MB / 0.5419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.598e-06/0.6281, allocations: 7.906 kB / 0.8704 GB, free: 12.16 MB / 0.5419 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 7.546e-05/0.6282, allocations: 101 kB / 0.8704 GB, free: 12.06 MB / 0.5419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.253e-05/0.6282, allocations: 4.031 kB / 0.8705 GB, free: 12.05 MB / 0.5419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000151/0.6284, allocations: 66.23 kB / 0.8705 GB, free: 11.98 MB / 0.5419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.928e-06/0.6284, allocations: 3.906 kB / 0.8705 GB, free: 11.98 MB / 0.5419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.148e-06/0.6284, allocations: 0 / 0.8705 GB, free: 11.98 MB / 0.5419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.576e-06/0.6284, allocations: 4 kB / 0.8705 GB, free: 11.98 MB / 0.5419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001616/0.6286, allocations: 134.2 kB / 0.8707 GB, free: 11.81 MB / 0.5419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.6286, allocations: 0 / 0.8707 GB, free: 11.81 MB / 0.5419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.484e-05/0.6286, allocations: 4 kB / 0.8707 GB, free: 11.8 MB / 0.5419 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.404e-06/0.6286, allocations: 5.688 kB / 0.8707 GB, free: 11.8 MB / 0.5419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.798e-06/0.6286, allocations: 4 kB / 0.8707 GB, free: 11.8 MB / 0.5419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/0.6287, allocations: 0 / 0.8707 GB, free: 11.8 MB / 0.5419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.187e-06/0.6287, allocations: 3.906 kB / 0.8707 GB, free: 11.79 MB / 0.5419 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001394/0.6288, allocations: 147.6 kB / 0.8708 GB, free: 11.63 MB / 0.5419 GB Notification: Performance of postOpt removeConstants (simulation): time 4.265e-05/0.6289, allocations: 92.89 kB / 0.8709 GB, free: 11.52 MB / 0.5419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.823e-05/0.6289, allocations: 3.984 kB / 0.8709 GB, free: 11.52 MB / 0.5419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.777e-05/0.6289, allocations: 0 / 0.8709 GB, free: 11.52 MB / 0.5419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.505e-05/0.629, allocations: 4 kB / 0.8709 GB, free: 11.52 MB / 0.5419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.019e-06/0.629, allocations: 4 kB / 0.8709 GB, free: 11.51 MB / 0.5419 GB Notification: Performance of sort global known variables: time 4.466e-05/0.629, allocations: 79.64 kB / 0.871 GB, free: 11.43 MB / 0.5419 GB Notification: Performance of remove unused functions: time 0.0003004/0.6293, allocations: 24 kB / 0.871 GB, free: 11.41 MB / 0.5419 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.0002445/0.6296, allocations: 127.2 kB / 0.8711 GB, free: 11.27 MB / 0.5419 GB Notification: Performance of simCode: created initialization part: time 8.906e-05/0.6297, allocations: 23.94 kB / 0.8712 GB, free: 11.25 MB / 0.5419 GB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.6297, allocations: 0 / 0.8712 GB, free: 11.25 MB / 0.5419 GB Notification: Performance of simCode: created simulation system equations: time 1.901e-05/0.6297, allocations: 8 kB / 0.8712 GB, free: 11.24 MB / 0.5419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001406/0.6299, allocations: 5.656 kB / 0.8712 GB, free: 11.24 MB / 0.5419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002242/0.6301, allocations: 59.92 kB / 0.8712 GB, free: 11.16 MB / 0.5419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002522/0.6304, allocations: 0.6876 MB / 0.8719 GB, free: 10.45 MB / 0.5419 GB Notification: Performance of SimCode: time 2.1e-07/0.6304, allocations: 0 / 0.8719 GB, free: 10.45 MB / 0.5419 GB Notification: Performance of Templates: time 0.002788/0.6332, allocations: 0.5673 MB / 0.8724 GB, free: 9.914 MB / 0.5419 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.sim & ./BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe 2>&1)