Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.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.SolarGeometry.BaseClasses.Examples.SolarAzimuth,fileNamePrefix="Buildings_8_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarAzimuth",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth,fileNamePrefix="Buildings_8_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarAzimuth",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.419/1.419, allocations: 289.8 MB / 297.1 MB, free: 6.664 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.001054/0.001054, allocations: 177.3 kB / 366.3 MB, free: 1.988 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.15/1.15, allocations: 205.1 MB / 0.6256 GB, free: 7.445 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.00081/0.0008099, allocations: 86.89 kB / 0.7395 GB, free: 39.87 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2298/0.2306, allocations: 122.4 MB / 0.8591 GB, free: 13.49 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5468/0.7775, allocations: 116.3 MB / 0.9726 GB, free: 76.25 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.278/4.055, allocations: 2.073 GB / 3.045 GB, free: 33.38 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002648/4.056, allocations: 96.5 kB / 3.046 GB, free: 33.29 MB / 0.948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 203 * Number of variables: 203 Notification: Performance of Generate backend data structure: time 0.4607/4.516, allocations: 60.66 MB / 3.105 GB, free: 320.8 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.895e-05/4.516, allocations: 7.531 kB / 3.105 GB, free: 320.8 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008913/4.517, allocations: 194.2 kB / 3.105 GB, free: 320.8 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009511/4.518, allocations: 0.6214 MB / 3.106 GB, free: 320.5 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.662e-05/4.518, allocations: 36.84 kB / 3.106 GB, free: 320.5 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.747e-05/4.518, allocations: 46.41 kB / 3.106 GB, free: 320.5 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001268/4.52, allocations: 0.9925 MB / 3.107 GB, free: 320.5 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009947/4.521, allocations: 0.736 MB / 3.107 GB, free: 320.3 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.918e-05/4.521, allocations: 4.688 kB / 3.107 GB, free: 320.3 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.53e-05/4.521, allocations: 0 / 3.107 GB, free: 320.3 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.781e-05/4.521, allocations: 23.41 kB / 3.107 GB, free: 320.3 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003089/4.524, allocations: 2.302 MB / 3.11 GB, free: 319.4 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001398/4.525, allocations: 0.7872 MB / 3.11 GB, free: 319 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003121/4.526, allocations: 251 kB / 3.111 GB, free: 318.9 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 7.292e-05/4.526, allocations: 31.44 kB / 3.111 GB, free: 318.9 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005173/4.526, allocations: 396.9 kB / 3.111 GB, free: 318.7 MB / 0.948 GB Notification: Performance of pre-optimization done (n=76): time 2.465e-06/4.526, allocations: 1.688 kB / 3.111 GB, free: 318.7 MB / 0.948 GB Notification: Performance of matching and sorting (n=76): time 0.001962/4.528, allocations: 0.6633 MB / 3.112 GB, free: 318.5 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.982e-05/4.528, allocations: 240.7 kB / 3.112 GB, free: 318.2 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007735/4.529, allocations: 0.5049 MB / 3.112 GB, free: 317.9 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 5.211e-05/4.529, allocations: 27.39 kB / 3.112 GB, free: 317.9 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001697/4.529, allocations: 297 kB / 3.113 GB, free: 317.7 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001611/4.53, allocations: 234.6 kB / 3.113 GB, free: 317.5 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.208e-05/4.53, allocations: 0.5625 kB / 3.113 GB, free: 317.5 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001086/4.53, allocations: 382.2 kB / 3.113 GB, free: 317.2 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003175/4.53, allocations: 195.3 kB / 3.114 GB, free: 317.1 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003765/4.53, allocations: 295 kB / 3.114 GB, free: 316.9 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004057/4.531, allocations: 250.9 kB / 3.114 GB, free: 316.8 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.266e-06/4.531, allocations: 3.906 kB / 3.114 GB, free: 316.8 MB / 0.948 GB Notification: Performance of matching and sorting (n=80) (initialization): time 0.001444/4.532, allocations: 0.6717 MB / 3.115 GB, free: 316.6 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.254e-05/4.532, allocations: 5.25 kB / 3.115 GB, free: 316.6 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.642e-06/4.532, allocations: 1.062 kB / 3.115 GB, free: 316.6 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005969/4.533, allocations: 83.8 kB / 3.115 GB, free: 316.5 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006205/4.534, allocations: 151.8 kB / 3.115 GB, free: 316.5 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001616/4.535, allocations: 1.46 MB / 3.116 GB, free: 315.2 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005633/4.536, allocations: 65.62 kB / 3.116 GB, free: 315.2 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.005e-05/4.536, allocations: 34.2 kB / 3.116 GB, free: 315.2 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (78): * Single equations (assignments): 77 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.000134/4.536, allocations: 119.9 kB / 3.117 GB, free: 315.1 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001115/4.536, allocations: 71.19 kB / 3.117 GB, free: 315 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002135/4.538, allocations: 0.9873 MB / 3.118 GB, free: 314.7 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.818e-06/4.538, allocations: 10.22 kB / 3.118 GB, free: 314.7 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.956e-06/4.538, allocations: 3.797 kB / 3.118 GB, free: 314.7 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.048e-05/4.538, allocations: 5.766 kB / 3.118 GB, free: 314.7 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00261/4.541, allocations: 1.757 MB / 3.119 GB, free: 313.9 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.825e-06/4.541, allocations: 0 / 3.119 GB, free: 313.9 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000594/4.541, allocations: 164.7 kB / 3.12 GB, free: 313.9 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004892/4.542, allocations: 85.31 kB / 3.12 GB, free: 313.8 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.88e-05/4.542, allocations: 20.06 kB / 3.12 GB, free: 313.8 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001429/4.543, allocations: 1.481 MB / 3.121 GB, free: 312.5 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/4.543, allocations: 0 / 3.121 GB, free: 312.5 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001388/4.545, allocations: 0.8635 MB / 3.122 GB, free: 312.1 MB / 0.948 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0015/4.546, allocations: 1.259 MB / 3.123 GB, free: 311.3 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000318/4.547, allocations: 289.7 kB / 3.123 GB, free: 311.1 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001212/4.547, allocations: 10.94 kB / 3.123 GB, free: 311.1 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006095/4.547, allocations: 60.38 kB / 3.123 GB, free: 311.1 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001029/4.548, allocations: 53.62 kB / 3.124 GB, free: 311.1 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.256e-05/4.548, allocations: 37.44 kB / 3.124 GB, free: 311.1 MB / 0.948 GB Notification: Performance of sort global known variables: time 0.0004199/4.548, allocations: 417.6 kB / 3.124 GB, free: 310.9 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.001629/4.55, allocations: 398.4 kB / 3.124 GB, free: 310.7 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTim.tNext,weaDat.conTimMin.tNext) * Top-level inputs: 0 Notification: Strong component statistics for simulation (93): * Single equations (assignments): 90 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.001457/4.551, allocations: 1.022 MB / 3.125 GB, free: 310.4 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.001138/4.552, allocations: 0.6777 MB / 3.126 GB, free: 310.1 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/4.552, allocations: 0 / 3.126 GB, free: 310.1 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0006483/4.553, allocations: 472.5 kB / 3.126 GB, free: 309.9 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009367/4.554, allocations: 210.8 kB / 3.127 GB, free: 309.9 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003807/4.558, allocations: 1.375 MB / 3.128 GB, free: 309.4 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009495/4.559, allocations: 1.151 MB / 3.129 GB, free: 308.6 MB / 0.948 GB Notification: Performance of SimCode: time 7.82e-07/4.559, allocations: 0 / 3.129 GB, free: 308.6 MB / 0.948 GB (rm -f Buildings_8_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe ; mkfifo Buildings_8_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe ; head -c 1048576 < Buildings_8_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe >> ../files/Buildings_8_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarAzimuth_fmu --startTime=0 --stopTime=864000 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarAzimuth.fmu > Buildings_8_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe 2>&1)