Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet_dynamic.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet_dynamic,fileNamePrefix="Buildings_8_Buildings_Fluid_HeatExchangers_Validation_PrescribedOutlet_dynamic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet_dynamic,fileNamePrefix="Buildings_8_Buildings_Fluid_HeatExchangers_Validation_PrescribedOutlet_dynamic",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.1.4-maint.8.1.x/package.mo): time 1.701/1.701, allocations: 289.8 MB / 297.1 MB, free: 6.668 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.00112/0.00112, allocations: 181.3 kB / 366.3 MB, free: 1.992 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.58/1.58, allocations: 205.1 MB / 0.6256 GB, free: 5.824 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.001002/0.001002, allocations: 85.92 kB / 0.7395 GB, free: 39.64 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.304/0.3051, allocations: 122.4 MB / 0.8591 GB, free: 13.27 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7246/1.03, allocations: 116.3 MB / 0.9726 GB, free: 68.5 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9948/2.024, allocations: 390.4 MB / 1.354 GB, free: 93.85 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002949/2.025, allocations: 86.17 kB / 1.354 GB, free: 93.81 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: 260 * Number of variables: 260 Notification: Performance of Generate backend data structure: time 5.81/7.835, allocations: 1.51 GB / 2.864 GB, free: 129.5 MB / 0.9792 GB Notification: Performance of prepare preOptimizeDAE: time 5.998e-05/7.835, allocations: 7.812 kB / 2.864 GB, free: 129.5 MB / 0.9792 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004187/7.839, allocations: 0.6704 MB / 2.865 GB, free: 129.4 MB / 0.9792 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006383/7.845, allocations: 1.504 MB / 2.866 GB, free: 129 MB / 0.9792 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001287/7.846, allocations: 31.16 kB / 2.866 GB, free: 129 MB / 0.9792 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007175/7.846, allocations: 72.88 kB / 2.866 GB, free: 129 MB / 0.9792 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002614/7.849, allocations: 0.8307 MB / 2.867 GB, free: 129 MB / 0.9792 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003005/7.852, allocations: 1.066 MB / 2.868 GB, free: 128.7 MB / 0.9792 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.258e-05/7.852, allocations: 2.719 kB / 2.868 GB, free: 128.7 MB / 0.9792 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001953/7.852, allocations: 7.281 kB / 2.868 GB, free: 128.7 MB / 0.9792 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.916e-05/7.852, allocations: 28.66 kB / 2.868 GB, free: 128.7 MB / 0.9792 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01101/7.863, allocations: 6.694 MB / 2.875 GB, free: 124.8 MB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001595/7.865, allocations: 0.866 MB / 2.876 GB, free: 124.7 MB / 0.9792 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007151/7.866, allocations: 0.4995 MB / 2.876 GB, free: 124.7 MB / 0.9792 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001667/7.867, allocations: 2.261 MB / 2.878 GB, free: 122.2 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009163/7.868, allocations: 0.6317 MB / 2.879 GB, free: 122 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=97): time 4.819e-06/7.868, allocations: 0 / 2.879 GB, free: 122 MB / 0.9792 GB Notification: Performance of matching and sorting (n=97): time 0.003724/7.872, allocations: 1.311 MB / 2.88 GB, free: 121.9 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.395e-05/7.872, allocations: 150.9 kB / 2.88 GB, free: 121.8 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001854/7.874, allocations: 0.9041 MB / 2.881 GB, free: 121.6 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 0.0001367/7.874, allocations: 29.61 kB / 2.881 GB, free: 121.6 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005352/7.875, allocations: 457.2 kB / 2.882 GB, free: 121.3 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004311/7.875, allocations: 312 kB / 2.882 GB, free: 121.1 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.691e-05/7.875, allocations: 0 / 2.882 GB, free: 121.1 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 0.0001443/7.875, allocations: 349.7 kB / 2.882 GB, free: 120.8 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006841/7.876, allocations: 411 kB / 2.883 GB, free: 120.8 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009077/7.877, allocations: 0.7005 MB / 2.883 GB, free: 120.5 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002299/7.879, allocations: 0.6961 MB / 2.884 GB, free: 120.5 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.936e-06/7.879, allocations: 3.875 kB / 2.884 GB, free: 120.5 MB / 0.9792 GB Notification: Performance of matching and sorting (n=132) (initialization): time 0.003723/7.883, allocations: 1.46 MB / 2.885 GB, free: 120.4 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007374/7.884, allocations: 2.148 MB / 2.888 GB, free: 118.1 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.672e-05/7.884, allocations: 6.062 kB / 2.888 GB, free: 118.1 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.576e-05/7.884, allocations: 15.55 kB / 2.888 GB, free: 118.1 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001454/7.885, allocations: 304.5 kB / 2.888 GB, free: 118.1 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.263e-05/7.885, allocations: 18.38 kB / 2.888 GB, free: 118.1 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00229/7.888, allocations: 226.3 kB / 2.888 GB, free: 118 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002327/7.888, allocations: 63.84 kB / 2.888 GB, free: 118 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 1.62e-05/7.888, allocations: 10.55 kB / 2.888 GB, free: 118 MB / 0.9792 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003221/7.891, allocations: 1.262 MB / 2.889 GB, free: 118 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.867e-06/7.891, allocations: 3.812 kB / 2.889 GB, free: 118 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.478e-05/7.891, allocations: 11.66 kB / 2.889 GB, free: 118 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001264/7.893, allocations: 316.1 kB / 2.89 GB, free: 118 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.623e-05/7.893, allocations: 11.72 kB / 2.89 GB, free: 118 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001946/7.894, allocations: 221.9 kB / 2.89 GB, free: 117.9 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001664/7.895, allocations: 61.52 kB / 2.89 GB, free: 117.9 MB / 0.9792 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * Number of states: 0 () * Number of discrete variables: 21 ($whenCondition1,$whenCondition2,$whenCondition3,TSetHeat.a,TSetHeat.b,TSetHeat.last,$PRE.TSetHeat.nextEvent,TSetHeat.nextEvent,TSetHeat.nextEventScaled,TSetCool.a,TSetCool.b,TSetCool.last,$PRE.TSetCool.nextEvent,TSetCool.nextEvent,TSetCool.nextEventScaled,TSetCoolHeat.a,TSetCoolHeat.b,TSetCoolHeat.last,$PRE.TSetCoolHeat.nextEvent,TSetCoolHeat.nextEvent,TSetCoolHeat.nextEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (117): * Single equations (assignments): 114 * Array equations: 0 * Algorithm blocks: 3 * 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.00038/7.895, allocations: 237.8 kB / 2.89 GB, free: 117.7 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004006/7.895, allocations: 160.3 kB / 2.89 GB, free: 117.6 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004596/7.9, allocations: 2.044 MB / 2.892 GB, free: 117.5 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.642e-05/7.9, allocations: 14.47 kB / 2.892 GB, free: 117.5 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.927e-06/7.9, allocations: 3.906 kB / 2.892 GB, free: 117.5 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.427e-05/7.9, allocations: 10.28 kB / 2.892 GB, free: 117.5 MB / 0.9792 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007251/7.907, allocations: 3.126 MB / 2.895 GB, free: 117.1 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.03e-05/7.907, allocations: 6.281 kB / 2.895 GB, free: 117.1 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001314/7.909, allocations: 237.8 kB / 2.896 GB, free: 117.1 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.406e-05/7.909, allocations: 3.875 kB / 2.896 GB, free: 117.1 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000141/7.909, allocations: 40.91 kB / 2.896 GB, free: 117.1 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.263e-05/7.909, allocations: 7.922 kB / 2.896 GB, free: 117.1 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.599e-06/7.909, allocations: 3.969 kB / 2.896 GB, free: 117.1 MB / 0.9792 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.005196/7.914, allocations: 2.593 MB / 2.898 GB, free: 116.7 MB / 0.9792 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.00623/7.92, allocations: 3.838 MB / 2.902 GB, free: 115.4 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001195/7.922, allocations: 403 kB / 2.902 GB, free: 115.2 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000553/7.922, allocations: 15.98 kB / 2.902 GB, free: 115.2 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001788/7.924, allocations: 161.1 kB / 2.903 GB, free: 115.2 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001554/7.924, allocations: 67.28 kB / 2.903 GB, free: 115.1 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001351/7.924, allocations: 61.94 kB / 2.903 GB, free: 115.1 MB / 0.9792 GB Notification: Performance of sort global known variables: time 0.001507/7.926, allocations: 0.6859 MB / 2.903 GB, free: 114.8 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.005731/7.932, allocations: 1.15 MB / 2.905 GB, free: 114.4 MB / 0.9792 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 9 (heaHigPow.outCon.T,heaHigPowOut.T,cooLimPowOut.T,cooLimPow.outCon.T,heaCooUnl.outCon.T,heaCooUnlOut.T,heaHigPowIn.T,cooLimPowIn.T,heaCooUnlIn.T) * Number of discrete variables: 18 ($whenCondition1,$whenCondition2,$whenCondition3,TSetHeat.a,TSetHeat.b,TSetHeat.last,TSetHeat.nextEvent,TSetHeat.nextEventScaled,TSetCool.a,TSetCool.b,TSetCool.last,TSetCool.nextEvent,TSetCool.nextEventScaled,TSetCoolHeat.a,TSetCoolHeat.b,TSetCoolHeat.last,TSetCoolHeat.nextEvent,TSetCoolHeat.nextEventScaled) * Number of discrete states: 18 (TSetCoolHeat.nextEvent,TSetCoolHeat.last,TSetCoolHeat.nextEventScaled,TSetCoolHeat.b,TSetCoolHeat.a,$whenCondition3,TSetCool.nextEvent,TSetCool.last,TSetCool.nextEventScaled,TSetCool.b,TSetCool.a,$whenCondition2,TSetHeat.nextEvent,TSetHeat.last,TSetHeat.nextEventScaled,TSetHeat.b,TSetHeat.a,$whenCondition1) * Top-level inputs: 0 Notification: Strong component statistics for simulation (101): * Single equations (assignments): 79 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 19 * 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.00329/7.935, allocations: 0.9728 MB / 2.905 GB, free: 114.1 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.006195/7.941, allocations: 1.932 MB / 2.907 GB, free: 113.3 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 7.745e-06/7.941, allocations: 3.938 kB / 2.907 GB, free: 113.3 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.001323/7.943, allocations: 0.8121 MB / 2.908 GB, free: 112.9 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003824/7.946, allocations: 0.5262 MB / 2.909 GB, free: 112.8 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008412/7.955, allocations: 2.714 MB / 2.911 GB, free: 111.9 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002556/7.957, allocations: 1.505 MB / 2.913 GB, free: 111.1 MB / 0.9792 GB Notification: Performance of SimCode: time 4.799e-06/7.957, allocations: 0 / 2.913 GB, free: 111.1 MB / 0.9792 GB (rm -f Buildings_8_Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet_dynamic.pipe ; mkfifo Buildings_8_Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet_dynamic.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet_dynamic.pipe >> ../files/Buildings_8_Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet_dynamic.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_HeatExchangers_Validation_PrescribedOutlet_dynamic_fmu --startTime=0 --stopTime=1200 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_HeatExchangers_Validation_PrescribedOutlet_dynamic.fmu > Buildings_8_Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet_dynamic.pipe 2>&1)