Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Obsolete.DistrictHeatingCooling.Validation.IdealSmallSystem.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.Obsolete.DistrictHeatingCooling.Validation.IdealSmallSystem,fileNamePrefix="Buildings_8_0_0_Buildings_Obsolete_DistrictHeatingCooling_Validation_IdealSmallSystem",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Obsolete.DistrictHeatingCooling.Validation.IdealSmallSystem,fileNamePrefix="Buildings_8_0_0_Buildings_Obsolete_DistrictHeatingCooling_Validation_IdealSmallSystem",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.581/2.581, allocations: 284.8 MB / 292.1 MB, free: 10.34 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.002022/0.002022, allocations: 199.7 kB / 360.3 MB, free: 7.094 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.832/1.832, allocations: 205.1 MB / 0.6187 GB, free: 12.4 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.001181/0.001181, allocations: 96.16 kB / 0.7317 GB, free: 45.01 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2829/0.2841, allocations: 121.4 MB / 0.8502 GB, free: 3.82 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6268/0.911, allocations: 115.2 MB / 0.9627 GB, free: 78.32 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.113/2.024, allocations: 485.7 MB / 1.437 GB, free: 77.3 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003166/2.025, allocations: 91.08 kB / 1.437 GB, free: 77.25 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: 1809 * Number of variables: 1809 Notification: Performance of Generate backend data structure: time 26.81/28.84, allocations: 5.405 GB / 6.843 GB, free: 5.957 MB / 1.214 GB Notification: Performance of prepare preOptimizeDAE: time 5.028e-05/28.84, allocations: 8 kB / 6.843 GB, free: 5.949 MB / 1.214 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02494/28.86, allocations: 2.638 MB / 6.845 GB, free: 3.293 MB / 1.214 GB Notification: Performance of preOpt evaluateParameters (simulation): time 1.713/30.58, allocations: 19.27 MB / 6.864 GB, free: 148.5 MB / 1.214 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008011/30.58, allocations: 234.9 kB / 6.864 GB, free: 148.5 MB / 1.214 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003944/30.58, allocations: 457 kB / 6.865 GB, free: 148.5 MB / 1.214 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02374/30.6, allocations: 5.624 MB / 6.87 GB, free: 148.5 MB / 1.214 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03359/30.64, allocations: 7.305 MB / 6.877 GB, free: 147.3 MB / 1.214 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004853/30.64, allocations: 18.91 kB / 6.877 GB, free: 147.3 MB / 1.214 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002906/30.64, allocations: 18.28 kB / 6.877 GB, free: 147.3 MB / 1.214 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002487/30.64, allocations: 202.7 kB / 6.877 GB, free: 147.3 MB / 1.214 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.118/30.76, allocations: 47.48 MB / 6.924 GB, free: 120.5 MB / 1.214 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007951/30.77, allocations: 2.064 MB / 6.926 GB, free: 120.4 MB / 1.214 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.008956/30.78, allocations: 2.024 MB / 6.928 GB, free: 120.4 MB / 1.214 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03844/30.82, allocations: 9.49 MB / 6.937 GB, free: 116.6 MB / 1.214 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005532/30.82, allocations: 1.877 MB / 6.939 GB, free: 116.5 MB / 1.214 GB Notification: Performance of pre-optimization done (n=339): time 8.947e-06/30.82, allocations: 1.781 kB / 6.939 GB, free: 116.5 MB / 1.214 GB Notification: Performance of matching and sorting (n=339): time 0.02019/30.84, allocations: 4.45 MB / 6.943 GB, free: 115.8 MB / 1.214 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001035/30.84, allocations: 89.5 kB / 6.943 GB, free: 115.8 MB / 1.214 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03169/30.87, allocations: 7.677 MB / 6.951 GB, free: 115.2 MB / 1.214 GB Notification: Performance of collectPreVariables (initialization): time 0.001375/30.87, allocations: 35.67 kB / 6.951 GB, free: 115.1 MB / 1.214 GB Notification: Performance of collectInitialEqns (initialization): time 0.006499/30.88, allocations: 3.235 MB / 6.954 GB, free: 113.6 MB / 1.214 GB Notification: Performance of collectInitialBindings (initialization): time 0.004574/30.89, allocations: 1.127 MB / 6.955 GB, free: 112.8 MB / 1.214 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007312/30.89, allocations: 0 / 6.955 GB, free: 112.8 MB / 1.214 GB Notification: Performance of setup shared object (initialization): time 0.000466/30.89, allocations: 495.5 kB / 6.956 GB, free: 112.5 MB / 1.214 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004952/30.89, allocations: 1.493 MB / 6.957 GB, free: 112.5 MB / 1.214 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009104/30.9, allocations: 3.583 MB / 6.961 GB, free: 109.9 MB / 1.214 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01385/30.92, allocations: 2.436 MB / 6.963 GB, free: 109.8 MB / 1.214 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001164/30.92, allocations: 13.25 kB / 6.963 GB, free: 109.8 MB / 1.214 GB Notification: Performance of matching and sorting (n=612) (initialization): time 0.03295/30.95, allocations: 6.011 MB / 6.969 GB, free: 109.1 MB / 1.214 GB Notification: Performance of prepare postOptimizeDAE: time 0.00656/30.95, allocations: 31.1 MB / 6.999 GB, free: 76.04 MB / 1.214 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002597/30.96, allocations: 53.03 kB / 6.999 GB, free: 76.04 MB / 1.214 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002239/30.96, allocations: 0.4941 MB / 7 GB, free: 75.96 MB / 1.214 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01007/30.97, allocations: 1.129 MB / 7.001 GB, free: 75.96 MB / 1.214 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01105/30.98, allocations: 8.226 MB / 7.009 GB, free: 69.26 MB / 1.214 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01805/31, allocations: 0.8835 MB / 7.01 GB, free: 68.99 MB / 1.214 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001724/31, allocations: 273.1 kB / 7.01 GB, free: 68.99 MB / 1.214 GB Notification: Performance of prepare postOptimizeDAE: time 1.814e-05/31, allocations: 3.625 kB / 7.01 GB, free: 68.99 MB / 1.214 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02618/31.02, allocations: 4.799 MB / 7.015 GB, free: 68.82 MB / 1.214 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000214/31.03, allocations: 51.22 kB / 7.015 GB, free: 68.82 MB / 1.214 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002428/31.03, allocations: 498.3 kB / 7.015 GB, free: 68.74 MB / 1.214 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01364/31.04, allocations: 1.101 MB / 7.016 GB, free: 68.74 MB / 1.214 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008282/31.05, allocations: 8.223 MB / 7.024 GB, free: 62.03 MB / 1.214 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01496/31.06, allocations: 0.7849 MB / 7.025 GB, free: 61.83 MB / 1.214 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001621/31.07, allocations: 259.2 kB / 7.025 GB, free: 61.83 MB / 1.214 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: coo1.hex.vol.heaFloSen.Q_flow:VARIABLE(unit = "W" protected = true final = true ) "Heat flow from port_a to port_b as output signal" type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: hea2.pum.vol.heaFloSen.Q_flow:VARIABLE(unit = "W" protected = true ) "Heat flow from port_a to port_b as output signal" type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: hea1.pum.vol.heaFloSen.Q_flow:VARIABLE(unit = "W" protected = true ) "Heat flow from port_a to port_b as output signal" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 238 * Number of states: 0 () * Number of discrete variables: 20 ($whenCondition4,$PRE.QCoo2.nextTimeEvent,$whenCondition3,$PRE.QCoo1.nextTimeEvent,$whenCondition2,$PRE.QHea2.nextTimeEvent,$whenCondition1,$PRE.QHea1.nextTimeEvent,QHea1.nextTimeEvent,$PRE.QHea1.nextTimeEventScaled,QHea1.nextTimeEventScaled,QHea2.nextTimeEvent,$PRE.QHea2.nextTimeEventScaled,QHea2.nextTimeEventScaled,QCoo1.nextTimeEvent,$PRE.QCoo1.nextTimeEventScaled,QCoo1.nextTimeEventScaled,QCoo2.nextTimeEvent,$PRE.QCoo2.nextTimeEventScaled,QCoo2.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (580): * Single equations (assignments): 566 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 10 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 6,(1,100.0%) 6} * Non-linear torn systems: 8 {1 2,1 2,1 2,1 2,1 2,1 2,1 2,1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0026/31.07, allocations: 301.6 kB / 7.026 GB, free: 61.68 MB / 1.214 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003838/31.07, allocations: 0.9656 MB / 7.027 GB, free: 61.16 MB / 1.214 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02741/31.1, allocations: 5.256 MB / 7.032 GB, free: 60.83 MB / 1.214 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001334/31.1, allocations: 35.12 kB / 7.032 GB, free: 60.83 MB / 1.214 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.561e-05/31.1, allocations: 5.828 kB / 7.032 GB, free: 60.83 MB / 1.214 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01618/31.12, allocations: 3.52 MB / 7.035 GB, free: 60.6 MB / 1.214 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06163/31.18, allocations: 11.54 MB / 7.046 GB, free: 59.9 MB / 1.214 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.884e-05/31.18, allocations: 0 / 7.046 GB, free: 59.9 MB / 1.214 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.008703/31.19, allocations: 0.7243 MB / 7.047 GB, free: 59.9 MB / 1.214 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002369/31.19, allocations: 422.3 kB / 7.048 GB, free: 59.82 MB / 1.214 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009734/31.19, allocations: 70.33 kB / 7.048 GB, free: 59.82 MB / 1.214 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01272/31.2, allocations: 8.133 MB / 7.056 GB, free: 53.12 MB / 1.214 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.299e-05/31.2, allocations: 3.234 kB / 7.056 GB, free: 53.12 MB / 1.214 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.02595/31.23, allocations: 6.952 MB / 7.062 GB, free: 52.03 MB / 1.214 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.03325/31.26, allocations: 10.08 MB / 7.072 GB, free: 50.55 MB / 1.214 GB Notification: Performance of postOpt removeConstants (simulation): time 0.009116/31.27, allocations: 1.768 MB / 7.074 GB, free: 49.89 MB / 1.214 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004543/31.28, allocations: 17.2 kB / 7.074 GB, free: 49.89 MB / 1.214 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01442/31.29, allocations: 0.5925 MB / 7.075 GB, free: 49.85 MB / 1.214 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001001/31.29, allocations: 199.2 kB / 7.075 GB, free: 49.85 MB / 1.214 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0009442/31.29, allocations: 201.7 kB / 7.075 GB, free: 49.84 MB / 1.214 GB Notification: Performance of sort global known variables: time 0.01832/31.31, allocations: 5.763 MB / 7.081 GB, free: 49.56 MB / 1.214 GB Notification: Performance of remove unused functions: time 0.04764/31.36, allocations: 7.764 MB / 7.088 GB, free: 48.84 MB / 1.214 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 14 (pla.coo.outCon.T,pla.hea.outCon.T,pip.vol[1].dynBal.U,pip.vol[2].dynBal.U,pip.vol[3].dynBal.U,pip1.vol[1].dynBal.U,pip1.vol[2].dynBal.U,pip1.vol[3].dynBal.U,spl.vol.dynBal.U,spl1.vol.dynBal.U,spl2.vol.dynBal.U,spl3.vol.dynBal.U,spl4.vol.dynBal.U,spl5.vol.dynBal.U) * Number of discrete variables: 12 ($whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,QHea1.nextTimeEvent,QHea1.nextTimeEventScaled,QHea2.nextTimeEvent,QHea2.nextTimeEventScaled,QCoo1.nextTimeEvent,QCoo1.nextTimeEventScaled,QCoo2.nextTimeEvent,QCoo2.nextTimeEventScaled) * Number of discrete states: 8 (QCoo2.nextTimeEvent,QCoo1.nextTimeEvent,QHea2.nextTimeEvent,QHea1.nextTimeEvent,QCoo2.nextTimeEventScaled,QCoo1.nextTimeEventScaled,QHea2.nextTimeEventScaled,QHea1.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (346): * Single equations (assignments): 315 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 13 * When equations: 8 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 10 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 6,(1,100.0%) 6} * Non-linear torn systems: 8 {1 2,1 2,1 2,1 2,1 2,1 2,1 2,1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.01546/31.37, allocations: 6.507 MB / 7.094 GB, free: 46.04 MB / 1.214 GB Notification: Performance of simCode: created initialization part: time 0.02294/31.4, allocations: 7.369 MB / 7.102 GB, free: 45.5 MB / 1.214 GB Notification: Performance of simCode: created event and clocks part: time 1.609e-05/31.4, allocations: 2.969 kB / 7.102 GB, free: 45.5 MB / 1.214 GB Notification: Performance of simCode: created simulation system equations: time 0.008702/31.41, allocations: 2.108 MB / 7.104 GB, free: 45.28 MB / 1.214 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.04672/31.45, allocations: 4.5 MB / 7.108 GB, free: 45.19 MB / 1.214 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08813/31.54, allocations: 15.34 MB / 7.123 GB, free: 41.8 MB / 1.214 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.02215/31.56, allocations: 6.533 MB / 7.13 GB, free: 40.86 MB / 1.214 GB Notification: Performance of SimCode: time 5.33e-06/31.56, allocations: 0 / 7.13 GB, free: 40.86 MB / 1.214 GB (rm -f Buildings_8.0.0_Buildings.Obsolete.DistrictHeatingCooling.Validation.IdealSmallSystem.pipe ; mkfifo Buildings_8.0.0_Buildings.Obsolete.DistrictHeatingCooling.Validation.IdealSmallSystem.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Obsolete.DistrictHeatingCooling.Validation.IdealSmallSystem.pipe >> ../files/Buildings_8.0.0_Buildings.Obsolete.DistrictHeatingCooling.Validation.IdealSmallSystem.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Obsolete_DistrictHeatingCooling_Validation_IdealSmallSystem_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Obsolete_DistrictHeatingCooling_Validation_IdealSmallSystem.fmu > Buildings_8.0.0_Buildings.Obsolete.DistrictHeatingCooling.Validation.IdealSmallSystem.pipe 2>&1)