Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.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.LocalCivilTime,fileNamePrefix="IBPSA_latest_IBPSA_BoundaryConditions_WeatherData_BaseClasses_Examples_LocalCivilTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime,fileNamePrefix="IBPSA_latest_IBPSA_BoundaryConditions_WeatherData_BaseClasses_Examples_LocalCivilTime",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.00139/0.00139, allocations: 186.8 kB / 7.803 MB, free: 2.496 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4723/0.4723, allocations: 90.85 MB / 99.07 MB, free: 14.92 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.374/1.374, allocations: 221.4 MB / 342.8 MB, free: 5.113 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.001003/0.001003, allocations: 93.31 kB / 415.5 MB, free: 6.414 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1729/0.1739, allocations: 78.45 MB / 494 MB, free: 7.957 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3975/0.5714, allocations: 72.3 MB / 0.553 GB, free: 73.33 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.116/0.6874, allocations: 101 MB / 0.6517 GB, free: 8.957 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002641/0.6878, allocations: 80.64 kB / 0.6517 GB, free: 8.879 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.002152/0.6899, allocations: 0.7418 MB / 0.6525 GB, free: 8.109 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.525e-05/0.69, allocations: 8 kB / 0.6525 GB, free: 8.102 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.222e-05/0.69, allocations: 9.906 kB / 0.6525 GB, free: 8.094 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001665/0.6902, allocations: 171 kB / 0.6526 GB, free: 7.887 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.517e-06/0.6902, allocations: 1.031 kB / 0.6526 GB, free: 7.887 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.124e-05/0.6902, allocations: 4 kB / 0.6526 GB, free: 7.883 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 4.683e-05/0.6903, allocations: 7.891 kB / 0.6527 GB, free: 7.875 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.072e-05/0.6904, allocations: 35.06 kB / 0.6527 GB, free: 7.836 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.625e-06/0.6904, allocations: 1.156 kB / 0.6527 GB, free: 7.836 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.095e-05/0.6904, allocations: 4 kB / 0.6527 GB, free: 7.832 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.249e-06/0.6904, allocations: 0 / 0.6527 GB, free: 7.832 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002947/0.6907, allocations: 223 kB / 0.6529 GB, free: 7.578 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.167e-05/0.6908, allocations: 31.33 kB / 0.6529 GB, free: 7.539 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.326e-05/0.6908, allocations: 14.36 kB / 0.6529 GB, free: 7.523 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.022e-05/0.6908, allocations: 0 / 0.6529 GB, free: 7.523 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.424e-05/0.6908, allocations: 35 kB / 0.653 GB, free: 7.484 MB / 474.7 MB Notification: Performance of pre-optimization done (n=2): time 9.41e-07/0.6909, allocations: 0 / 0.653 GB, free: 7.484 MB / 474.7 MB Notification: Performance of matching and sorting (n=2): time 0.000154/0.691, allocations: 33.7 kB / 0.653 GB, free: 7.445 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.339e-05/0.6911, allocations: 56.19 kB / 0.6531 GB, free: 7.379 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.401e-05/0.6911, allocations: 92.98 kB / 0.6532 GB, free: 7.281 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 1.297e-05/0.6912, allocations: 26.64 kB / 0.6532 GB, free: 7.25 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.266e-05/0.6912, allocations: 80.14 kB / 0.6533 GB, free: 7.168 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.924e-05/0.6912, allocations: 12.69 kB / 0.6533 GB, free: 7.156 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.535e-06/0.6912, allocations: 0 / 0.6533 GB, free: 7.156 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.000114/0.6914, allocations: 311.8 kB / 0.6536 GB, free: 6.844 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.926e-06/0.6914, allocations: 0.7812 kB / 0.6536 GB, free: 6.844 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.668e-06/0.6914, allocations: 7.938 kB / 0.6536 GB, free: 6.836 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.62e-05/0.6914, allocations: 8.5 kB / 0.6536 GB, free: 6.828 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.6914, allocations: 0.9688 kB / 0.6536 GB, free: 6.828 MB / 474.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 5.569e-05/0.6915, allocations: 37.69 kB / 0.6536 GB, free: 6.785 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.429e-05/0.6915, allocations: 8.719 kB / 0.6536 GB, free: 6.777 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.31e-06/0.6915, allocations: 0 / 0.6536 GB, free: 6.777 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.127e-05/0.6915, allocations: 0.875 kB / 0.6536 GB, free: 6.777 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.53e-05/0.6916, allocations: 0 / 0.6536 GB, free: 6.777 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.198e-06/0.6916, allocations: 5.125 kB / 0.6536 GB, free: 6.773 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.693e-05/0.6916, allocations: 0 / 0.6536 GB, free: 6.773 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.496e-06/0.6916, allocations: 0 / 0.6536 GB, free: 6.773 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 (2): * Single equations (assignments): 2 * 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 6.496e-05/0.6917, allocations: 105.6 kB / 0.6537 GB, free: 6.664 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.403e-05/0.6917, allocations: 1.875 kB / 0.6537 GB, free: 6.664 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.298e-05/0.6918, allocations: 7.906 kB / 0.6537 GB, free: 6.656 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.783e-06/0.6918, allocations: 0 / 0.6537 GB, free: 6.656 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.009e-06/0.6918, allocations: 1.438 kB / 0.6537 GB, free: 6.656 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.17e-06/0.6918, allocations: 3.984 kB / 0.6538 GB, free: 6.652 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001705/0.692, allocations: 134.2 kB / 0.6539 GB, free: 6.484 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.692, allocations: 0 / 0.6539 GB, free: 6.484 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.206e-05/0.692, allocations: 12.45 kB / 0.6539 GB, free: 6.473 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.692, allocations: 0.75 kB / 0.6539 GB, free: 6.473 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.835e-06/0.692, allocations: 3.188 kB / 0.6539 GB, free: 6.473 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.763e-06/0.692, allocations: 6.094 kB / 0.6539 GB, free: 6.469 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.216e-06/0.692, allocations: 0.9375 kB / 0.6539 GB, free: 6.469 MB / 474.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 9.498e-05/0.6921, allocations: 133.2 kB / 0.654 GB, free: 6.324 MB / 474.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002189/0.6924, allocations: 0.5057 MB / 0.6545 GB, free: 5.801 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.265e-05/0.6924, allocations: 77.77 kB / 0.6546 GB, free: 5.707 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.235e-05/0.6924, allocations: 0 / 0.6546 GB, free: 5.707 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.058e-05/0.6925, allocations: 0.5625 kB / 0.6546 GB, free: 5.707 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.713e-05/0.6925, allocations: 9.641 kB / 0.6546 GB, free: 5.699 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.613e-06/0.6925, allocations: 0 / 0.6546 GB, free: 5.699 MB / 474.7 MB Notification: Performance of sort global known variables: time 3.781e-05/0.6926, allocations: 83.28 kB / 0.6547 GB, free: 5.617 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0008002/0.6934, allocations: 4 kB / 0.6547 GB, free: 5.613 MB / 474.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 (2): * Single equations (assignments): 2 * 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.000163/0.6935, allocations: 100.2 kB / 0.6548 GB, free: 5.504 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 6.756e-05/0.6936, allocations: 9.375 kB / 0.6548 GB, free: 5.496 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.6936, allocations: 0 / 0.6548 GB, free: 5.496 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 1.048e-05/0.6936, allocations: 8 kB / 0.6548 GB, free: 5.488 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001505/0.6938, allocations: 1.531 kB / 0.6548 GB, free: 5.488 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002416/0.694, allocations: 63.8 kB / 0.6549 GB, free: 5.402 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003262/0.6944, allocations: 0.6889 MB / 0.6555 GB, free: 4.688 MB / 474.7 MB Notification: Performance of SimCode: time 2.2e-07/0.6944, allocations: 0 / 0.6555 GB, free: 4.688 MB / 474.7 MB (rm -f IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe ; mkfifo IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe >> ../files/IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_BoundaryConditions_WeatherData_BaseClasses_Examples_LocalCivilTime_fmu --startTime=0 --stopTime=172800 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_BoundaryConditions_WeatherData_BaseClasses_Examples_LocalCivilTime.fmu > IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe 2>&1)