Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.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: translateModel(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|hANatCyl.hA",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder") translateModel(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|hANatCyl.hA",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder") [: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.213/1.213, allocations: 249.4 MB / 256.7 MB, free: 7.027 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.001118/0.001118, allocations: 181.2 kB / 316 MB, free: 3.602 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.127/1.127, allocations: 205.2 MB / 0.5667 GB, free: 15.73 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.0008562/0.0008562, allocations: 96.95 kB / 0.671 GB, free: 4.863 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 8.396e-06/8.416e-06, allocations: 4 kB / 0.7807 GB, free: 103.1 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1575/0.1575, allocations: 106.3 MB / 0.8846 GB, free: 12.7 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6372/0.7948, allocations: 354.7 MB / 1.231 GB, free: 15.75 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002387/0.7951, allocations: 88.17 kB / 1.231 GB, free: 15.7 MB / 0.8542 GB Notification: Performance of FrontEnd: time 0.02827/0.8233, allocations: 13.27 MB / 1.244 GB, free: 5.285 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 8.637e-06/0.8234, allocations: 4 kB / 1.244 GB, free: 5.281 MB / 0.8542 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0006677/0.8241, allocations: 451.7 kB / 1.244 GB, free: 4.805 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.855e-05/0.8241, allocations: 12.03 kB / 1.244 GB, free: 4.793 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.645e-05/0.8242, allocations: 19.8 kB / 1.244 GB, free: 4.773 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001374/0.8243, allocations: 186.7 kB / 1.245 GB, free: 4.551 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.304e-05/0.8243, allocations: 4 kB / 1.245 GB, free: 4.547 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.117e-05/0.8244, allocations: 4 kB / 1.245 GB, free: 4.543 MB / 0.8542 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001922/0.8246, allocations: 92.91 kB / 1.245 GB, free: 4.484 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001246/0.8247, allocations: 76.11 kB / 1.245 GB, free: 4.418 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.136e-06/0.8247, allocations: 0 / 1.245 GB, free: 4.418 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.225e-05/0.8247, allocations: 3.906 kB / 1.245 GB, free: 4.414 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.719e-06/0.8247, allocations: 0 / 1.245 GB, free: 4.414 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005407/0.8253, allocations: 402.3 kB / 1.245 GB, free: 4.047 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001258/0.8254, allocations: 88.45 kB / 1.245 GB, free: 3.977 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.54e-05/0.8255, allocations: 42.98 kB / 1.245 GB, free: 3.945 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009042/0.8264, allocations: 0.9255 MB / 1.246 GB, free: 2.93 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.418e-05/0.8264, allocations: 33.75 kB / 1.246 GB, free: 2.891 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=12): time 2.565e-06/0.8264, allocations: 3.984 kB / 1.246 GB, free: 2.887 MB / 0.8542 GB Notification: Performance of matching and sorting (n=12): time 0.0004147/0.8269, allocations: 146.9 kB / 1.246 GB, free: 2.758 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.304e-05/0.8269, allocations: 51.41 kB / 1.246 GB, free: 2.695 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001038/0.827, allocations: 146 kB / 1.247 GB, free: 2.562 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 1.757e-05/0.827, allocations: 25.7 kB / 1.247 GB, free: 2.531 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 5.286e-05/0.8271, allocations: 104.7 kB / 1.247 GB, free: 2.434 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 2.625e-05/0.8271, allocations: 41.64 kB / 1.247 GB, free: 2.398 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.468e-06/0.8271, allocations: 0 / 1.247 GB, free: 2.398 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 8.479e-05/0.8272, allocations: 322.1 kB / 1.247 GB, free: 2.078 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.079e-05/0.8273, allocations: 46.81 kB / 1.247 GB, free: 2.051 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.915e-05/0.8274, allocations: 90.39 kB / 1.247 GB, free: 1.973 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005118/0.8279, allocations: 143.9 kB / 1.247 GB, free: 1.859 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.8279, allocations: 0 / 1.247 GB, free: 1.859 MB / 0.8542 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0006929/0.8286, allocations: 258.9 kB / 1.248 GB, free: 1.645 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.309e-05/0.8287, allocations: 4 kB / 1.248 GB, free: 1.641 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.709e-06/0.8287, allocations: 4.094 kB / 1.248 GB, free: 1.637 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.197e-05/0.8287, allocations: 4 kB / 1.248 GB, free: 1.633 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002896/0.829, allocations: 67.64 kB / 1.248 GB, free: 1.57 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.035e-05/0.829, allocations: 7.938 kB / 1.248 GB, free: 1.562 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001644/0.8292, allocations: 35.73 kB / 1.248 GB, free: 1.527 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.55e-05/0.8292, allocations: 4 kB / 1.248 GB, free: 1.523 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * 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.0001316/0.8293, allocations: 115.8 kB / 1.248 GB, free: 1.406 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.31e-05/0.8294, allocations: 11.81 kB / 1.248 GB, free: 1.395 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003885/0.8298, allocations: 152.4 kB / 1.248 GB, free: 1.27 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.685e-06/0.8298, allocations: 0 / 1.248 GB, free: 1.27 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/0.8298, allocations: 0 / 1.248 GB, free: 1.27 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.182e-06/0.8298, allocations: 7.984 kB / 1.248 GB, free: 1.262 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001681/0.83, allocations: 184.3 kB / 1.248 GB, free: 1.062 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.82e-07/0.83, allocations: 3.938 kB / 1.248 GB, free: 1.059 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001786/0.8302, allocations: 39.97 kB / 1.248 GB, free: 1.02 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.983e-06/0.8302, allocations: 3.938 kB / 1.248 GB, free: 1.016 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.125e-05/0.8302, allocations: 4 kB / 1.248 GB, free: 1.012 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.308e-06/0.8302, allocations: 7.906 kB / 1.248 GB, free: 1.004 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.492e-06/0.8302, allocations: 0 / 1.248 GB, free: 1.004 MB / 0.8542 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003443/0.8306, allocations: 229.3 kB / 1.248 GB, free: 0.7891 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 3.663e-05/0.8306, allocations: 96.94 kB / 1.249 GB, free: 0.6758 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.415e-05/0.8306, allocations: 0 / 1.249 GB, free: 0.6758 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001541/0.8308, allocations: 23.8 kB / 1.249 GB, free: 0.6562 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.086e-05/0.8308, allocations: 11.89 kB / 1.249 GB, free: 0.6445 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.184e-06/0.8309, allocations: 0 / 1.249 GB, free: 0.6445 MB / 0.8542 GB Notification: Performance of sort global known variables: time 5.797e-05/0.8309, allocations: 114.7 kB / 1.249 GB, free: 0.543 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0002858/0.8312, allocations: 63.86 kB / 1.249 GB, free: 496 kB / 0.8542 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 (12): * Single equations (assignments): 12 * 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.0002721/0.8315, allocations: 167.1 kB / 1.249 GB, free: 320 kB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0002008/0.8317, allocations: 117.8 kB / 1.249 GB, free: 236 kB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.433e-06/0.8317, allocations: 0 / 1.249 GB, free: 236 kB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 6.039e-05/0.8318, allocations: 43.69 kB / 1.249 GB, free: 204 kB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002214/0.832, allocations: 23.12 kB / 1.249 GB, free: 188 kB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003334/0.8324, allocations: 142.5 kB / 1.249 GB, free: 32 kB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.2893/1.122, allocations: 0.7299 MB / 1.25 GB, free: 270 MB / 0.8542 GB Notification: Performance of SimCode: time 9.92e-07/1.122, allocations: 3.906 kB / 1.25 GB, free: 270 MB / 0.8542 GB Notification: Performance of Templates: time 0.004527/1.126, allocations: 2.737 MB / 1.253 GB, free: 270 MB / 0.8542 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HANaturalCylinder.csv","../files/Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches