Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.BoundaryConditions.SolarGeometry.Examples.ProjectedShadowLength.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.Examples.ProjectedShadowLength,fileNamePrefix="Buildings_8_0_0_Buildings_BoundaryConditions_SolarGeometry_Examples_ProjectedShadowLength",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.Examples.ProjectedShadowLength,fileNamePrefix="Buildings_8_0_0_Buildings_BoundaryConditions_SolarGeometry_Examples_ProjectedShadowLength",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.0.0/package.mo): time 2.324/2.324, allocations: 284.8 MB / 292.1 MB, free: 10.73 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.001589/0.001589, allocations: 177.3 kB / 360.3 MB, free: 7.535 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.701/1.701, allocations: 205.1 MB / 0.6187 GB, free: 13.22 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.001202/0.001201, allocations: 84.17 kB / 0.7317 GB, free: 45.14 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2443/0.2456, allocations: 121.4 MB / 0.8502 GB, free: 3.957 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5612/0.8068, allocations: 115.2 MB / 0.9627 GB, free: 78.37 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2415/1.048, allocations: 144.4 MB / 1.104 GB, free: 12.36 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003034/1.049, allocations: 81.27 kB / 1.104 GB, free: 12.28 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: 152 * Number of variables: 152 Notification: Performance of Generate backend data structure: time 0.1077/1.156, allocations: 21.41 MB / 1.125 GB, free: 6.988 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 5.055e-05/1.156, allocations: 15.94 kB / 1.125 GB, free: 6.973 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002386/1.157, allocations: 67.16 kB / 1.125 GB, free: 6.906 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02126/1.178, allocations: 5.995 MB / 1.131 GB, free: 0.918 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003457/1.178, allocations: 41.28 kB / 1.131 GB, free: 0.8789 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001369/1.179, allocations: 36 kB / 1.131 GB, free: 0.8438 MB / 0.7292 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0015/1.18, allocations: 430.5 kB / 1.131 GB, free: 432 kB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001508/1.182, allocations: 0.5273 MB / 1.132 GB, free: 15.88 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.304e-05/1.182, allocations: 7.906 kB / 1.132 GB, free: 15.87 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.683e-05/1.182, allocations: 0 / 1.132 GB, free: 15.87 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.507e-05/1.182, allocations: 12 kB / 1.132 GB, free: 15.86 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005079/1.187, allocations: 1.751 MB / 1.133 GB, free: 14.05 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007051/1.194, allocations: 0.8207 MB / 1.134 GB, free: 13.2 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007606/1.195, allocations: 266.3 kB / 1.134 GB, free: 12.93 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 9.641e-05/1.195, allocations: 27.86 kB / 1.134 GB, free: 12.91 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.021e-05/1.195, allocations: 43.62 kB / 1.135 GB, free: 12.86 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=72): time 3.537e-06/1.195, allocations: 0 / 1.135 GB, free: 12.86 MB / 0.7448 GB Notification: Performance of matching and sorting (n=72): time 0.001956/1.197, allocations: 0.5265 MB / 1.135 GB, free: 12.32 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.287e-05/1.197, allocations: 136.5 kB / 1.135 GB, free: 12.16 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005778/1.198, allocations: 294.1 kB / 1.135 GB, free: 11.86 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 7.528e-05/1.198, allocations: 25.7 kB / 1.135 GB, free: 11.83 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001448/1.198, allocations: 200.8 kB / 1.136 GB, free: 11.63 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002767/1.198, allocations: 228.5 kB / 1.136 GB, free: 11.41 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.275e-05/1.198, allocations: 0 / 1.136 GB, free: 11.41 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001815/1.198, allocations: 362.7 kB / 1.136 GB, free: 11.04 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005366/1.199, allocations: 161.3 kB / 1.136 GB, free: 10.89 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006065/1.2, allocations: 216.6 kB / 1.137 GB, free: 10.66 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007923/1.2, allocations: 201.4 kB / 1.137 GB, free: 10.47 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.669e-06/1.2, allocations: 0 / 1.137 GB, free: 10.47 MB / 0.7448 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001777/1.202, allocations: 0.5106 MB / 1.137 GB, free: 9.957 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.959e-05/1.202, allocations: 4 kB / 1.137 GB, free: 9.953 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.225e-05/1.202, allocations: 10.38 kB / 1.137 GB, free: 9.945 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.194e-05/1.202, allocations: 0 / 1.137 GB, free: 9.945 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001521/1.204, allocations: 151.8 kB / 1.137 GB, free: 9.797 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.296e-05/1.204, allocations: 4 kB / 1.137 GB, free: 9.793 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009346/1.205, allocations: 47.5 kB / 1.137 GB, free: 9.746 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.703e-05/1.205, allocations: 27.97 kB / 1.138 GB, free: 9.719 MB / 0.7448 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (72): * Single equations (assignments): 72 * 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.0002424/1.205, allocations: 108.8 kB / 1.138 GB, free: 9.605 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000228/1.205, allocations: 47.44 kB / 1.138 GB, free: 9.559 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003513/1.209, allocations: 0.9277 MB / 1.139 GB, free: 8.621 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.116e-05/1.209, allocations: 12 kB / 1.139 GB, free: 8.609 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.528e-06/1.209, allocations: 4.062 kB / 1.139 GB, free: 8.609 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.85e-05/1.209, allocations: 7.969 kB / 1.139 GB, free: 8.602 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001597/1.211, allocations: 0.6649 MB / 1.139 GB, free: 7.898 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.933e-06/1.211, allocations: 0 / 1.139 GB, free: 7.898 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001825/1.212, allocations: 199.7 kB / 1.139 GB, free: 7.703 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.697e-05/1.212, allocations: 8 kB / 1.139 GB, free: 7.695 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.894e-05/1.213, allocations: 15.98 kB / 1.139 GB, free: 7.68 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.951e-05/1.213, allocations: 13.16 kB / 1.139 GB, free: 7.668 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.697e-06/1.213, allocations: 0 / 1.139 GB, free: 7.668 MB / 0.7448 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002253/1.215, allocations: 1.045 MB / 1.14 GB, free: 6.59 MB / 0.7448 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002494/1.217, allocations: 1.436 MB / 1.142 GB, free: 5.109 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005086/1.218, allocations: 244 kB / 1.142 GB, free: 4.852 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001518/1.218, allocations: 0 / 1.142 GB, free: 4.852 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00112/1.219, allocations: 19.97 kB / 1.142 GB, free: 4.832 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002135/1.219, allocations: 67.8 kB / 1.142 GB, free: 4.766 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.686e-05/1.22, allocations: 35.98 kB / 1.142 GB, free: 4.73 MB / 0.7448 GB Notification: Performance of sort global known variables: time 0.0005636/1.22, allocations: 263.2 kB / 1.142 GB, free: 4.473 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.002501/1.223, allocations: 283.3 kB / 1.143 GB, free: 4.195 MB / 0.7448 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (112): * Single equations (assignments): 112 * 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.001517/1.224, allocations: 433 kB / 1.143 GB, free: 3.848 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.001655/1.226, allocations: 0.5182 MB / 1.144 GB, free: 3.332 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 4.198e-06/1.226, allocations: 0 / 1.144 GB, free: 3.332 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0008861/1.227, allocations: 371.5 kB / 1.144 GB, free: 2.969 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006278/1.228, allocations: 25.44 kB / 1.144 GB, free: 2.945 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003237/1.231, allocations: 0.888 MB / 1.145 GB, free: 2.016 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001274/1.232, allocations: 1.034 MB / 1.146 GB, free: 0.9531 MB / 0.7448 GB Notification: Performance of SimCode: time 1.072e-06/1.232, allocations: 0 / 1.146 GB, free: 0.9531 MB / 0.7448 GB (rm -f Buildings_8.0.0_Buildings.BoundaryConditions.SolarGeometry.Examples.ProjectedShadowLength.pipe ; mkfifo Buildings_8.0.0_Buildings.BoundaryConditions.SolarGeometry.Examples.ProjectedShadowLength.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.BoundaryConditions.SolarGeometry.Examples.ProjectedShadowLength.pipe >> ../files/Buildings_8.0.0_Buildings.BoundaryConditions.SolarGeometry.Examples.ProjectedShadowLength.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_BoundaryConditions_SolarGeometry_Examples_ProjectedShadowLength_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_BoundaryConditions_SolarGeometry_Examples_ProjectedShadowLength.fmu > Buildings_8.0.0_Buildings.BoundaryConditions.SolarGeometry.Examples.ProjectedShadowLength.pipe 2>&1)