Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.BoundaryConditions.SolarGeometry.Examples.ProjectedShadowLength.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo", uses=false) 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/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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.Examples.ProjectedShadowLength,fileNamePrefix="Buildings_9_Buildings_BoundaryConditions_SolarGeometry_Examples_ProjectedShadowLength",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.Examples.ProjectedShadowLength,fileNamePrefix="Buildings_9_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 9.1.1-maint.9.1.x/package.mo): time 1.844/1.844, allocations: 387.2 MB / 394.5 MB, free: 13.64 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001601/0.001601, allocations: 181.3 kB / 487 MB, free: 5.336 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.173/1.173, allocations: 221.3 MB / 0.7819 GB, free: 1.32 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009242/0.0009242, allocations: 96.56 kB / 0.9213 GB, free: 2.562 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.4548/0.4557, allocations: 148.4 MB / 1.066 GB, free: 168.1 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2054/0.6611, allocations: 142.3 MB / 1.205 GB, free: 26.11 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5763/1.237, allocations: 155.6 MB / 1.357 GB, free: 16.06 MB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002358/1.238, allocations: 83.33 kB / 1.357 GB, free: 16.05 MB / 0.8073 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 164 * Number of variables: 164 Notification: Performance of Generate backend data structure: time 0.05872/1.296, allocations: 21.39 MB / 1.378 GB, free: 1.605 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 4.104e-05/1.297, allocations: 8 kB / 1.378 GB, free: 1.598 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003109/1.297, allocations: 79.03 kB / 1.378 GB, free: 1.523 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008538/1.305, allocations: 3.352 MB / 1.382 GB, free: 15.09 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.204e-05/1.306, allocations: 20 kB / 1.382 GB, free: 15.07 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001982/1.306, allocations: 36 kB / 1.382 GB, free: 15.04 MB / 0.823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001168/1.307, allocations: 472.7 kB / 1.382 GB, free: 14.75 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009741/1.308, allocations: 0.5472 MB / 1.383 GB, free: 14.32 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.824e-05/1.308, allocations: 4 kB / 1.383 GB, free: 14.32 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.953e-05/1.308, allocations: 4 kB / 1.383 GB, free: 14.32 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.774e-05/1.308, allocations: 16 kB / 1.383 GB, free: 14.3 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003412/1.311, allocations: 1.869 MB / 1.384 GB, free: 12.83 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003171/1.315, allocations: 0.8062 MB / 1.385 GB, free: 12.19 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003637/1.315, allocations: 259.8 kB / 1.386 GB, free: 12.02 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 5.957e-05/1.315, allocations: 34.92 kB / 1.386 GB, free: 11.99 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.255e-05/1.315, allocations: 40.25 kB / 1.386 GB, free: 11.95 MB / 0.823 GB Notification: Performance of pre-optimization done (n=72): time 2.735e-06/1.315, allocations: 0 / 1.386 GB, free: 11.95 MB / 0.823 GB Notification: Performance of matching and sorting (n=72): time 0.001057/1.316, allocations: 0.5059 MB / 1.386 GB, free: 11.57 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.278e-05/1.316, allocations: 144.4 kB / 1.386 GB, free: 11.4 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002862/1.317, allocations: 269.4 kB / 1.386 GB, free: 11.18 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 4.256e-05/1.317, allocations: 25.7 kB / 1.386 GB, free: 11.15 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 9.558e-05/1.317, allocations: 213.9 kB / 1.387 GB, free: 10.95 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001551/1.317, allocations: 232.1 kB / 1.387 GB, free: 10.75 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.051e-05/1.317, allocations: 4 kB / 1.387 GB, free: 10.75 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.000106/1.317, allocations: 351.8 kB / 1.387 GB, free: 10.41 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002603/1.317, allocations: 171.8 kB / 1.387 GB, free: 10.31 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002875/1.318, allocations: 220.7 kB / 1.388 GB, free: 10.16 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004157/1.318, allocations: 198.2 kB / 1.388 GB, free: 10.04 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.839e-06/1.318, allocations: 3.906 kB / 1.388 GB, free: 10.04 MB / 0.823 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.0009329/1.319, allocations: 0.5211 MB / 1.388 GB, free: 9.645 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.538e-05/1.319, allocations: 4 kB / 1.388 GB, free: 9.641 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.612e-06/1.319, allocations: 0 / 1.388 GB, free: 9.641 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.457e-05/1.319, allocations: 4 kB / 1.388 GB, free: 9.637 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007043/1.32, allocations: 139.6 kB / 1.388 GB, free: 9.504 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.13e-05/1.32, allocations: 4 kB / 1.388 GB, free: 9.5 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000553/1.32, allocations: 59.41 kB / 1.389 GB, free: 9.441 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.68e-05/1.32, allocations: 30.34 kB / 1.389 GB, free: 9.418 MB / 0.823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 4 (proShaLenNor.solAzi.outsidePolarCircle,proShaLenWes.solAzi.outsidePolarCircle,proShaLenSou.solAzi.outsidePolarCircle,proShaLenEas.solAzi.outsidePolarCircle) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (76): * Single equations (assignments): 76 * 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.0001221/1.32, allocations: 116.8 kB / 1.389 GB, free: 9.297 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001478/1.321, allocations: 43.44 kB / 1.389 GB, free: 9.254 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001784/1.322, allocations: 0.9062 MB / 1.39 GB, free: 8.566 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.398e-05/1.322, allocations: 12 kB / 1.39 GB, free: 8.555 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.957e-06/1.322, allocations: 4 kB / 1.39 GB, free: 8.551 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.052e-05/1.322, allocations: 3.984 kB / 1.39 GB, free: 8.547 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008639/1.323, allocations: 0.6393 MB / 1.39 GB, free: 8.055 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.757e-06/1.323, allocations: 0 / 1.39 GB, free: 8.055 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008621/1.324, allocations: 193.7 kB / 1.39 GB, free: 7.875 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.467e-05/1.324, allocations: 7.984 kB / 1.39 GB, free: 7.867 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.172e-05/1.324, allocations: 15.36 kB / 1.39 GB, free: 7.855 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.35e-06/1.324, allocations: 7.938 kB / 1.39 GB, free: 7.848 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.758e-06/1.324, allocations: 7.906 kB / 1.39 GB, free: 7.84 MB / 0.823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001182/1.326, allocations: 1.038 MB / 1.391 GB, free: 6.945 MB / 0.823 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001259/1.327, allocations: 1.423 MB / 1.393 GB, free: 5.676 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002653/1.327, allocations: 231.5 kB / 1.393 GB, free: 5.469 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.993e-05/1.327, allocations: 4 kB / 1.393 GB, free: 5.465 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005186/1.328, allocations: 11.98 kB / 1.393 GB, free: 5.453 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.604e-05/1.328, allocations: 63.05 kB / 1.393 GB, free: 5.398 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.66e-05/1.328, allocations: 34.11 kB / 1.393 GB, free: 5.371 MB / 0.823 GB Notification: Performance of sort global known variables: time 0.0002189/1.328, allocations: 231.9 kB / 1.393 GB, free: 5.191 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.001393/1.329, allocations: 217.5 kB / 1.394 GB, free: 4.992 MB / 0.823 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.0006557/1.33, allocations: 298.9 kB / 1.394 GB, free: 4.738 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.0007824/1.331, allocations: 0.5255 MB / 1.394 GB, free: 4.375 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/1.331, allocations: 0 / 1.394 GB, free: 4.375 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.0004368/1.331, allocations: 373.6 kB / 1.395 GB, free: 4.109 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003334/1.332, allocations: 21.25 kB / 1.395 GB, free: 4.102 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001788/1.334, allocations: 0.8694 MB / 1.396 GB, free: 3.332 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007059/1.334, allocations: 1.034 MB / 1.397 GB, free: 2.285 MB / 0.823 GB Notification: Performance of SimCode: time 2.4e-07/1.334, allocations: 0 / 1.397 GB, free: 2.285 MB / 0.823 GB (rm -f Buildings_9_Buildings.BoundaryConditions.SolarGeometry.Examples.ProjectedShadowLength.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.SolarGeometry.Examples.ProjectedShadowLength.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.SolarGeometry.Examples.ProjectedShadowLength.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.SolarGeometry.Examples.ProjectedShadowLength.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.BoundaryConditions.SolarGeometry.Examples.ProjectedShadowLength_res.mat --tempDir=temp_Buildings_9_Buildings_BoundaryConditions_SolarGeometry_Examples_ProjectedShadowLength_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_BoundaryConditions_SolarGeometry_Examples_ProjectedShadowLength.fmu > Buildings_9_Buildings.BoundaryConditions.SolarGeometry.Examples.ProjectedShadowLength.pipe 2>&1)