Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.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.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_EpsilonNTUZ",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_EpsilonNTUZ",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.254/1.254, allocations: 249.4 MB / 256.7 MB, free: 7.059 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.001031/0.001031, allocations: 189.2 kB / 316 MB, free: 3.566 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.156/1.156, allocations: 205.2 MB / 0.5667 GB, free: 15.62 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.0008378/0.0008379, allocations: 91.3 kB / 0.671 GB, free: 4.742 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.3291/0.33, allocations: 112.5 MB / 0.7808 GB, free: 103 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1597/0.4897, allocations: 106.3 MB / 0.8847 GB, free: 12.55 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.4654/0.9552, allocations: 134.5 MB / 1.016 GB, free: 4.09 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000259/0.9555, allocations: 88.06 kB / 1.016 GB, free: 4.039 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 30 * Number of variables: 30 Notification: Performance of Generate backend data structure: time 0.04267/0.9982, allocations: 14.81 MB / 1.031 GB, free: 7.641 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 3.669e-05/0.9983, allocations: 12 kB / 1.031 GB, free: 7.629 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.738e-05/0.9983, allocations: 11.91 kB / 1.031 GB, free: 7.617 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.096e-05/0.9984, allocations: 163 kB / 1.031 GB, free: 7.418 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.192e-05/0.9984, allocations: 4 kB / 1.031 GB, free: 7.414 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.601e-05/0.9985, allocations: 15.84 kB / 1.031 GB, free: 7.398 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002764/0.9987, allocations: 165.8 kB / 1.031 GB, free: 7.266 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000249/0.999, allocations: 202.8 kB / 1.031 GB, free: 7.07 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.257e-05/0.999, allocations: 3.938 kB / 1.031 GB, free: 7.066 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.771e-05/0.999, allocations: 4 kB / 1.031 GB, free: 7.062 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.713e-06/0.999, allocations: 0 / 1.031 GB, free: 7.062 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002879/0.9993, allocations: 245.4 kB / 1.031 GB, free: 6.789 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006465/1, allocations: 383.6 kB / 1.032 GB, free: 6.414 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001952/1, allocations: 181.6 kB / 1.032 GB, free: 6.254 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002957/1.001, allocations: 192.7 kB / 1.032 GB, free: 6.035 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.489e-05/1.001, allocations: 38.06 kB / 1.032 GB, free: 5.992 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=30): time 1.723e-06/1.001, allocations: 4 kB / 1.032 GB, free: 5.988 MB / 0.6511 GB Notification: Performance of matching and sorting (n=30): time 0.0006603/1.001, allocations: 280.1 kB / 1.032 GB, free: 5.754 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.369e-05/1.001, allocations: 183.9 kB / 1.033 GB, free: 5.531 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.856e-05/1.001, allocations: 85 kB / 1.033 GB, free: 5.441 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 2.556e-05/1.001, allocations: 25.7 kB / 1.033 GB, free: 5.41 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 3.43e-05/1.001, allocations: 80.64 kB / 1.033 GB, free: 5.328 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 8.988e-05/1.002, allocations: 95.38 kB / 1.033 GB, free: 5.246 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.153e-05/1.002, allocations: 3.938 kB / 1.033 GB, free: 5.242 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001153/1.002, allocations: 331.2 kB / 1.033 GB, free: 4.914 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001195/1.002, allocations: 81.52 kB / 1.033 GB, free: 4.852 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001438/1.002, allocations: 138 kB / 1.033 GB, free: 4.723 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002981/1.002, allocations: 108.8 kB / 1.033 GB, free: 4.637 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.315e-06/1.002, allocations: 4 kB / 1.033 GB, free: 4.633 MB / 0.6511 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0005222/1.003, allocations: 282.4 kB / 1.034 GB, free: 4.398 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.445e-05/1.003, allocations: 8 kB / 1.034 GB, free: 4.391 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.224e-06/1.003, allocations: 4 kB / 1.034 GB, free: 4.387 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.246e-05/1.003, allocations: 0 / 1.034 GB, free: 4.387 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002466/1.003, allocations: 59.84 kB / 1.034 GB, free: 4.328 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.905e-06/1.003, allocations: 0 / 1.034 GB, free: 4.328 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001032/1.003, allocations: 19.69 kB / 1.034 GB, free: 4.309 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.77e-05/1.003, allocations: 19.47 kB / 1.034 GB, free: 4.293 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (30): * Single equations (assignments): 30 * 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 9.338e-05/1.003, allocations: 112 kB / 1.034 GB, free: 4.18 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.08e-05/1.003, allocations: 7.906 kB / 1.034 GB, free: 4.172 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006508/1.004, allocations: 363.5 kB / 1.034 GB, free: 3.871 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.631e-06/1.004, allocations: 4 kB / 1.034 GB, free: 3.867 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.59e-06/1.004, allocations: 0 / 1.034 GB, free: 3.867 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.897e-06/1.004, allocations: 7.984 kB / 1.034 GB, free: 3.859 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002093/1.004, allocations: 226.6 kB / 1.035 GB, free: 3.617 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/1.004, allocations: 0 / 1.035 GB, free: 3.617 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002353/1.005, allocations: 55.91 kB / 1.035 GB, free: 3.562 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.711e-06/1.005, allocations: 4 kB / 1.035 GB, free: 3.559 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.346e-05/1.005, allocations: 14.67 kB / 1.035 GB, free: 3.547 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.284e-06/1.005, allocations: 4 kB / 1.035 GB, free: 3.543 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.659e-06/1.005, allocations: 4 kB / 1.035 GB, free: 3.539 MB / 0.6511 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0005705/1.005, allocations: 388.3 kB / 1.035 GB, free: 3.148 MB / 0.6511 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0006915/1.006, allocations: 0.7622 MB / 1.036 GB, free: 2.371 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 4.356e-05/1.006, allocations: 96.52 kB / 1.036 GB, free: 2.262 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.085e-05/1.006, allocations: 0 / 1.036 GB, free: 2.262 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.722e-05/1.006, allocations: 4 kB / 1.036 GB, free: 2.258 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.082e-05/1.006, allocations: 23.88 kB / 1.036 GB, free: 2.234 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.09e-05/1.006, allocations: 15.36 kB / 1.036 GB, free: 2.223 MB / 0.6511 GB Notification: Performance of sort global known variables: time 2.382e-05/1.006, allocations: 75.28 kB / 1.036 GB, free: 2.148 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.00108/1.007, allocations: 114.2 kB / 1.036 GB, free: 2.043 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (30): * Single equations (assignments): 30 * 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.0006118/1.008, allocations: 214.3 kB / 1.036 GB, free: 1.828 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0003899/1.008, allocations: 245.1 kB / 1.036 GB, free: 1.637 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.026e-06/1.008, allocations: 0 / 1.036 GB, free: 1.637 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0001596/1.008, allocations: 133.5 kB / 1.037 GB, free: 1.531 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001216/1.009, allocations: 5.312 kB / 1.037 GB, free: 1.527 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005792/1.009, allocations: 289.3 kB / 1.037 GB, free: 1.234 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003753/1.01, allocations: 0.765 MB / 1.038 GB, free: 460 kB / 0.6511 GB Notification: Performance of SimCode: time 3.91e-07/1.01, allocations: 0 / 1.038 GB, free: 460 kB / 0.6511 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_EpsilonNTUZ_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_EpsilonNTUZ.fmu > Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.pipe 2>&1)