Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ,fileNamePrefix="Buildings_latest_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_EpsilonNTUZ",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ,fileNamePrefix="Buildings_latest_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 10.0.0-master/package.mo): time 2.309/2.309, allocations: 390.4 MB / 397.7 MB, free: 11.24 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001206/0.001206, allocations: 185.2 kB / 490.8 MB, free: 1.91 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.558/1.558, allocations: 221.4 MB / 0.7863 GB, free: 13.65 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001151/0.00115, allocations: 89.48 kB / 0.9264 GB, free: 14.18 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 0.7713/0.7725, allocations: 149.1 MB / 1.072 GB, free: 182.5 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.371/1.143, allocations: 143 MB / 1.212 GB, free: 39.96 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.111/2.254, allocations: 151.8 MB / 1.36 GB, free: 17.15 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003549/2.255, allocations: 83.62 kB / 1.36 GB, free: 17.15 MB / 0.823 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.05162/2.306, allocations: 14.93 MB / 1.375 GB, free: 31.9 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 5.456e-05/2.307, allocations: 9.906 kB / 1.375 GB, free: 31.9 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.761e-05/2.307, allocations: 12.41 kB / 1.375 GB, free: 31.89 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.718e-05/2.307, allocations: 170.5 kB / 1.375 GB, free: 31.69 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.04e-05/2.307, allocations: 4.562 kB / 1.375 GB, free: 31.69 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.399e-05/2.307, allocations: 6.625 kB / 1.375 GB, free: 31.69 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004587/2.307, allocations: 170.5 kB / 1.375 GB, free: 31.68 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000361/2.308, allocations: 204.8 kB / 1.375 GB, free: 31.6 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.612e-05/2.308, allocations: 5.156 kB / 1.375 GB, free: 31.59 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.602e-05/2.308, allocations: 0 / 1.375 GB, free: 31.59 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.688e-06/2.308, allocations: 4.656 kB / 1.375 GB, free: 31.59 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003951/2.308, allocations: 250.7 kB / 1.375 GB, free: 31.38 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008431/2.309, allocations: 386.3 kB / 1.376 GB, free: 31.23 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003093/2.309, allocations: 175.6 kB / 1.376 GB, free: 31.18 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004078/2.31, allocations: 188.3 kB / 1.376 GB, free: 31 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.948e-05/2.31, allocations: 40.78 kB / 1.376 GB, free: 30.95 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=30): time 2.525e-06/2.31, allocations: 0 / 1.376 GB, free: 30.95 MB / 0.8386 GB Notification: Performance of matching and sorting (n=30): time 0.0009288/2.311, allocations: 277.5 kB / 1.376 GB, free: 30.91 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.062e-05/2.311, allocations: 186.8 kB / 1.377 GB, free: 30.69 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.125e-05/2.311, allocations: 86.56 kB / 1.377 GB, free: 30.6 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.277e-05/2.311, allocations: 25.7 kB / 1.377 GB, free: 30.57 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 5.372e-05/2.311, allocations: 81.61 kB / 1.377 GB, free: 30.48 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001239/2.311, allocations: 101.6 kB / 1.377 GB, free: 30.41 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.492e-05/2.311, allocations: 5.031 kB / 1.377 GB, free: 30.41 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001541/2.311, allocations: 324.5 kB / 1.377 GB, free: 30.1 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000189/2.311, allocations: 86.3 kB / 1.377 GB, free: 30.09 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002149/2.312, allocations: 133.2 kB / 1.377 GB, free: 30.04 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003931/2.312, allocations: 111.5 kB / 1.377 GB, free: 30.04 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.569e-06/2.312, allocations: 5 kB / 1.377 GB, free: 30.04 MB / 0.8386 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0007255/2.313, allocations: 276.4 kB / 1.378 GB, free: 29.99 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.979e-05/2.313, allocations: 4.875 kB / 1.378 GB, free: 29.99 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.947e-06/2.313, allocations: 1.969 kB / 1.378 GB, free: 29.99 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.247e-05/2.313, allocations: 6.703 kB / 1.378 GB, free: 29.99 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003189/2.313, allocations: 59.23 kB / 1.378 GB, free: 29.98 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.073e-05/2.313, allocations: 6.625 kB / 1.378 GB, free: 29.98 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001195/2.313, allocations: 11.97 kB / 1.378 GB, free: 29.97 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.873e-05/2.313, allocations: 14.62 kB / 1.378 GB, free: 29.97 MB / 0.8386 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.0001207/2.314, allocations: 111.2 kB / 1.378 GB, free: 29.86 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.777e-05/2.314, allocations: 15.05 kB / 1.378 GB, free: 29.85 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001025/2.315, allocations: 356.3 kB / 1.378 GB, free: 29.8 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.397e-05/2.315, allocations: 5 kB / 1.378 GB, free: 29.8 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.344e-05/2.315, allocations: 2.781 kB / 1.378 GB, free: 29.8 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.286e-05/2.315, allocations: 3.188 kB / 1.378 GB, free: 29.8 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003256/2.315, allocations: 228.2 kB / 1.379 GB, free: 29.62 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.562e-06/2.315, allocations: 2.406 kB / 1.379 GB, free: 29.62 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003074/2.315, allocations: 55.33 kB / 1.379 GB, free: 29.62 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.119e-05/2.315, allocations: 7.188 kB / 1.379 GB, free: 29.62 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.018e-05/2.315, allocations: 10.92 kB / 1.379 GB, free: 29.62 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.175e-06/2.315, allocations: 3.25 kB / 1.379 GB, free: 29.62 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.883e-06/2.315, allocations: 2.031 kB / 1.379 GB, free: 29.62 MB / 0.8386 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0008948/2.316, allocations: 395.5 kB / 1.379 GB, free: 29.41 MB / 0.8386 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001057/2.317, allocations: 0.766 MB / 1.38 GB, free: 28.83 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 5.42e-05/2.317, allocations: 95.58 kB / 1.38 GB, free: 28.73 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.804e-05/2.318, allocations: 2.734 kB / 1.38 GB, free: 28.73 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001169/2.318, allocations: 1.625 kB / 1.38 GB, free: 28.73 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.05e-05/2.318, allocations: 21.86 kB / 1.38 GB, free: 28.73 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.167e-05/2.318, allocations: 14.64 kB / 1.38 GB, free: 28.72 MB / 0.8386 GB Notification: Performance of sort global known variables: time 5.281e-05/2.318, allocations: 77.44 kB / 1.38 GB, free: 28.65 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.001601/2.319, allocations: 105.1 kB / 1.38 GB, free: 28.63 MB / 0.8386 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.001047/2.321, allocations: 224.4 kB / 1.38 GB, free: 28.51 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0006012/2.321, allocations: 237.8 kB / 1.38 GB, free: 28.5 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 4.459e-06/2.321, allocations: 0 / 1.38 GB, free: 28.5 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0002379/2.321, allocations: 135.1 kB / 1.381 GB, free: 28.49 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002214/2.322, allocations: 7.891 kB / 1.381 GB, free: 28.49 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008175/2.322, allocations: 292.7 kB / 1.381 GB, free: 28.36 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006763/2.323, allocations: 0.7558 MB / 1.382 GB, free: 27.66 MB / 0.8386 GB Notification: Performance of SimCode: time 6.41e-07/2.323, allocations: 0 / 1.382 GB, free: 27.66 MB / 0.8386 GB (rm -f Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_EpsilonNTUZ_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_EpsilonNTUZ.fmu > Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.pipe 2>&1)