Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness.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.Examples.ConstantEffectiveness,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_MassExchangers_Examples_ConstantEffectiveness",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_MassExchangers_Examples_ConstantEffectiveness",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.996 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.0009481/0.0009482, allocations: 184.9 kB / 316 MB, free: 3.586 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.15/1.15, allocations: 205.2 MB / 0.5667 GB, free: 15.72 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.0009877/0.0009878, allocations: 89.72 kB / 0.671 GB, free: 4.844 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.3499/0.3509, allocations: 112.5 MB / 0.7808 GB, free: 103 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1654/0.5163, allocations: 106.3 MB / 0.8846 GB, free: 12.58 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.095/4.611, allocations: 2.208 GB / 3.092 GB, free: 180.2 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002575/4.612, allocations: 83.95 kB / 3.092 GB, free: 180.1 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 2.948/7.56, allocations: 0.9703 GB / 4.063 GB, free: 144.3 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 3.756e-05/7.56, allocations: 10.97 kB / 4.063 GB, free: 144.3 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002958/7.563, allocations: 0.5915 MB / 4.063 GB, free: 144.2 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001999/7.565, allocations: 1.057 MB / 4.064 GB, free: 143.9 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005787/7.565, allocations: 182.6 kB / 4.065 GB, free: 143.9 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001287/7.566, allocations: 50.56 kB / 4.065 GB, free: 143.9 MB / 0.8855 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00151/7.567, allocations: 1.054 MB / 4.066 GB, free: 143.9 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00143/7.568, allocations: 1.035 MB / 4.067 GB, free: 143.9 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.77e-05/7.568, allocations: 3.812 kB / 4.067 GB, free: 143.9 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.384e-05/7.569, allocations: 7.719 kB / 4.067 GB, free: 143.9 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.121e-05/7.569, allocations: 46.94 kB / 4.067 GB, free: 143.8 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005485/7.574, allocations: 4.093 MB / 4.071 GB, free: 142.3 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009232/7.575, allocations: 0.7252 MB / 4.071 GB, free: 142.3 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005517/7.576, allocations: 0.5071 MB / 4.072 GB, free: 142.3 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000907/7.577, allocations: 0.6163 MB / 4.073 GB, free: 141.7 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.391e-05/7.577, allocations: 48.78 kB / 4.073 GB, free: 141.7 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=76): time 2.936e-06/7.577, allocations: 0 / 4.073 GB, free: 141.7 MB / 0.8855 GB Notification: Performance of matching and sorting (n=76): time 0.002263/7.579, allocations: 1.191 MB / 4.074 GB, free: 141.6 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.556e-05/7.579, allocations: 63.12 kB / 4.074 GB, free: 141.5 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005849/7.579, allocations: 0.563 MB / 4.074 GB, free: 141.4 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 8.408e-05/7.58, allocations: 29.58 kB / 4.074 GB, free: 141.4 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001526/7.58, allocations: 331.2 kB / 4.075 GB, free: 141.2 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001671/7.58, allocations: 248 kB / 4.075 GB, free: 141 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.935e-05/7.58, allocations: 0 / 4.075 GB, free: 141 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 6.687e-05/7.58, allocations: 329 kB / 4.075 GB, free: 140.7 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005483/7.581, allocations: 415 kB / 4.076 GB, free: 140.7 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006205/7.581, allocations: 0.5338 MB / 4.076 GB, free: 140.6 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001046/7.582, allocations: 0.6194 MB / 4.077 GB, free: 140.6 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.996e-06/7.582, allocations: 0 / 4.077 GB, free: 140.6 MB / 0.8855 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.001912/7.584, allocations: 1.219 MB / 4.078 GB, free: 140.5 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 8.895e-05/7.584, allocations: 453.2 kB / 4.078 GB, free: 140.1 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.404e-06/7.584, allocations: 7.156 kB / 4.078 GB, free: 140.1 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.54e-05/7.584, allocations: 3.938 kB / 4.078 GB, free: 140.1 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001585/7.586, allocations: 292.2 kB / 4.079 GB, free: 140.1 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005193/7.586, allocations: 1.21 MB / 4.08 GB, free: 138.9 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001276/7.588, allocations: 195 kB / 4.08 GB, free: 138.9 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001062/7.588, allocations: 35.91 kB / 4.08 GB, free: 138.9 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 8.035e-06/7.588, allocations: 3.688 kB / 4.08 GB, free: 138.9 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001764/7.59, allocations: 1.095 MB / 4.081 GB, free: 138.8 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.236e-06/7.59, allocations: 0 / 4.081 GB, free: 138.8 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.636e-06/7.59, allocations: 6.812 kB / 4.081 GB, free: 138.8 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001262/7.591, allocations: 272.5 kB / 4.081 GB, free: 138.8 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.208e-06/7.591, allocations: 3.062 kB / 4.081 GB, free: 138.8 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001194/7.592, allocations: 180.4 kB / 4.082 GB, free: 138.8 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.794e-05/7.592, allocations: 41.5 kB / 4.082 GB, free: 138.8 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.0002143/7.593, allocations: 117 kB / 4.082 GB, free: 138.7 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001573/7.593, allocations: 97.47 kB / 4.082 GB, free: 138.7 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002226/7.595, allocations: 1.277 MB / 4.083 GB, free: 138.6 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.163e-06/7.595, allocations: 7.156 kB / 4.083 GB, free: 138.6 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.42e-06/7.595, allocations: 3.531 kB / 4.083 GB, free: 138.6 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.995e-06/7.595, allocations: 3.844 kB / 4.083 GB, free: 138.6 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003848/7.599, allocations: 2.64 MB / 4.086 GB, free: 138.2 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.979e-06/7.599, allocations: 7.688 kB / 4.086 GB, free: 138.2 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001318/7.6, allocations: 265.1 kB / 4.086 GB, free: 138.2 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.908e-06/7.6, allocations: 10.5 kB / 4.086 GB, free: 138.2 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.346e-05/7.6, allocations: 25.61 kB / 4.086 GB, free: 138.1 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003878/7.601, allocations: 1.198 MB / 4.087 GB, free: 137 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.41e-06/7.601, allocations: 1.875 kB / 4.087 GB, free: 137 MB / 0.8855 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001941/7.603, allocations: 1.542 MB / 4.089 GB, free: 136.4 MB / 0.8855 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002342/7.605, allocations: 2.06 MB / 4.091 GB, free: 135.5 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005134/7.605, allocations: 307.6 kB / 4.091 GB, free: 135.3 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001606/7.606, allocations: 7.594 kB / 4.091 GB, free: 135.3 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001282/7.607, allocations: 170.6 kB / 4.091 GB, free: 135.3 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001073/7.607, allocations: 56.36 kB / 4.091 GB, free: 135.3 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.548e-05/7.607, allocations: 37.25 kB / 4.091 GB, free: 135.3 MB / 0.8855 GB Notification: Performance of sort global known variables: time 0.0004701/7.608, allocations: 444.1 kB / 4.092 GB, free: 135.2 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.003664/7.611, allocations: 1.288 MB / 4.093 GB, free: 135.1 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.002744/7.614, allocations: 2.629 MB / 4.095 GB, free: 134.3 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.00257/7.617, allocations: 1.609 MB / 4.097 GB, free: 134.2 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 4.93e-06/7.617, allocations: 3.812 kB / 4.097 GB, free: 134.2 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0007949/7.617, allocations: 0.5325 MB / 4.098 GB, free: 134.2 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002057/7.62, allocations: 420.4 kB / 4.098 GB, free: 134.2 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01491/7.634, allocations: 2.397 MB / 4.1 GB, free: 133.7 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009561/7.635, allocations: 1.233 MB / 4.102 GB, free: 133 MB / 0.8855 GB Notification: Performance of SimCode: time 6.21e-07/7.635, allocations: 3.281 kB / 4.102 GB, free: 133 MB / 0.8855 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_MassExchangers_Examples_ConstantEffectiveness_fmu --startTime=0 --stopTime=360 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_MassExchangers_Examples_ConstantEffectiveness.fmu > Buildings_maint.7.0.x_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness.pipe 2>&1)