Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.Validation.DecemberToJanuary.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IBPSA.BoundaryConditions.WeatherData.Validation.DecemberToJanuary,fileNamePrefix="IBPSA_latest_IBPSA_BoundaryConditions_WeatherData_Validation_DecemberToJanuary",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.BoundaryConditions.WeatherData.Validation.DecemberToJanuary,fileNamePrefix="IBPSA_latest_IBPSA_BoundaryConditions_WeatherData_Validation_DecemberToJanuary",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/Complex 4.0.0+maint.om/package.mo): time 0.001287/0.001287, allocations: 184.9 kB / 7.803 MB, free: 2.488 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4534/0.4534, allocations: 90.84 MB / 99.07 MB, free: 14.95 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.447/1.447, allocations: 221.4 MB / 342.8 MB, free: 5.223 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001066/0.001066, allocations: 93.23 kB / 415.5 MB, free: 6.461 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1904/0.1915, allocations: 78.45 MB / 494 MB, free: 8.012 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.468/0.6595, allocations: 72.3 MB / 0.553 GB, free: 73.4 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 3.661/4.321, allocations: 1.683 GB / 2.236 GB, free: 140.9 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002814/4.321, allocations: 93.06 kB / 2.236 GB, free: 140.8 MB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 157 * Number of variables: 157 Notification: Performance of Generate backend data structure: time 0.07574/4.397, allocations: 30.84 MB / 2.266 GB, free: 110 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.392e-05/4.397, allocations: 8 kB / 2.266 GB, free: 110 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005228/4.397, allocations: 102.9 kB / 2.266 GB, free: 109.9 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001297/4.399, allocations: 0.5686 MB / 2.267 GB, free: 109.3 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.205e-05/4.399, allocations: 20 kB / 2.267 GB, free: 109.3 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000118/4.399, allocations: 39.98 kB / 2.267 GB, free: 109.3 MB / 0.6042 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001368/4.4, allocations: 0.8728 MB / 2.268 GB, free: 108.4 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009929/4.401, allocations: 0.6008 MB / 2.268 GB, free: 107.7 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.394e-05/4.401, allocations: 1.406 kB / 2.268 GB, free: 107.7 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.738e-05/4.401, allocations: 7.922 kB / 2.268 GB, free: 107.7 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.635e-05/4.401, allocations: 16 kB / 2.268 GB, free: 107.7 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003163/4.405, allocations: 2.246 MB / 2.271 GB, free: 105.4 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007634/4.405, allocations: 0.5635 MB / 2.271 GB, free: 104.8 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000271/4.406, allocations: 203.2 kB / 2.271 GB, free: 104.6 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 7.078e-05/4.406, allocations: 28.53 kB / 2.271 GB, free: 104.6 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003933/4.406, allocations: 316.4 kB / 2.272 GB, free: 104.2 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=61): time 3.546e-06/4.406, allocations: 0 / 2.272 GB, free: 104.2 MB / 0.6042 GB Notification: Performance of matching and sorting (n=61): time 0.0008958/4.407, allocations: 492.5 kB / 2.272 GB, free: 103.8 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.926e-05/4.407, allocations: 295.3 kB / 2.272 GB, free: 103.4 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006034/4.408, allocations: 0.5002 MB / 2.273 GB, free: 102.9 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 5.259e-05/4.408, allocations: 25.7 kB / 2.273 GB, free: 102.9 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001476/4.408, allocations: 260.4 kB / 2.273 GB, free: 102.6 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001228/4.408, allocations: 193.1 kB / 2.273 GB, free: 102.4 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.219e-05/4.408, allocations: 0 / 2.273 GB, free: 102.4 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 9.224e-05/4.408, allocations: 374.7 kB / 2.274 GB, free: 102 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002221/4.408, allocations: 157.3 kB / 2.274 GB, free: 101.9 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002976/4.409, allocations: 268.9 kB / 2.274 GB, free: 101.6 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000331/4.409, allocations: 213.3 kB / 2.274 GB, free: 101.4 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.576e-06/4.409, allocations: 0 / 2.274 GB, free: 101.4 MB / 0.6042 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.0007715/4.41, allocations: 0.4919 MB / 2.275 GB, free: 100.9 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.791e-05/4.41, allocations: 8 kB / 2.275 GB, free: 100.9 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.698e-06/4.41, allocations: 3.984 kB / 2.275 GB, free: 100.9 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.286e-05/4.41, allocations: 4 kB / 2.275 GB, free: 100.9 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004748/4.41, allocations: 119.9 kB / 2.275 GB, free: 100.7 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.106e-05/4.41, allocations: 4 kB / 2.275 GB, free: 100.7 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004597/4.411, allocations: 55.56 kB / 2.275 GB, free: 100.7 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.056e-05/4.411, allocations: 27.98 kB / 2.275 GB, free: 100.7 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (67): * Single equations (assignments): 67 * 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.0001496/4.411, allocations: 116.9 kB / 2.275 GB, free: 100.5 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001258/4.411, allocations: 67.16 kB / 2.275 GB, free: 100.5 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001346/4.413, allocations: 0.7324 MB / 2.276 GB, free: 99.76 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.206e-06/4.413, allocations: 4.938 kB / 2.276 GB, free: 99.75 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.085e-06/4.413, allocations: 8 kB / 2.276 GB, free: 99.75 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.275e-06/4.413, allocations: 3.984 kB / 2.276 GB, free: 99.74 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008663/4.414, allocations: 0.8432 MB / 2.277 GB, free: 98.85 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.819e-06/4.414, allocations: 112 / 2.277 GB, free: 98.85 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004174/4.414, allocations: 123.8 kB / 2.277 GB, free: 98.73 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.788e-06/4.414, allocations: 0 / 2.277 GB, free: 98.73 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.371e-05/4.414, allocations: 19.89 kB / 2.277 GB, free: 98.71 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.328e-06/4.414, allocations: 4 kB / 2.277 GB, free: 98.71 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.977e-06/4.414, allocations: 0 / 2.277 GB, free: 98.71 MB / 0.6042 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0008246/4.415, allocations: 0.5928 MB / 2.278 GB, free: 98.09 MB / 0.6042 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0009385/4.416, allocations: 0.9941 MB / 2.279 GB, free: 97.06 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003458/4.416, allocations: 263.9 kB / 2.279 GB, free: 96.79 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001332/4.416, allocations: 4 kB / 2.279 GB, free: 96.78 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004419/4.417, allocations: 47.95 kB / 2.279 GB, free: 96.73 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.326e-05/4.417, allocations: 40.59 kB / 2.279 GB, free: 96.7 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.023e-05/4.417, allocations: 23.98 kB / 2.279 GB, free: 96.67 MB / 0.6042 GB Notification: Performance of sort global known variables: time 0.0004048/4.417, allocations: 402.9 kB / 2.279 GB, free: 96.28 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.001434/4.419, allocations: 275.3 kB / 2.28 GB, free: 96.01 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Top-level inputs: 0 Notification: Strong component statistics for simulation (72): * Single equations (assignments): 70 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001481/4.42, allocations: 0.5008 MB / 2.28 GB, free: 95.67 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0006714/4.421, allocations: 450.9 kB / 2.28 GB, free: 95.23 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.016e-06/4.421, allocations: 0 / 2.28 GB, free: 95.23 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0003366/4.421, allocations: 262.6 kB / 2.281 GB, free: 94.98 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009026/4.422, allocations: 194 kB / 2.281 GB, free: 94.8 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002069/4.424, allocations: 0.99 MB / 2.282 GB, free: 93.77 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007069/4.425, allocations: 1.065 MB / 2.283 GB, free: 92.68 MB / 0.6042 GB Notification: Performance of SimCode: time 3.91e-07/4.425, allocations: 0 / 2.283 GB, free: 92.68 MB / 0.6042 GB (rm -f IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.Validation.DecemberToJanuary.pipe ; mkfifo IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.Validation.DecemberToJanuary.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.Validation.DecemberToJanuary.pipe >> ../files/IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.Validation.DecemberToJanuary.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_BoundaryConditions_WeatherData_Validation_DecemberToJanuary_fmu --startTime=3.09924e+07 --stopTime=3.186e+07 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_BoundaryConditions_WeatherData_Validation_DecemberToJanuary.fmu > IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.Validation.DecemberToJanuary.pipe 2>&1)