Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow") translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow") [: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.1.4-maint.8.1.x/package.mo): time 1.446/1.446, allocations: 289.8 MB / 297.1 MB, free: 6.707 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.001187/0.001186, allocations: 177.3 kB / 366.3 MB, free: 1.988 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.372/1.372, allocations: 205.2 MB / 0.6256 GB, free: 5.832 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.0009412/0.0009412, allocations: 85.17 kB / 0.7395 GB, free: 39.7 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 7.504e-06/7.525e-06, allocations: 0 / 0.859 GB, free: 13.37 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6462/0.6462, allocations: 116.3 MB / 0.9726 GB, free: 68.15 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1692/0.8154, allocations: 138.6 MB / 1.108 GB, free: 9.957 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002687/0.8158, allocations: 79.88 kB / 1.108 GB, free: 9.879 MB / 0.7136 GB Notification: Performance of FrontEnd: time 0.007115/0.8229, allocations: 1.943 MB / 1.11 GB, free: 7.953 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 7.053e-06/0.823, allocations: 0 / 1.11 GB, free: 7.953 MB / 0.7136 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.0003211/0.8233, allocations: 334.4 kB / 1.11 GB, free: 7.582 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.911e-05/0.8234, allocations: 12.03 kB / 1.11 GB, free: 7.57 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.423e-05/0.8234, allocations: 0 / 1.11 GB, free: 7.57 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000132/0.8235, allocations: 163 kB / 1.11 GB, free: 7.371 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.344e-05/0.8236, allocations: 0 / 1.11 GB, free: 7.371 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.053e-05/0.8236, allocations: 0 / 1.11 GB, free: 7.371 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.103e-05/0.8236, allocations: 8.5 kB / 1.11 GB, free: 7.363 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.671e-05/0.8237, allocations: 33.69 kB / 1.11 GB, free: 7.324 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.255e-06/0.8237, allocations: 0 / 1.11 GB, free: 7.324 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.01e-05/0.8238, allocations: 4 kB / 1.11 GB, free: 7.32 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.33e-06/0.8238, allocations: 0 / 1.11 GB, free: 7.32 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001615/0.8239, allocations: 138.1 kB / 1.111 GB, free: 7.148 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 5.493e-05/0.824, allocations: 21.83 kB / 1.111 GB, free: 7.121 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.223e-05/0.824, allocations: 8.859 kB / 1.111 GB, free: 7.109 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.811e-05/0.8241, allocations: 12.03 kB / 1.111 GB, free: 7.098 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.595e-05/0.8241, allocations: 34.56 kB / 1.111 GB, free: 7.055 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=2): time 3.988e-06/0.8241, allocations: 4 kB / 1.111 GB, free: 7.051 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2): time 0.0001489/0.8243, allocations: 41.58 kB / 1.111 GB, free: 7.004 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.276e-05/0.8243, allocations: 51.41 kB / 1.111 GB, free: 6.941 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.43e-05/0.8244, allocations: 85 kB / 1.111 GB, free: 6.852 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.313e-05/0.8244, allocations: 26.45 kB / 1.111 GB, free: 6.82 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 3.267e-05/0.8244, allocations: 88.14 kB / 1.111 GB, free: 6.73 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 3.071e-05/0.8245, allocations: 3.906 kB / 1.111 GB, free: 6.727 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.585e-06/0.8245, allocations: 160 / 1.111 GB, free: 6.727 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.000103/0.8246, allocations: 318.8 kB / 1.111 GB, free: 6.406 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.387e-06/0.8246, allocations: 0 / 1.111 GB, free: 6.406 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.384e-06/0.8246, allocations: 4 kB / 1.111 GB, free: 6.402 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.475e-05/0.8246, allocations: 0 / 1.111 GB, free: 6.402 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.804e-06/0.8246, allocations: 5.312 kB / 1.111 GB, free: 6.398 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.042e-05/0.8247, allocations: 45.55 kB / 1.111 GB, free: 6.348 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.338e-05/0.8247, allocations: 4 kB / 1.111 GB, free: 6.344 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.639e-06/0.8248, allocations: 0 / 1.111 GB, free: 6.344 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.321e-05/0.8248, allocations: 4.094 kB / 1.111 GB, free: 6.34 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000167/0.8249, allocations: 11.98 kB / 1.111 GB, free: 6.328 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003799/0.8253, allocations: 0.5885 MB / 1.112 GB, free: 5.719 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.621e-05/0.8254, allocations: 3.984 kB / 1.112 GB, free: 5.715 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.264e-06/0.8254, allocations: 0 / 1.112 GB, free: 5.715 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 8.413e-05/0.8255, allocations: 105.6 kB / 1.112 GB, free: 5.605 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.798e-06/0.8255, allocations: 7.938 kB / 1.112 GB, free: 5.598 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000123/0.8256, allocations: 50.72 kB / 1.112 GB, free: 5.539 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.455e-06/0.8256, allocations: 0 / 1.112 GB, free: 5.539 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.721e-06/0.8257, allocations: 0 / 1.112 GB, free: 5.539 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.376e-06/0.8257, allocations: 0 / 1.112 GB, free: 5.539 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.765e-05/0.8258, allocations: 126.2 kB / 1.112 GB, free: 5.379 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.8258, allocations: 0 / 1.112 GB, free: 5.379 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.236e-05/0.8258, allocations: 11.98 kB / 1.112 GB, free: 5.367 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.838e-06/0.8259, allocations: 4.031 kB / 1.112 GB, free: 5.363 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.027e-06/0.8259, allocations: 3.906 kB / 1.112 GB, free: 5.359 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003007/0.8262, allocations: 0.5821 MB / 1.113 GB, free: 4.754 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.624e-06/0.8262, allocations: 0 / 1.113 GB, free: 4.754 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 6.888e-05/0.8263, allocations: 73.09 kB / 1.113 GB, free: 4.664 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 3.384e-05/0.8263, allocations: 77.77 kB / 1.113 GB, free: 4.57 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.438e-05/0.8263, allocations: 0 / 1.113 GB, free: 4.57 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.558e-05/0.8264, allocations: 7.938 kB / 1.113 GB, free: 4.562 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.412e-05/0.8264, allocations: 7.891 kB / 1.113 GB, free: 4.555 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.056e-06/0.8264, allocations: 0 / 1.113 GB, free: 4.555 MB / 0.7136 GB Notification: Performance of sort global known variables: time 3.352e-05/0.8264, allocations: 75.28 kB / 1.113 GB, free: 4.48 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002028/0.8266, allocations: 16 kB / 1.113 GB, free: 4.465 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.0002084/0.8268, allocations: 121.1 kB / 1.113 GB, free: 4.336 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0002004/0.8271, allocations: 12 kB / 1.113 GB, free: 4.324 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/0.8271, allocations: 0 / 1.113 GB, free: 4.324 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0001003/0.8272, allocations: 19.92 kB / 1.113 GB, free: 4.305 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001248/0.8273, allocations: 0 / 1.113 GB, free: 4.305 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002555/0.8276, allocations: 51.92 kB / 1.113 GB, free: 4.23 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002185/0.8278, allocations: 0.692 MB / 1.114 GB, free: 3.512 MB / 0.7136 GB Notification: Performance of SimCode: time 4.41e-07/0.8278, allocations: 0 / 1.114 GB, free: 3.512 MB / 0.7136 GB Notification: Performance of Templates: time 0.002502/0.8303, allocations: 440.1 kB / 1.114 GB, free: 3.113 MB / 0.7136 GB make -j1 -f Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.makefile (rm -f Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe ; mkfifo Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe >> ../files/Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.sim & ./Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe 2>&1)