Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.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.MassExchange,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_MassExchange",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_MassExchange",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.326/2.326, allocations: 284.8 MB / 292.1 MB, free: 10.71 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.001714/0.001713, allocations: 177.3 kB / 360.3 MB, free: 7.52 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.78/1.78, allocations: 205.1 MB / 0.6187 GB, free: 13.24 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.001265/0.001264, allocations: 93.55 kB / 0.7317 GB, free: 45.12 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2789/0.2802, allocations: 121.4 MB / 0.8502 GB, free: 3.93 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6676/0.9479, allocations: 115.2 MB / 0.9628 GB, free: 78.49 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.177/6.125, allocations: 2.056 GB / 3.019 GB, free: 274.9 MB / 0.9323 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003381/6.126, allocations: 88.66 kB / 3.019 GB, free: 274.9 MB / 0.9323 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.1376/6.263, allocations: 41.2 MB / 3.059 GB, free: 269.8 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 4.392e-05/6.263, allocations: 11.78 kB / 3.059 GB, free: 269.8 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003965/6.264, allocations: 36.44 kB / 3.059 GB, free: 269.8 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003415/6.264, allocations: 216.8 kB / 3.059 GB, free: 269.6 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.933e-05/6.264, allocations: 3.969 kB / 3.059 GB, free: 269.6 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.573e-05/6.264, allocations: 3.875 kB / 3.059 GB, free: 269.6 MB / 0.9323 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002352/6.264, allocations: 64.86 kB / 3.059 GB, free: 269.6 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002255/6.265, allocations: 89.44 kB / 3.059 GB, free: 269.6 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.328e-05/6.265, allocations: 0 / 3.059 GB, free: 269.6 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.529e-05/6.265, allocations: 5.547 kB / 3.059 GB, free: 269.6 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.378e-06/6.265, allocations: 3.844 kB / 3.059 GB, free: 269.6 MB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009456/6.266, allocations: 424.8 kB / 3.06 GB, free: 269.3 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001858/6.266, allocations: 71.77 kB / 3.06 GB, free: 269.3 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.341e-05/6.266, allocations: 23.64 kB / 3.06 GB, free: 269.3 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 3.066e-05/6.266, allocations: 0 / 3.06 GB, free: 269.3 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.434e-05/6.266, allocations: 36 kB / 3.06 GB, free: 269.2 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=7): time 1.463e-06/6.266, allocations: 6.625 kB / 3.06 GB, free: 269.2 MB / 0.9323 GB Notification: Performance of matching and sorting (n=7): time 0.0003171/6.266, allocations: 80.25 kB / 3.06 GB, free: 269.2 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.418e-05/6.266, allocations: 51.41 kB / 3.06 GB, free: 269.1 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001454/6.267, allocations: 135.9 kB / 3.06 GB, free: 269 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 1.481e-05/6.267, allocations: 29.39 kB / 3.06 GB, free: 269 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 4.867e-05/6.267, allocations: 110.3 kB / 3.06 GB, free: 268.9 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 2.191e-05/6.267, allocations: 24.42 kB / 3.06 GB, free: 268.9 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.376e-06/6.267, allocations: 0 / 3.06 GB, free: 268.9 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 7.018e-05/6.267, allocations: 325.6 kB / 3.061 GB, free: 268.6 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.246e-05/6.267, allocations: 18.62 kB / 3.061 GB, free: 268.6 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.128e-05/6.267, allocations: 18.94 kB / 3.061 GB, free: 268.6 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.087e-05/6.267, allocations: 21.7 kB / 3.061 GB, free: 268.5 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/6.267, allocations: 0 / 3.061 GB, free: 268.5 MB / 0.9323 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001992/6.267, allocations: 96.48 kB / 3.061 GB, free: 268.5 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.493e-05/6.267, allocations: 3.906 kB / 3.061 GB, free: 268.5 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.292e-06/6.267, allocations: 1.734 kB / 3.061 GB, free: 268.5 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.678e-05/6.267, allocations: 0 / 3.061 GB, free: 268.5 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000257/6.268, allocations: 27 kB / 3.061 GB, free: 268.5 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.649e-06/6.268, allocations: 0 / 3.061 GB, free: 268.5 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001775/6.268, allocations: 10.39 kB / 3.061 GB, free: 268.5 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.343e-05/6.268, allocations: 0.75 kB / 3.061 GB, free: 268.5 MB / 0.9323 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 8 * 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 6.583e-05/6.268, allocations: 112.6 kB / 3.061 GB, free: 268.4 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.658e-05/6.268, allocations: 13.45 kB / 3.061 GB, free: 268.4 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002668/6.268, allocations: 90.09 kB / 3.061 GB, free: 268.3 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.278e-06/6.268, allocations: 0 / 3.061 GB, free: 268.3 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.342e-06/6.268, allocations: 1.688 kB / 3.061 GB, free: 268.3 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.509e-06/6.268, allocations: 0 / 3.061 GB, free: 268.3 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002507/6.268, allocations: 198.5 kB / 3.061 GB, free: 268.2 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.855e-06/6.269, allocations: 2.219 kB / 3.061 GB, free: 268.2 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001981/6.269, allocations: 24.55 kB / 3.061 GB, free: 268.2 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.486e-06/6.269, allocations: 0 / 3.061 GB, free: 268.2 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.353e-05/6.269, allocations: 3.906 kB / 3.061 GB, free: 268.2 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.024e-06/6.269, allocations: 0 / 3.061 GB, free: 268.2 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.906e-06/6.269, allocations: 0 / 3.061 GB, free: 268.2 MB / 0.9323 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002113/6.269, allocations: 182.6 kB / 3.061 GB, free: 268 MB / 0.9323 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.000347/6.269, allocations: 0.5614 MB / 3.062 GB, free: 267.5 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 4.82e-05/6.269, allocations: 87.19 kB / 3.062 GB, free: 267.4 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.389e-05/6.269, allocations: 0 / 3.062 GB, free: 267.4 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002107/6.27, allocations: 14.52 kB / 3.062 GB, free: 267.4 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.434e-05/6.27, allocations: 12.03 kB / 3.062 GB, free: 267.4 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.217e-06/6.27, allocations: 0 / 3.062 GB, free: 267.4 MB / 0.9323 GB Notification: Performance of sort global known variables: time 9.895e-05/6.27, allocations: 117.5 kB / 3.062 GB, free: 267.3 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.001404/6.271, allocations: 95.12 kB / 3.062 GB, free: 267.3 MB / 0.9323 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 7 * 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.0009268/6.272, allocations: 0.6567 MB / 3.063 GB, free: 267.1 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.0002152/6.272, allocations: 52.97 kB / 3.063 GB, free: 267.1 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 2.916e-06/6.272, allocations: 0 / 3.063 GB, free: 267.1 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 7.78e-05/6.273, allocations: 24.58 kB / 3.063 GB, free: 267.1 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004895/6.273, allocations: 29.34 kB / 3.063 GB, free: 267.1 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006339/6.274, allocations: 159.8 kB / 3.063 GB, free: 267 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002718/6.274, allocations: 0.7226 MB / 3.064 GB, free: 266.3 MB / 0.9323 GB Notification: Performance of SimCode: time 8.31e-07/6.274, allocations: 4 kB / 3.064 GB, free: 266.2 MB / 0.9323 GB (rm -f Buildings_8.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_MassExchange_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_MassExchange.fmu > Buildings_8.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.pipe 2>&1)