Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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_dev_IDEAS_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarAzimuth",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth,fileNamePrefix="IDEAS_dev_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.003048/0.003048, allocations: 184.3 kB / 7.462 MB, free: 2.5 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.699/0.699, allocations: 133.5 MB / 141.4 MB, free: 15.64 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.569/1.569, allocations: 221.3 MB / 395 MB, free: 10.17 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001031/0.001031, allocations: 88.53 kB / 477.8 MB, free: 10.8 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.4833/0.4844, allocations: 88.44 MB / 0.5529 GB, free: 89.13 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2004/0.6848, allocations: 82.3 MB / 0.6333 GB, free: 14 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.901/5.585, allocations: 1.694 GB / 2.327 GB, free: 259 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003294/5.586, allocations: 96.36 kB / 2.327 GB, free: 259 MB / 0.6823 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.1469/5.733, allocations: 61.78 MB / 2.387 GB, free: 211.1 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.334e-05/5.733, allocations: 12 kB / 2.387 GB, free: 211.1 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000922/5.734, allocations: 202.5 kB / 2.388 GB, free: 210.9 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009613/5.735, allocations: 0.6153 MB / 2.388 GB, free: 210.3 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.674e-05/5.735, allocations: 32 kB / 2.388 GB, free: 210.2 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.578e-05/5.735, allocations: 48 kB / 2.388 GB, free: 210.2 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001359/5.736, allocations: 1.011 MB / 2.389 GB, free: 209.2 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001097/5.737, allocations: 0.7467 MB / 2.39 GB, free: 208.4 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.249e-05/5.737, allocations: 0 / 2.39 GB, free: 208.4 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.423e-05/5.737, allocations: 11.97 kB / 2.39 GB, free: 208.4 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.989e-05/5.737, allocations: 23.94 kB / 2.39 GB, free: 208.3 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003447/5.741, allocations: 2.414 MB / 2.392 GB, free: 205.9 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001494/5.742, allocations: 0.7923 MB / 2.393 GB, free: 205 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003336/5.743, allocations: 254.8 kB / 2.393 GB, free: 204.8 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 8.164e-05/5.743, allocations: 32.61 kB / 2.393 GB, free: 204.8 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005096/5.743, allocations: 398 kB / 2.394 GB, free: 204.4 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=76): time 2.755e-06/5.743, allocations: 0 / 2.394 GB, free: 204.4 MB / 0.6823 GB Notification: Performance of matching and sorting (n=76): time 0.001642/5.745, allocations: 0.6599 MB / 2.394 GB, free: 203.7 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.701e-05/5.745, allocations: 244 kB / 2.395 GB, free: 203.4 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006312/5.746, allocations: 0.5023 MB / 2.395 GB, free: 202.9 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 5.875e-05/5.746, allocations: 29.64 kB / 2.395 GB, free: 202.9 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001669/5.746, allocations: 304.2 kB / 2.396 GB, free: 202.5 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001441/5.746, allocations: 240.3 kB / 2.396 GB, free: 202.3 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.264e-05/5.746, allocations: 0 / 2.396 GB, free: 202.3 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001218/5.746, allocations: 378.8 kB / 2.396 GB, free: 201.9 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002887/5.747, allocations: 197.3 kB / 2.396 GB, free: 201.7 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003519/5.747, allocations: 298.4 kB / 2.397 GB, free: 201.4 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004168/5.747, allocations: 255.1 kB / 2.397 GB, free: 201.2 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.767e-06/5.747, allocations: 0 / 2.397 GB, free: 201.2 MB / 0.6823 GB Notification: Performance of matching and sorting (n=81) (initialization): time 0.001492/5.749, allocations: 0.6794 MB / 2.398 GB, free: 200.5 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.39e-05/5.749, allocations: 4 kB / 2.398 GB, free: 200.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.207e-06/5.749, allocations: 0 / 2.398 GB, free: 200.5 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006542/5.75, allocations: 80.83 kB / 2.398 GB, free: 200.4 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000632/5.75, allocations: 151.8 kB / 2.398 GB, free: 200.2 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001744/5.752, allocations: 1.445 MB / 2.399 GB, free: 198.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006668/5.753, allocations: 71.44 kB / 2.399 GB, free: 198.6 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.207e-05/5.753, allocations: 40.03 kB / 2.399 GB, free: 198.6 MB / 0.6823 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.0001777/5.753, allocations: 122.9 kB / 2.399 GB, free: 198.4 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001194/5.753, allocations: 75.06 kB / 2.399 GB, free: 198.4 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002045/5.755, allocations: 0.9799 MB / 2.4 GB, free: 197.4 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.126e-06/5.755, allocations: 15.94 kB / 2.4 GB, free: 197.4 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.375e-06/5.755, allocations: 0 / 2.4 GB, free: 197.4 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.518e-06/5.755, allocations: 3.984 kB / 2.4 GB, free: 197.4 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002629/5.758, allocations: 1.76 MB / 2.402 GB, free: 195.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.51e-06/5.758, allocations: 0 / 2.402 GB, free: 195.5 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006064/5.758, allocations: 159.8 kB / 2.402 GB, free: 195.4 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005223/5.759, allocations: 88.7 kB / 2.402 GB, free: 195.3 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.474e-05/5.759, allocations: 19.98 kB / 2.402 GB, free: 195.3 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001572/5.761, allocations: 1.473 MB / 2.404 GB, free: 193.7 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.126e-06/5.761, allocations: 0 / 2.404 GB, free: 193.7 MB / 0.6823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001462/5.762, allocations: 0.8596 MB / 2.405 GB, free: 192.8 MB / 0.6823 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001602/5.764, allocations: 1.27 MB / 2.406 GB, free: 191.5 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004277/5.764, allocations: 279.8 kB / 2.406 GB, free: 191.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001231/5.764, allocations: 4 kB / 2.406 GB, free: 191.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006292/5.765, allocations: 59.94 kB / 2.406 GB, free: 191.2 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000132/5.765, allocations: 60.69 kB / 2.406 GB, free: 191.1 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.059e-05/5.765, allocations: 27.98 kB / 2.406 GB, free: 191.1 MB / 0.6823 GB Notification: Performance of sort global known variables: time 0.0004871/5.766, allocations: 418.8 kB / 2.407 GB, free: 190.7 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001882/5.768, allocations: 427 kB / 2.407 GB, free: 190.2 MB / 0.6823 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.001909/5.769, allocations: 1.067 MB / 2.408 GB, free: 189.3 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.001448/5.771, allocations: 0.6779 MB / 2.409 GB, free: 188.6 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 4.729e-06/5.771, allocations: 0 / 2.409 GB, free: 188.6 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0006551/5.772, allocations: 468.8 kB / 2.409 GB, free: 188.1 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0012/5.773, allocations: 211.1 kB / 2.409 GB, free: 187.9 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003761/5.777, allocations: 1.374 MB / 2.411 GB, free: 186.5 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007523/5.777, allocations: 1.147 MB / 2.412 GB, free: 185.3 MB / 0.6823 GB Notification: Performance of SimCode: time 1.172e-06/5.777, allocations: 0 / 2.412 GB, free: 185.3 MB / 0.6823 GB (rm -f IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe ; mkfifo IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe >> ../files/IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarAzimuth_fmu --startTime=0 --stopTime=864000 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarAzimuth.fmu > IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe 2>&1)