Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_EpsilonNTUZ",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ,fileNamePrefix="Buildings_8_0_0_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 8.0.0/package.mo): time 2.533/2.533, allocations: 284.8 MB / 292.1 MB, free: 10.81 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.001653/0.001653, allocations: 185.2 kB / 360.3 MB, free: 7.559 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.029/2.029, allocations: 205.1 MB / 0.6187 GB, free: 13.25 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.001252/0.001251, allocations: 95.47 kB / 0.7317 GB, free: 45.16 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.284/0.2853, allocations: 121.4 MB / 0.8502 GB, free: 3.953 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6392/0.9245, allocations: 115.2 MB / 0.9628 GB, free: 78.63 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2754/1.2, allocations: 139.6 MB / 1.099 GB, free: 1.316 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004781/1.201, allocations: 89.61 kB / 1.099 GB, free: 1.23 MB / 0.698 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.0996/1.3, allocations: 14.8 MB / 1.114 GB, free: 2.484 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 8.303e-05/1.3, allocations: 11.98 kB / 1.114 GB, free: 2.473 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.409e-05/1.3, allocations: 19.56 kB / 1.114 GB, free: 2.457 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001328/1.301, allocations: 175 kB / 1.114 GB, free: 2.246 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.931e-05/1.301, allocations: 4 kB / 1.114 GB, free: 2.242 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.15e-05/1.301, allocations: 11.98 kB / 1.114 GB, free: 2.23 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005393/1.301, allocations: 167.8 kB / 1.114 GB, free: 2.066 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004452/1.302, allocations: 195.5 kB / 1.114 GB, free: 1.852 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.581e-05/1.302, allocations: 4 kB / 1.114 GB, free: 1.848 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.605e-05/1.302, allocations: 0 / 1.114 GB, free: 1.848 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.143e-05/1.302, allocations: 4 kB / 1.114 GB, free: 1.844 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004958/1.302, allocations: 250.5 kB / 1.114 GB, free: 1.547 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001883/1.304, allocations: 389.8 kB / 1.115 GB, free: 1.113 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006248/1.305, allocations: 173.2 kB / 1.115 GB, free: 0.9258 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006401/1.306, allocations: 190.1 kB / 1.115 GB, free: 0.7031 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.93e-05/1.306, allocations: 42.5 kB / 1.115 GB, free: 0.6523 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=30): time 5.42e-06/1.306, allocations: 0 / 1.115 GB, free: 0.6523 MB / 0.7136 GB Notification: Performance of matching and sorting (n=30): time 0.001985/1.308, allocations: 282.9 kB / 1.115 GB, free: 380 kB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001439/1.308, allocations: 187.9 kB / 1.116 GB, free: 148 kB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.95e-05/1.308, allocations: 85 kB / 1.116 GB, free: 56 kB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 5.352e-05/1.308, allocations: 25.7 kB / 1.116 GB, free: 24 kB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 7.247e-05/1.308, allocations: 84.64 kB / 1.116 GB, free: 15.94 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002105/1.308, allocations: 94.56 kB / 1.116 GB, free: 15.84 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.019e-05/1.308, allocations: 0 / 1.116 GB, free: 15.84 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.000201/1.309, allocations: 322.8 kB / 1.116 GB, free: 15.52 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003919/1.309, allocations: 91.95 kB / 1.116 GB, free: 15.43 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004927/1.31, allocations: 133 kB / 1.116 GB, free: 15.28 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001152/1.311, allocations: 109.8 kB / 1.117 GB, free: 15.18 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.384e-06/1.311, allocations: 0 / 1.117 GB, free: 15.18 MB / 0.7292 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.001701/1.313, allocations: 273.5 kB / 1.117 GB, free: 14.91 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 3.221e-05/1.313, allocations: 7.906 kB / 1.117 GB, free: 14.9 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.433e-05/1.313, allocations: 7.938 kB / 1.117 GB, free: 14.89 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.885e-05/1.313, allocations: 4 kB / 1.117 GB, free: 14.89 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009592/1.314, allocations: 55.95 kB / 1.117 GB, free: 14.83 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.366e-05/1.314, allocations: 7.938 kB / 1.117 GB, free: 14.82 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003464/1.314, allocations: 15.78 kB / 1.117 GB, free: 14.81 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.288e-05/1.314, allocations: 11.98 kB / 1.117 GB, free: 14.8 MB / 0.7292 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 0.0002057/1.314, allocations: 117.4 kB / 1.117 GB, free: 14.68 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.444e-05/1.315, allocations: 11.81 kB / 1.117 GB, free: 14.66 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002003/1.317, allocations: 353.1 kB / 1.117 GB, free: 14.32 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.377e-05/1.317, allocations: 7.984 kB / 1.117 GB, free: 14.32 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.041e-05/1.317, allocations: 4 kB / 1.117 GB, free: 14.31 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.138e-05/1.317, allocations: 6.25 kB / 1.117 GB, free: 14.31 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003765/1.317, allocations: 218 kB / 1.118 GB, free: 14.06 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.45e-06/1.317, allocations: 6.25 kB / 1.118 GB, free: 14.05 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005127/1.318, allocations: 59.89 kB / 1.118 GB, free: 14 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.285e-05/1.318, allocations: 4 kB / 1.118 GB, free: 13.99 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.31e-05/1.318, allocations: 7.984 kB / 1.118 GB, free: 13.98 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.778e-05/1.318, allocations: 8 kB / 1.118 GB, free: 13.98 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.218e-06/1.318, allocations: 0 / 1.118 GB, free: 13.98 MB / 0.7292 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001042/1.319, allocations: 402 kB / 1.118 GB, free: 13.52 MB / 0.7292 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001264/1.32, allocations: 0.7613 MB / 1.119 GB, free: 12.69 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 8.966e-05/1.32, allocations: 100.8 kB / 1.119 GB, free: 12.57 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.169e-05/1.32, allocations: 4 kB / 1.119 GB, free: 12.57 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002347/1.321, allocations: 4 kB / 1.119 GB, free: 12.57 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.173e-05/1.321, allocations: 22.16 kB / 1.119 GB, free: 12.55 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.433e-05/1.321, allocations: 15.98 kB / 1.119 GB, free: 12.53 MB / 0.7292 GB Notification: Performance of sort global known variables: time 4.072e-05/1.321, allocations: 75.28 kB / 1.119 GB, free: 12.46 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.001576/1.322, allocations: 107.8 kB / 1.119 GB, free: 12.35 MB / 0.7292 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.0008324/1.323, allocations: 218.2 kB / 1.119 GB, free: 12.14 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0007128/1.324, allocations: 231.8 kB / 1.12 GB, free: 11.91 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 4.648e-06/1.324, allocations: 0 / 1.12 GB, free: 11.91 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0003307/1.324, allocations: 139.8 kB / 1.12 GB, free: 11.77 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001745/1.324, allocations: 7.719 kB / 1.12 GB, free: 11.77 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009126/1.325, allocations: 292.8 kB / 1.12 GB, free: 11.45 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006057/1.326, allocations: 0.7509 MB / 1.121 GB, free: 10.67 MB / 0.7292 GB Notification: Performance of SimCode: time 1.133e-06/1.326, allocations: 3.938 kB / 1.121 GB, free: 10.66 MB / 0.7292 GB (rm -f Buildings_8.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_EpsilonNTUZ_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_EpsilonNTUZ.fmu > Buildings_8.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.pipe 2>&1)