Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime,fileNamePrefix="Buildings_8_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_LocalCivilTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime,fileNamePrefix="Buildings_8_Buildings_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/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.426/1.426, allocations: 289.8 MB / 297.1 MB, free: 6.742 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.001117/0.001117, allocations: 185.3 kB / 366.3 MB, free: 2.027 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.118/1.118, allocations: 205.2 MB / 0.6256 GB, free: 5.871 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.0008148/0.0008147, allocations: 84.58 kB / 0.7395 GB, free: 39.7 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.1889/0.1898, allocations: 122.4 MB / 0.8591 GB, free: 13.32 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4185/0.6083, allocations: 116.3 MB / 0.9727 GB, free: 68.05 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1356/0.7439, allocations: 138.5 MB / 1.108 GB, free: 9.996 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002096/0.7442, allocations: 81.42 kB / 1.108 GB, free: 9.918 MB / 0.7136 GB 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.001807/0.746, allocations: 0.7095 MB / 1.109 GB, free: 9.176 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.861e-05/0.746, allocations: 8 kB / 1.109 GB, free: 9.168 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.086e-05/0.7461, allocations: 13.61 kB / 1.109 GB, free: 9.156 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001372/0.7462, allocations: 168.6 kB / 1.109 GB, free: 8.953 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.829e-06/0.7462, allocations: 0.6562 kB / 1.109 GB, free: 8.953 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.424e-06/0.7462, allocations: 4 kB / 1.109 GB, free: 8.949 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 3.891e-05/0.7463, allocations: 8.625 kB / 1.109 GB, free: 8.941 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.425e-05/0.7463, allocations: 26.52 kB / 1.109 GB, free: 8.91 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.241e-05/0.7464, allocations: 3.984 kB / 1.109 GB, free: 8.906 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.742e-06/0.7464, allocations: 4.625 kB / 1.109 GB, free: 8.902 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.02e-06/0.7464, allocations: 3.906 kB / 1.109 GB, free: 8.898 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002255/0.7466, allocations: 219 kB / 1.109 GB, free: 8.648 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 3.757e-05/0.7467, allocations: 26.58 kB / 1.109 GB, free: 8.613 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.398e-05/0.7467, allocations: 12.92 kB / 1.109 GB, free: 8.598 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 8.536e-06/0.7467, allocations: 3.938 kB / 1.109 GB, free: 8.594 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.45e-05/0.7467, allocations: 31.12 kB / 1.109 GB, free: 8.555 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=2): time 1.042e-06/0.7467, allocations: 0 / 1.109 GB, free: 8.555 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2): time 0.0001059/0.7468, allocations: 41.64 kB / 1.109 GB, free: 8.508 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.372e-05/0.7469, allocations: 55.44 kB / 1.109 GB, free: 8.441 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.661e-05/0.7469, allocations: 93 kB / 1.109 GB, free: 8.344 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.095e-05/0.747, allocations: 27.67 kB / 1.109 GB, free: 8.312 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 2.785e-05/0.747, allocations: 80.14 kB / 1.109 GB, free: 8.23 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.381e-05/0.747, allocations: 7.906 kB / 1.109 GB, free: 8.223 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.034e-06/0.747, allocations: 0 / 1.109 GB, free: 8.223 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 9.656e-05/0.7471, allocations: 318.8 kB / 1.11 GB, free: 7.902 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.063e-06/0.7471, allocations: 0 / 1.11 GB, free: 7.902 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.703e-06/0.7471, allocations: 4 kB / 1.11 GB, free: 7.898 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.016e-05/0.7472, allocations: 4.062 kB / 1.11 GB, free: 7.895 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.222e-06/0.7472, allocations: 0 / 1.11 GB, free: 7.895 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.434e-05/0.7472, allocations: 45.55 kB / 1.11 GB, free: 7.844 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 9.347e-06/0.7472, allocations: 8 kB / 1.11 GB, free: 7.836 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.586e-06/0.7472, allocations: 0 / 1.11 GB, free: 7.836 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.017e-05/0.7473, allocations: 0 / 1.11 GB, free: 7.836 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.264e-05/0.7473, allocations: 4 kB / 1.11 GB, free: 7.832 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.584e-06/0.7473, allocations: 0 / 1.11 GB, free: 7.832 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.834e-05/0.7473, allocations: 1.062 kB / 1.11 GB, free: 7.832 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.739e-06/0.7474, allocations: 11.95 kB / 1.11 GB, free: 7.82 MB / 0.7136 GB 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 5.221e-05/0.7474, allocations: 101 kB / 1.11 GB, free: 7.715 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.38e-05/0.7474, allocations: 3.906 kB / 1.11 GB, free: 7.711 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.83e-05/0.7475, allocations: 7.312 kB / 1.11 GB, free: 7.699 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.052e-06/0.7475, allocations: 0 / 1.11 GB, free: 7.699 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.106e-06/0.7475, allocations: 1.219 kB / 1.11 GB, free: 7.699 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.164e-06/0.7475, allocations: 0 / 1.11 GB, free: 7.699 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001054/0.7476, allocations: 134.2 kB / 1.11 GB, free: 7.531 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-06/0.7476, allocations: 1.188 kB / 1.11 GB, free: 7.531 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.683e-05/0.7476, allocations: 4 kB / 1.11 GB, free: 7.527 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.585e-06/0.7476, allocations: 7.906 kB / 1.11 GB, free: 7.52 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.1e-06/0.7476, allocations: 0 / 1.11 GB, free: 7.52 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.42e-07/0.7476, allocations: 0 / 1.11 GB, free: 7.52 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.166e-06/0.7477, allocations: 0 / 1.11 GB, free: 7.52 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 8.038e-05/0.7477, allocations: 135.5 kB / 1.11 GB, free: 7.371 MB / 0.7136 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0001609/0.7479, allocations: 0.5077 MB / 1.111 GB, free: 6.844 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 2.799e-05/0.7479, allocations: 77.11 kB / 1.111 GB, free: 6.75 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.521e-05/0.748, allocations: 5.219 kB / 1.111 GB, free: 6.746 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.44e-05/0.748, allocations: 0.5625 kB / 1.111 GB, free: 6.746 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.969e-06/0.748, allocations: 0 / 1.111 GB, free: 6.746 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.372e-06/0.748, allocations: 0 / 1.111 GB, free: 6.746 MB / 0.7136 GB Notification: Performance of sort global known variables: time 2.981e-05/0.7481, allocations: 85.88 kB / 1.111 GB, free: 6.664 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0007237/0.7488, allocations: 4 kB / 1.111 GB, free: 6.66 MB / 0.7136 GB 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 8.228e-05/0.7489, allocations: 111.2 kB / 1.111 GB, free: 6.539 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 5.319e-05/0.7489, allocations: 4.562 kB / 1.111 GB, free: 6.535 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.212e-06/0.749, allocations: 0 / 1.111 GB, free: 6.535 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 8.846e-06/0.749, allocations: 8 kB / 1.111 GB, free: 6.527 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001115/0.7491, allocations: 2.625 kB / 1.111 GB, free: 6.527 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001458/0.7492, allocations: 51.84 kB / 1.111 GB, free: 6.453 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002273/0.7495, allocations: 0.692 MB / 1.112 GB, free: 5.734 MB / 0.7136 GB Notification: Performance of SimCode: time 2.41e-07/0.7495, allocations: 0 / 1.112 GB, free: 5.734 MB / 0.7136 GB (rm -f Buildings_8_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe ; mkfifo Buildings_8_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe ; head -c 1048576 < Buildings_8_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe >> ../files/Buildings_8_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_LocalCivilTime_fmu --startTime=0 --stopTime=172800 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_LocalCivilTime.fmu > Buildings_8_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe 2>&1)