Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.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.BaseClasses.Examples.GetTimeSpanTMY3,fileNamePrefix="IBPSA_latest_IBPSA_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3,fileNamePrefix="IBPSA_latest_IBPSA_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3",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.001137/0.001137, allocations: 184.2 kB / 7.801 MB, free: 2.5 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4535/0.4535, allocations: 90.86 MB / 99.07 MB, free: 14.91 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.341/1.341, allocations: 221.4 MB / 342.8 MB, free: 5.086 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.0009325/0.0009328, allocations: 95.08 kB / 415.5 MB, free: 6.383 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1774/0.1783, allocations: 78.46 MB / 494 MB, free: 7.918 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4018/0.5801, allocations: 72.3 MB / 0.553 GB, free: 73.18 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.113/0.6932, allocations: 100.9 MB / 0.6515 GB, free: 9.023 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000256/0.6935, allocations: 87.92 kB / 0.6516 GB, free: 8.938 MB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.009917/0.7034, allocations: 3.623 MB / 0.6551 GB, free: 5.316 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.124e-05/0.7035, allocations: 15.94 kB / 0.6551 GB, free: 5.301 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.419e-05/0.7035, allocations: 76.06 kB / 0.6552 GB, free: 5.227 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001571/0.7037, allocations: 235.2 kB / 0.6554 GB, free: 4.957 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.975e-05/0.7038, allocations: 163.3 kB / 0.6556 GB, free: 4.797 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.647e-05/0.7039, allocations: 152.3 kB / 0.6557 GB, free: 4.648 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.1e-05/0.7039, allocations: 156.1 kB / 0.6559 GB, free: 4.496 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.102e-05/0.704, allocations: 105 kB / 0.656 GB, free: 4.387 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.401e-05/0.704, allocations: 76.19 kB / 0.6561 GB, free: 4.312 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.153e-05/0.7041, allocations: 152.6 kB / 0.6562 GB, free: 4.164 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.884e-05/0.7041, allocations: 154.6 kB / 0.6564 GB, free: 4.012 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002678/0.7044, allocations: 429.4 kB / 0.6568 GB, free: 3.559 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.469e-05/0.7045, allocations: 173.9 kB / 0.6569 GB, free: 3.379 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.558e-05/0.7046, allocations: 85.02 kB / 0.657 GB, free: 3.293 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.686e-05/0.7046, allocations: 76.16 kB / 0.6571 GB, free: 3.219 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.73e-05/0.7046, allocations: 114.8 kB / 0.6572 GB, free: 3.098 MB / 474.7 MB Notification: Performance of pre-optimization done (n=0): time 1.022e-06/0.7046, allocations: 0 / 0.6572 GB, free: 3.098 MB / 474.7 MB Notification: Performance of matching and sorting (n=0): time 8.162e-05/0.7047, allocations: 30.36 kB / 0.6572 GB, free: 3.062 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.601e-05/0.7048, allocations: 52.06 kB / 0.6573 GB, free: 3 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001125/0.7049, allocations: 97.95 kB / 0.6574 GB, free: 2.898 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 1.588e-05/0.7049, allocations: 25.7 kB / 0.6574 GB, free: 2.867 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.294e-05/0.705, allocations: 84.8 kB / 0.6575 GB, free: 2.781 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.713e-06/0.705, allocations: 0 / 0.6575 GB, free: 2.781 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.485e-06/0.705, allocations: 0.8125 kB / 0.6575 GB, free: 2.781 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001575/0.7051, allocations: 311.9 kB / 0.6578 GB, free: 2.469 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.67e-05/0.7052, allocations: 5.438 kB / 0.6578 GB, free: 2.465 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.878e-05/0.7052, allocations: 11.98 kB / 0.6578 GB, free: 2.453 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.492e-05/0.7052, allocations: 8.531 kB / 0.6578 GB, free: 2.445 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.328e-06/0.7052, allocations: 3.906 kB / 0.6578 GB, free: 2.441 MB / 474.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001181/0.7054, allocations: 38.42 kB / 0.6578 GB, free: 2.398 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.252e-05/0.7054, allocations: 5.094 kB / 0.6578 GB, free: 2.395 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.263e-06/0.7054, allocations: 3.984 kB / 0.6578 GB, free: 2.391 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.195e-05/0.7054, allocations: 7.984 kB / 0.6578 GB, free: 2.383 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.32e-07/0.7054, allocations: 0.625 kB / 0.6578 GB, free: 2.383 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.489e-06/0.7054, allocations: 0 / 0.6578 GB, free: 2.383 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.481e-05/0.7055, allocations: 1.812 kB / 0.6578 GB, free: 2.383 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.575e-05/0.7055, allocations: 4.656 kB / 0.6579 GB, free: 2.379 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (1): * Single equations (assignments): 0 * Array equations: 1 * 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 9.256e-05/0.7056, allocations: 187.8 kB / 0.658 GB, free: 2.191 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.523e-05/0.7057, allocations: 101.7 kB / 0.6581 GB, free: 2.086 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.492e-05/0.7058, allocations: 117.7 kB / 0.6582 GB, free: 1.961 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001007/0.7059, allocations: 177.8 kB / 0.6584 GB, free: 1.781 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.914e-05/0.706, allocations: 181 kB / 0.6586 GB, free: 1.598 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.426e-05/0.706, allocations: 181.1 kB / 0.6588 GB, free: 1.414 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001902/0.7062, allocations: 386.6 kB / 0.6591 GB, free: 0.9922 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.323e-05/0.7062, allocations: 101.5 kB / 0.6592 GB, free: 0.8867 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.001e-05/0.7063, allocations: 106 kB / 0.6593 GB, free: 0.7773 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.72e-05/0.7063, allocations: 184.3 kB / 0.6595 GB, free: 0.5898 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.722e-05/0.7064, allocations: 183.4 kB / 0.6597 GB, free: 416 kB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.608e-05/0.7065, allocations: 180.2 kB / 0.6598 GB, free: 228 kB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.259e-05/0.7065, allocations: 178.5 kB / 0.66 GB, free: 44 kB / 474.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00014/0.7067, allocations: 305.8 kB / 0.6603 GB, free: 15.72 MB / 490.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002323/0.7069, allocations: 0.6796 MB / 0.661 GB, free: 15.02 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.761e-05/0.707, allocations: 191.3 kB / 0.6612 GB, free: 14.81 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.757e-05/0.7071, allocations: 176.5 kB / 0.6613 GB, free: 14.63 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.993e-05/0.7072, allocations: 102.7 kB / 0.6614 GB, free: 14.52 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.892e-05/0.7072, allocations: 188.2 kB / 0.6616 GB, free: 14.33 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.048e-05/0.7073, allocations: 101.6 kB / 0.6617 GB, free: 14.23 MB / 490.7 MB Notification: Performance of sort global known variables: time 3.966e-05/0.7073, allocations: 88.48 kB / 0.6618 GB, free: 14.14 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0008174/0.7081, allocations: 7.906 kB / 0.6618 GB, free: 14.13 MB / 490.7 MB 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 (0): * Single equations (assignments): 0 * 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.0002521/0.7084, allocations: 179.7 kB / 0.662 GB, free: 13.95 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 9.737e-05/0.7085, allocations: 9.594 kB / 0.662 GB, free: 13.94 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.7085, allocations: 1.219 kB / 0.662 GB, free: 13.94 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 1.953e-06/0.7085, allocations: 4 kB / 0.662 GB, free: 13.94 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002799/0.7088, allocations: 0.5241 MB / 0.6625 GB, free: 13.41 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001997/0.709, allocations: 123.4 kB / 0.6626 GB, free: 13.27 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002747/0.7093, allocations: 0.6885 MB / 0.6633 GB, free: 12.55 MB / 490.7 MB Notification: Performance of SimCode: time 2.91e-07/0.7093, allocations: 0 / 0.6633 GB, free: 12.55 MB / 490.7 MB (rm -f IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.pipe ; mkfifo IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.pipe >> ../files/IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3.fmu > IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.pipe 2>&1)