Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.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/IDEAS 3.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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth,fileNamePrefix="IDEAS_IDEAS_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarAzimuth",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth,fileNamePrefix="IDEAS_IDEAS_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/Complex 4.0.0+maint.om/package.mo): time 0.001301/0.001301, allocations: 178.8 kB / 7.456 MB, free: 1.535 MB / 6.77 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7177/0.7177, allocations: 133.5 MB / 141.4 MB, free: 4.871 MB / 114.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.448/1.448, allocations: 221.4 MB / 395 MB, free: 13.8 MB / 322.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009547/0.0009546, allocations: 101.7 kB / 477.8 MB, free: 11.08 MB / 402.8 MB Notification: Performance of FrontEnd - loaded program: time 0.3849/0.3859, allocations: 88.44 MB / 0.5529 GB, free: 49.92 MB / 402.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6183/1.004, allocations: 82.3 MB / 0.6333 GB, free: 5.637 MB / 434.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.698/5.702, allocations: 1.694 GB / 2.327 GB, free: 158.6 MB / 0.6902 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003562/5.702, allocations: 94.12 kB / 2.327 GB, free: 158.6 MB / 0.6902 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 210 * Number of variables: 210 Notification: Performance of Generate backend data structure: time 0.1557/5.858, allocations: 61.79 MB / 2.387 GB, free: 104.4 MB / 0.6902 GB Notification: Performance of prepare preOptimizeDAE: time 8.565e-05/5.858, allocations: 8 kB / 2.387 GB, free: 104.4 MB / 0.6902 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001217/5.859, allocations: 198.5 kB / 2.388 GB, free: 104.2 MB / 0.6902 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001454/5.861, allocations: 0.6192 MB / 2.388 GB, free: 103.6 MB / 0.6902 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.674e-05/5.861, allocations: 28 kB / 2.388 GB, free: 103.5 MB / 0.6902 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001021/5.861, allocations: 48 kB / 2.388 GB, free: 103.5 MB / 0.6902 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001699/5.863, allocations: 1.022 MB / 2.389 GB, free: 102.5 MB / 0.6902 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001241/5.864, allocations: 0.7467 MB / 2.39 GB, free: 101.7 MB / 0.6902 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.419e-05/5.864, allocations: 11.88 kB / 2.39 GB, free: 101.7 MB / 0.6902 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.274e-05/5.864, allocations: 0 / 2.39 GB, free: 101.7 MB / 0.6902 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.144e-05/5.864, allocations: 20 kB / 2.39 GB, free: 101.6 MB / 0.6902 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00462/5.869, allocations: 2.426 MB / 2.392 GB, free: 99.16 MB / 0.6902 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001714/5.871, allocations: 0.7884 MB / 2.393 GB, free: 98.34 MB / 0.6902 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003966/5.871, allocations: 250.7 kB / 2.393 GB, free: 98.09 MB / 0.6902 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001072/5.871, allocations: 36.67 kB / 2.393 GB, free: 98.05 MB / 0.6902 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005909/5.872, allocations: 382.1 kB / 2.394 GB, free: 97.66 MB / 0.6902 GB Notification: Performance of pre-optimization done (n=76): time 4.999e-06/5.872, allocations: 0 / 2.394 GB, free: 97.66 MB / 0.6902 GB Notification: Performance of matching and sorting (n=76): time 0.001874/5.874, allocations: 0.6677 MB / 2.394 GB, free: 96.98 MB / 0.6902 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.01e-05/5.874, allocations: 248 kB / 2.395 GB, free: 96.69 MB / 0.6902 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007/5.874, allocations: 0.4945 MB / 2.395 GB, free: 96.19 MB / 0.6902 GB Notification: Performance of collectPreVariables (initialization): time 7.382e-05/5.874, allocations: 33.64 kB / 2.395 GB, free: 96.15 MB / 0.6902 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002764/5.875, allocations: 308.2 kB / 2.396 GB, free: 95.84 MB / 0.6902 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002113/5.875, allocations: 236.3 kB / 2.396 GB, free: 95.61 MB / 0.6902 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.182e-05/5.875, allocations: 0 / 2.396 GB, free: 95.61 MB / 0.6902 GB Notification: Performance of setup shared object (initialization): time 0.0001753/5.875, allocations: 378.8 kB / 2.396 GB, free: 95.23 MB / 0.6902 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003194/5.876, allocations: 201.2 kB / 2.396 GB, free: 95.03 MB / 0.6902 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004697/5.876, allocations: 306.4 kB / 2.397 GB, free: 94.7 MB / 0.6902 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004329/5.876, allocations: 243 kB / 2.397 GB, free: 94.46 MB / 0.6902 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.118e-06/5.876, allocations: 4 kB / 2.397 GB, free: 94.46 MB / 0.6902 GB Notification: Performance of matching and sorting (n=81) (initialization): time 0.001484/5.878, allocations: 0.6756 MB / 2.398 GB, free: 93.77 MB / 0.6902 GB Notification: Performance of prepare postOptimizeDAE: time 2.111e-05/5.878, allocations: 7.125 kB / 2.398 GB, free: 93.77 MB / 0.6902 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.598e-06/5.878, allocations: 0 / 2.398 GB, free: 93.77 MB / 0.6902 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006609/5.879, allocations: 84.84 kB / 2.398 GB, free: 93.68 MB / 0.6902 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006514/5.879, allocations: 143.8 kB / 2.398 GB, free: 93.54 MB / 0.6902 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001967/5.881, allocations: 1.453 MB / 2.399 GB, free: 91.96 MB / 0.6902 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000726/5.882, allocations: 75.5 kB / 2.399 GB, free: 91.89 MB / 0.6902 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.478e-05/5.882, allocations: 27.98 kB / 2.399 GB, free: 91.86 MB / 0.6902 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext,solAzi.outsidePolarCircle) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (79): * Single equations (assignments): 78 * 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.0001888/5.882, allocations: 121 kB / 2.399 GB, free: 91.73 MB / 0.6902 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001184/5.882, allocations: 75.06 kB / 2.399 GB, free: 91.66 MB / 0.6902 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002251/5.885, allocations: 0.9798 MB / 2.4 GB, free: 90.67 MB / 0.6902 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.039e-05/5.885, allocations: 12 kB / 2.4 GB, free: 90.66 MB / 0.6902 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.026e-06/5.885, allocations: 0 / 2.4 GB, free: 90.66 MB / 0.6902 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.272e-05/5.885, allocations: 7.984 kB / 2.4 GB, free: 90.65 MB / 0.6902 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00338/5.888, allocations: 1.752 MB / 2.402 GB, free: 88.85 MB / 0.6902 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.986e-06/5.888, allocations: 8 kB / 2.402 GB, free: 88.84 MB / 0.6902 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006569/5.889, allocations: 163.7 kB / 2.402 GB, free: 88.68 MB / 0.6902 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005509/5.889, allocations: 80.78 kB / 2.402 GB, free: 88.6 MB / 0.6902 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.75e-05/5.889, allocations: 15.98 kB / 2.402 GB, free: 88.59 MB / 0.6902 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002109/5.892, allocations: 1.484 MB / 2.404 GB, free: 86.98 MB / 0.6902 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.749e-06/5.892, allocations: 0 / 2.404 GB, free: 86.98 MB / 0.6902 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00175/5.893, allocations: 0.8518 MB / 2.405 GB, free: 86.11 MB / 0.6902 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.00213/5.896, allocations: 1.278 MB / 2.406 GB, free: 84.81 MB / 0.6902 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006101/5.896, allocations: 287.8 kB / 2.406 GB, free: 84.51 MB / 0.6902 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001714/5.896, allocations: 0 / 2.406 GB, free: 84.51 MB / 0.6902 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006994/5.897, allocations: 63.88 kB / 2.406 GB, free: 84.45 MB / 0.6902 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001592/5.897, allocations: 48.7 kB / 2.406 GB, free: 84.4 MB / 0.6902 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.48e-05/5.897, allocations: 35.97 kB / 2.406 GB, free: 84.36 MB / 0.6902 GB Notification: Performance of sort global known variables: time 0.0006347/5.898, allocations: 414.8 kB / 2.407 GB, free: 83.96 MB / 0.6902 GB Notification: Performance of remove unused functions: time 0.002603/5.901, allocations: 438.9 kB / 2.407 GB, free: 83.53 MB / 0.6902 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.002611/5.903, allocations: 1.055 MB / 2.408 GB, free: 82.57 MB / 0.6902 GB Notification: Performance of simCode: created initialization part: time 0.001515/5.905, allocations: 0.6742 MB / 2.409 GB, free: 81.89 MB / 0.6902 GB Notification: Performance of simCode: created event and clocks part: time 4.909e-06/5.905, allocations: 0 / 2.409 GB, free: 81.89 MB / 0.6902 GB Notification: Performance of simCode: created simulation system equations: time 0.0007434/5.905, allocations: 468.6 kB / 2.409 GB, free: 81.42 MB / 0.6902 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001236/5.907, allocations: 223.6 kB / 2.409 GB, free: 81.21 MB / 0.6902 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004035/5.911, allocations: 1.374 MB / 2.411 GB, free: 79.8 MB / 0.6902 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009772/5.912, allocations: 1.143 MB / 2.412 GB, free: 78.63 MB / 0.6902 GB Notification: Performance of SimCode: time 7.61e-07/5.912, allocations: 0 / 2.412 GB, free: 78.63 MB / 0.6902 GB (rm -f IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe ; mkfifo IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe ; head -c 1048576 < IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe >> ../files/IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarAzimuth_fmu --startTime=0 --stopTime=864000 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarAzimuth.fmu > IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe 2>&1)