Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_MassExchangers_Validation_ConstantEffectivenessZeroFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_MassExchangers_Validation_ConstantEffectivenessZeroFlow",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 7.0.3-maint.7.0.x/package.mo): time 1.24/1.24, allocations: 249.4 MB / 256.7 MB, free: 6.961 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009317/0.0009317, allocations: 185.1 kB / 316 MB, free: 3.559 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.114/1.114, allocations: 205.2 MB / 0.5667 GB, free: 15.66 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007993/0.0007994, allocations: 86.25 kB / 0.671 GB, free: 4.793 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.3194/0.3202, allocations: 112.4 MB / 0.7808 GB, free: 103 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1579/0.4781, allocations: 106.3 MB / 0.8846 GB, free: 12.55 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.98/4.458, allocations: 2.208 GB / 3.093 GB, free: 195.7 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002426/4.459, allocations: 87.8 kB / 3.093 GB, free: 195.6 MB / 0.8698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 209 * Number of variables: 209 Notification: Performance of Generate backend data structure: time 3.01/7.469, allocations: 0.9708 GB / 4.063 GB, free: 147.3 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 3.511e-05/7.469, allocations: 9.594 kB / 4.063 GB, free: 147.3 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002933/7.472, allocations: 0.5927 MB / 4.064 GB, free: 147.2 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001868/7.474, allocations: 1.056 MB / 4.065 GB, free: 146.9 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005777/7.474, allocations: 178.4 kB / 4.065 GB, free: 146.9 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001258/7.474, allocations: 53.38 kB / 4.065 GB, free: 146.9 MB / 0.8855 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001448/7.476, allocations: 1.051 MB / 4.066 GB, free: 146.9 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001401/7.477, allocations: 1.041 MB / 4.067 GB, free: 146.9 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.835e-05/7.477, allocations: 0 / 4.067 GB, free: 146.9 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.921e-05/7.477, allocations: 3.844 kB / 4.067 GB, free: 146.9 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.004e-05/7.477, allocations: 42.66 kB / 4.067 GB, free: 146.9 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005527/7.483, allocations: 4.093 MB / 4.071 GB, free: 145.4 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001011/7.484, allocations: 0.7232 MB / 4.072 GB, free: 145.3 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006025/7.485, allocations: 0.5037 MB / 4.073 GB, free: 145.3 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009249/7.485, allocations: 0.6252 MB / 4.073 GB, free: 144.7 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.834e-05/7.486, allocations: 46.3 kB / 4.073 GB, free: 144.7 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=76): time 1.884e-06/7.486, allocations: 3.562 kB / 4.073 GB, free: 144.7 MB / 0.8855 GB Notification: Performance of matching and sorting (n=76): time 0.002308/7.488, allocations: 1.188 MB / 4.074 GB, free: 144.6 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.479e-05/7.488, allocations: 63.75 kB / 4.074 GB, free: 144.5 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005908/7.488, allocations: 0.5661 MB / 4.075 GB, free: 144.4 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 7.968e-05/7.489, allocations: 29.52 kB / 4.075 GB, free: 144.4 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001583/7.489, allocations: 329.9 kB / 4.075 GB, free: 144.2 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001744/7.489, allocations: 247.5 kB / 4.076 GB, free: 144.1 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.481e-05/7.489, allocations: 0 / 4.076 GB, free: 144.1 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 8.025e-05/7.489, allocations: 332.5 kB / 4.076 GB, free: 143.8 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005434/7.49, allocations: 408.3 kB / 4.076 GB, free: 143.8 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006107/7.49, allocations: 0.5358 MB / 4.077 GB, free: 143.7 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001071/7.491, allocations: 0.6219 MB / 4.077 GB, free: 143.7 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.327e-06/7.491, allocations: 3.719 kB / 4.077 GB, free: 143.7 MB / 0.8855 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.001941/7.493, allocations: 1.214 MB / 4.079 GB, free: 143.6 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.000102/7.493, allocations: 455.4 kB / 4.079 GB, free: 143.1 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.285e-06/7.493, allocations: 10.36 kB / 4.079 GB, free: 143.1 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.606e-05/7.493, allocations: 3.812 kB / 4.079 GB, free: 143.1 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001604/7.495, allocations: 290.1 kB / 4.079 GB, free: 143.1 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005296/7.496, allocations: 1.203 MB / 4.08 GB, free: 141.9 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001179/7.497, allocations: 186.4 kB / 4.081 GB, free: 141.9 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000109/7.497, allocations: 46.86 kB / 4.081 GB, free: 141.9 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 5.901e-06/7.497, allocations: 6.281 kB / 4.081 GB, free: 141.9 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001734/7.499, allocations: 1.09 MB / 4.082 GB, free: 141.9 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.767e-06/7.499, allocations: 5.5 kB / 4.082 GB, free: 141.9 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.084e-06/7.499, allocations: 11.16 kB / 4.082 GB, free: 141.9 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00125/7.5, allocations: 270.3 kB / 4.082 GB, free: 141.9 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.42e-06/7.5, allocations: 9.25 kB / 4.082 GB, free: 141.9 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001067/7.501, allocations: 183.3 kB / 4.082 GB, free: 141.9 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.302e-05/7.501, allocations: 37.53 kB / 4.082 GB, free: 141.9 MB / 0.8855 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 2 (hex.i1_w,hex.i2_w) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (86): * Single equations (assignments): 83 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * 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: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001933/7.501, allocations: 117 kB / 4.082 GB, free: 141.8 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001551/7.501, allocations: 93.66 kB / 4.082 GB, free: 141.7 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002243/7.504, allocations: 1.272 MB / 4.084 GB, free: 141.7 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.767e-06/7.504, allocations: 9.438 kB / 4.084 GB, free: 141.7 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.901e-06/7.504, allocations: 0 / 4.084 GB, free: 141.7 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.325e-06/7.504, allocations: 5.531 kB / 4.084 GB, free: 141.7 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003832/7.508, allocations: 2.644 MB / 4.086 GB, free: 141.2 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5e-06/7.508, allocations: 2.938 kB / 4.086 GB, free: 141.2 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001299/7.509, allocations: 272.8 kB / 4.087 GB, free: 141.2 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.057e-05/7.509, allocations: 11.19 kB / 4.087 GB, free: 141.2 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.993e-05/7.509, allocations: 20.92 kB / 4.087 GB, free: 141.2 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003669/7.509, allocations: 1.198 MB / 4.088 GB, free: 140 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.987e-06/7.509, allocations: 6.469 kB / 4.088 GB, free: 140 MB / 0.8855 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001823/7.511, allocations: 1.539 MB / 4.089 GB, free: 139.5 MB / 0.8855 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002369/7.514, allocations: 2.058 MB / 4.091 GB, free: 138.5 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004559/7.514, allocations: 305.6 kB / 4.092 GB, free: 138.4 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001595/7.514, allocations: 7.062 kB / 4.092 GB, free: 138.4 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001261/7.516, allocations: 168.2 kB / 4.092 GB, free: 138.4 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001232/7.516, allocations: 58.95 kB / 4.092 GB, free: 138.4 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.155e-05/7.516, allocations: 42.25 kB / 4.092 GB, free: 138.4 MB / 0.8855 GB Notification: Performance of sort global known variables: time 0.0004819/7.516, allocations: 440.8 kB / 4.092 GB, free: 138.3 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.003772/7.52, allocations: 1.291 MB / 4.094 GB, free: 138.2 MB / 0.8855 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (76): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * 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: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003155/7.523, allocations: 2.631 MB / 4.096 GB, free: 137.3 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.002668/7.526, allocations: 1.612 MB / 4.098 GB, free: 137.2 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 5.31e-06/7.526, allocations: 0 / 4.098 GB, free: 137.2 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0007849/7.527, allocations: 0.5369 MB / 4.098 GB, free: 137.2 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001992/7.529, allocations: 413.3 kB / 4.099 GB, free: 137.2 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01471/7.543, allocations: 2.399 MB / 4.101 GB, free: 136.8 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009459/7.544, allocations: 1.23 MB / 4.102 GB, free: 136 MB / 0.8855 GB Notification: Performance of SimCode: time 1.082e-06/7.544, allocations: 0 / 4.102 GB, free: 136 MB / 0.8855 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_MassExchangers_Validation_ConstantEffectivenessZeroFlow_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_MassExchangers_Validation_ConstantEffectivenessZeroFlow.fmu > Buildings_maint.7.0.x_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow.pipe 2>&1)