Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Obsolete.DistrictHeatingCooling.SubStations.Validation.CoolingSubstation.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.SubStations.Validation.CoolingSubstation,fileNamePrefix="Buildings_8_0_0_Buildings_Obsolete_DistrictHeatingCooling_SubStations_Validation_CoolingSubstation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Obsolete.DistrictHeatingCooling.SubStations.Validation.CoolingSubstation,fileNamePrefix="Buildings_8_0_0_Buildings_Obsolete_DistrictHeatingCooling_SubStations_Validation_CoolingSubstation",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.341/2.341, allocations: 284.8 MB / 292.1 MB, free: 1.461 MB / 227.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001614/0.001614, allocations: 184.1 kB / 360.3 MB, free: 15.63 MB / 291.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.761/1.761, allocations: 205.1 MB / 0.6187 GB, free: 6.664 MB / 467.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001276/0.001275, allocations: 98.78 kB / 0.7317 GB, free: 46.87 MB / 0.5186 GB Notification: Performance of FrontEnd - loaded program: time 0.2883/0.2896, allocations: 121.4 MB / 0.8502 GB, free: 13.68 MB / 0.5967 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6802/0.9698, allocations: 115.2 MB / 0.9627 GB, free: 86.35 MB / 0.6749 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.053/2.022, allocations: 442.2 MB / 1.395 GB, free: 144.7 MB / 0.8624 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003396/2.023, allocations: 98.59 kB / 1.395 GB, free: 144.6 MB / 0.8624 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 206 * Number of variables: 206 Notification: Performance of Generate backend data structure: time 3.123/5.146, allocations: 0.6953 GB / 2.09 GB, free: 184.7 MB / 0.9405 GB Notification: Performance of prepare preOptimizeDAE: time 4.405e-05/5.146, allocations: 10.53 kB / 2.09 GB, free: 184.7 MB / 0.9405 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003109/5.149, allocations: 368.3 kB / 2.09 GB, free: 184.6 MB / 0.9405 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03004/5.18, allocations: 8.587 MB / 2.099 GB, free: 184 MB / 0.9405 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.151e-05/5.18, allocations: 32.22 kB / 2.099 GB, free: 184 MB / 0.9405 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002956/5.18, allocations: 61.33 kB / 2.099 GB, free: 184 MB / 0.9405 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00282/5.183, allocations: 0.6242 MB / 2.099 GB, free: 184 MB / 0.9405 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003536/5.186, allocations: 0.8432 MB / 2.1 GB, free: 183.9 MB / 0.9405 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.616e-05/5.187, allocations: 4.156 kB / 2.1 GB, free: 183.9 MB / 0.9405 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001956/5.187, allocations: 3.281 kB / 2.1 GB, free: 183.9 MB / 0.9405 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.433e-05/5.187, allocations: 25.31 kB / 2.1 GB, free: 183.9 MB / 0.9405 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01331/5.2, allocations: 4.762 MB / 2.105 GB, free: 181.6 MB / 0.9405 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001207/5.201, allocations: 446.6 kB / 2.105 GB, free: 181.6 MB / 0.9405 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000544/5.202, allocations: 245.9 kB / 2.106 GB, free: 181.5 MB / 0.9405 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003555/5.206, allocations: 1.652 MB / 2.107 GB, free: 180.5 MB / 0.9405 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000723/5.206, allocations: 363.2 kB / 2.108 GB, free: 180.4 MB / 0.9405 GB Notification: Performance of pre-optimization done (n=47): time 3.096e-06/5.206, allocations: 0 / 2.108 GB, free: 180.4 MB / 0.9405 GB Notification: Performance of matching and sorting (n=47): time 0.003038/5.209, allocations: 0.6871 MB / 2.108 GB, free: 180.3 MB / 0.9405 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.002e-05/5.209, allocations: 112.3 kB / 2.108 GB, free: 180.1 MB / 0.9405 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002126/5.212, allocations: 0.9689 MB / 2.109 GB, free: 180 MB / 0.9405 GB Notification: Performance of collectPreVariables (initialization): time 0.0002146/5.212, allocations: 29.48 kB / 2.109 GB, free: 180 MB / 0.9405 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004238/5.212, allocations: 438.8 kB / 2.11 GB, free: 179.7 MB / 0.9405 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002416/5.213, allocations: 146.1 kB / 2.11 GB, free: 179.6 MB / 0.9405 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.612e-05/5.213, allocations: 6.688 kB / 2.11 GB, free: 179.6 MB / 0.9405 GB Notification: Performance of setup shared object (initialization): time 8.219e-05/5.213, allocations: 332.4 kB / 2.11 GB, free: 179.3 MB / 0.9405 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005378/5.213, allocations: 209.4 kB / 2.11 GB, free: 179.3 MB / 0.9405 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007029/5.214, allocations: 485.2 kB / 2.111 GB, free: 179 MB / 0.9405 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001686/5.216, allocations: 357.7 kB / 2.111 GB, free: 179 MB / 0.9405 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.726e-06/5.216, allocations: 3.938 kB / 2.111 GB, free: 179 MB / 0.9405 GB Notification: Performance of matching and sorting (n=80) (initialization): time 0.003183/5.219, allocations: 0.8717 MB / 2.112 GB, free: 178.9 MB / 0.9405 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006423/5.22, allocations: 2.739 MB / 2.115 GB, free: 176.1 MB / 0.9405 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.169e-05/5.22, allocations: 6.531 kB / 2.115 GB, free: 176.1 MB / 0.9405 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004423/5.22, allocations: 75.33 kB / 2.115 GB, free: 176 MB / 0.9405 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001345/5.221, allocations: 158.3 kB / 2.115 GB, free: 176 MB / 0.9405 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009593/5.222, allocations: 1.148 MB / 2.116 GB, free: 175 MB / 0.9405 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001839/5.224, allocations: 107.1 kB / 2.116 GB, free: 175 MB / 0.9405 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001741/5.224, allocations: 50.89 kB / 2.116 GB, free: 175 MB / 0.9405 GB Notification: Performance of prepare postOptimizeDAE: time 1.212e-05/5.225, allocations: 3.781 kB / 2.116 GB, free: 175 MB / 0.9405 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002694/5.227, allocations: 0.6785 MB / 2.117 GB, free: 174.9 MB / 0.9405 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.447e-05/5.227, allocations: 7.625 kB / 2.117 GB, free: 174.9 MB / 0.9405 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003249/5.228, allocations: 73.61 kB / 2.117 GB, free: 174.9 MB / 0.9405 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001143/5.229, allocations: 154.3 kB / 2.117 GB, free: 174.9 MB / 0.9405 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009563/5.23, allocations: 1.155 MB / 2.118 GB, free: 173.9 MB / 0.9405 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001711/5.231, allocations: 94.27 kB / 2.118 GB, free: 173.9 MB / 0.9405 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001429/5.232, allocations: 44.44 kB / 2.118 GB, free: 173.9 MB / 0.9405 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,QCoo.a,QCoo.b,QCoo.last,$PRE.QCoo.nextEvent,QCoo.nextEvent,QCoo.nextEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (70): * Single equations (assignments): 66 * Array equations: 1 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 2,1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0003498/5.232, allocations: 160.8 kB / 2.119 GB, free: 173.7 MB / 0.9405 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000313/5.232, allocations: 133.3 kB / 2.119 GB, free: 173.7 MB / 0.9405 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003395/5.236, allocations: 0.8772 MB / 2.12 GB, free: 173.6 MB / 0.9405 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.669e-05/5.236, allocations: 3.906 kB / 2.12 GB, free: 173.6 MB / 0.9405 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.626e-06/5.236, allocations: 6.312 kB / 2.12 GB, free: 173.6 MB / 0.9405 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.111e-05/5.236, allocations: 3.891 kB / 2.12 GB, free: 173.6 MB / 0.9405 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005376/5.241, allocations: 1.84 MB / 2.121 GB, free: 173.2 MB / 0.9405 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.055e-06/5.241, allocations: 0 / 2.121 GB, free: 173.2 MB / 0.9405 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009877/5.242, allocations: 110 kB / 2.121 GB, free: 173.2 MB / 0.9405 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003284/5.243, allocations: 72.34 kB / 2.121 GB, free: 173.1 MB / 0.9405 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.911e-05/5.243, allocations: 14.2 kB / 2.122 GB, free: 173.1 MB / 0.9405 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001014/5.244, allocations: 1.147 MB / 2.123 GB, free: 172.1 MB / 0.9405 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.43e-06/5.244, allocations: 0 / 2.123 GB, free: 172.1 MB / 0.9405 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002644/5.246, allocations: 0.9949 MB / 2.124 GB, free: 171.7 MB / 0.9405 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002992/5.249, allocations: 1.444 MB / 2.125 GB, free: 170.8 MB / 0.9405 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009356/5.25, allocations: 304.8 kB / 2.125 GB, free: 170.7 MB / 0.9405 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003116/5.251, allocations: 11.3 kB / 2.125 GB, free: 170.7 MB / 0.9405 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001621/5.252, allocations: 72.16 kB / 2.125 GB, free: 170.7 MB / 0.9405 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001324/5.253, allocations: 43.73 kB / 2.125 GB, free: 170.7 MB / 0.9405 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000111/5.253, allocations: 32.12 kB / 2.125 GB, free: 170.7 MB / 0.9405 GB Notification: Performance of sort global known variables: time 0.00159/5.254, allocations: 0.7408 MB / 2.126 GB, free: 170.6 MB / 0.9405 GB Notification: Performance of remove unused functions: time 0.006241/5.261, allocations: 0.9977 MB / 2.127 GB, free: 170.4 MB / 0.9405 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,QCoo.a,QCoo.b,QCoo.last,QCoo.nextEvent,QCoo.nextEventScaled) * Number of discrete states: 6 (QCoo.nextEvent,QCoo.last,QCoo.nextEventScaled,QCoo.b,QCoo.a,$whenCondition1) * Top-level inputs: 0 Notification: Strong component statistics for simulation (46): * Single equations (assignments): 39 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 2,1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.002804/5.263, allocations: 0.975 MB / 2.128 GB, free: 170.2 MB / 0.9405 GB Notification: Performance of simCode: created initialization part: time 0.00312/5.267, allocations: 1.007 MB / 2.129 GB, free: 170.1 MB / 0.9405 GB Notification: Performance of simCode: created event and clocks part: time 7.474e-06/5.267, allocations: 0.9062 kB / 2.129 GB, free: 170.1 MB / 0.9405 GB Notification: Performance of simCode: created simulation system equations: time 0.001069/5.268, allocations: 341.3 kB / 2.129 GB, free: 170.1 MB / 0.9405 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004609/5.272, allocations: 0.517 MB / 2.13 GB, free: 170.1 MB / 0.9405 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006081/5.278, allocations: 1.682 MB / 2.132 GB, free: 169.6 MB / 0.9405 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001677/5.28, allocations: 1.357 MB / 2.133 GB, free: 168.9 MB / 0.9405 GB Notification: Performance of SimCode: time 1.503e-06/5.28, allocations: 0 / 2.133 GB, free: 168.9 MB / 0.9405 GB (rm -f Buildings_8.0.0_Buildings.Obsolete.DistrictHeatingCooling.SubStations.Validation.CoolingSubstation.pipe ; mkfifo Buildings_8.0.0_Buildings.Obsolete.DistrictHeatingCooling.SubStations.Validation.CoolingSubstation.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Obsolete.DistrictHeatingCooling.SubStations.Validation.CoolingSubstation.pipe >> ../files/Buildings_8.0.0_Buildings.Obsolete.DistrictHeatingCooling.SubStations.Validation.CoolingSubstation.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Obsolete_DistrictHeatingCooling_SubStations_Validation_CoolingSubstation_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Obsolete_DistrictHeatingCooling_SubStations_Validation_CoolingSubstation.fmu > Buildings_8.0.0_Buildings.Obsolete.DistrictHeatingCooling.SubStations.Validation.CoolingSubstation.pipe 2>&1)