Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.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.IncidenceAngle,fileNamePrefix="IDEAS_IDEAS_BoundaryConditions_SolarGeometry_BaseClasses_Examples_IncidenceAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle,fileNamePrefix="IDEAS_IDEAS_BoundaryConditions_SolarGeometry_BaseClasses_Examples_IncidenceAngle",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.003884/0.003884, allocations: 180.2 kB / 7.458 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.6846/0.6846, allocations: 133.5 MB / 141.4 MB, free: 15.68 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.509/1.509, allocations: 221.3 MB / 395 MB, free: 10.23 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.001114/0.001114, allocations: 109.5 kB / 477.8 MB, free: 10.83 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.4979/0.4991, allocations: 88.43 MB / 0.5529 GB, free: 89.09 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2012/0.7003, allocations: 82.3 MB / 0.6333 GB, free: 14.02 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.169/5.869, allocations: 1.694 GB / 2.327 GB, free: 258.6 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004077/5.87, allocations: 90.17 kB / 2.327 GB, free: 258.6 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: 207 * Number of variables: 207 Notification: Performance of Generate backend data structure: time 0.164/6.034, allocations: 61.34 MB / 2.387 GB, free: 210.5 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.634e-05/6.034, allocations: 8 kB / 2.387 GB, free: 210.5 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001101/6.035, allocations: 198.5 kB / 2.388 GB, free: 210.3 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001552/6.037, allocations: 0.6153 MB / 2.388 GB, free: 209.7 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.376e-05/6.037, allocations: 32 kB / 2.388 GB, free: 209.6 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.153e-05/6.037, allocations: 44 kB / 2.388 GB, free: 209.6 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001595/6.038, allocations: 1.011 MB / 2.389 GB, free: 208.6 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001348/6.04, allocations: 0.7428 MB / 2.39 GB, free: 207.8 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.696e-05/6.04, allocations: 3.938 kB / 2.39 GB, free: 207.8 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.073e-05/6.04, allocations: 3.906 kB / 2.39 GB, free: 207.8 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.22e-05/6.04, allocations: 20 kB / 2.39 GB, free: 207.8 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005413/6.045, allocations: 2.478 MB / 2.392 GB, free: 205.2 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001142/6.047, allocations: 0.6533 MB / 2.393 GB, free: 204.6 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003851/6.047, allocations: 258.7 kB / 2.393 GB, free: 204.3 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001018/6.047, allocations: 32.61 kB / 2.393 GB, free: 204.3 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006019/6.048, allocations: 398.1 kB / 2.394 GB, free: 203.9 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=76): time 4.739e-06/6.048, allocations: 4 kB / 2.394 GB, free: 203.9 MB / 0.6823 GB Notification: Performance of matching and sorting (n=76): time 0.001843/6.05, allocations: 0.656 MB / 2.394 GB, free: 203.2 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.8e-05/6.05, allocations: 240 kB / 2.395 GB, free: 202.9 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007569/6.05, allocations: 0.5023 MB / 2.395 GB, free: 202.4 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 7.686e-05/6.051, allocations: 29.7 kB / 2.395 GB, free: 202.4 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002465/6.051, allocations: 308.1 kB / 2.395 GB, free: 202.1 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002168/6.051, allocations: 232.4 kB / 2.396 GB, free: 201.8 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.184e-05/6.051, allocations: 0 / 2.396 GB, free: 201.8 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001255/6.051, allocations: 382.7 kB / 2.396 GB, free: 201.4 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002946/6.052, allocations: 197.3 kB / 2.396 GB, free: 201.2 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003712/6.052, allocations: 310.3 kB / 2.396 GB, free: 200.9 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004184/6.052, allocations: 251.1 kB / 2.397 GB, free: 200.7 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.626e-06/6.052, allocations: 0 / 2.397 GB, free: 200.7 MB / 0.6823 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001476/6.054, allocations: 0.6756 MB / 2.397 GB, free: 200 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.097e-05/6.054, allocations: 4 kB / 2.397 GB, free: 200 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.738e-06/6.054, allocations: 0 / 2.397 GB, free: 200 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006638/6.055, allocations: 92.81 kB / 2.397 GB, free: 199.9 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006926/6.055, allocations: 151.8 kB / 2.398 GB, free: 199.7 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00229/6.058, allocations: 1.449 MB / 2.399 GB, free: 198.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009006/6.058, allocations: 71.44 kB / 2.399 GB, free: 198.1 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.247e-05/6.059, allocations: 32.05 kB / 2.399 GB, free: 198.1 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: 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 (80): * Single equations (assignments): 79 * 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.0002553/6.059, allocations: 120.8 kB / 2.399 GB, free: 197.9 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000167/6.059, allocations: 71.06 kB / 2.399 GB, free: 197.9 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002509/6.062, allocations: 0.9605 MB / 2.4 GB, free: 196.9 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.965e-06/6.062, allocations: 8 kB / 2.4 GB, free: 196.9 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.594e-06/6.062, allocations: 0 / 2.4 GB, free: 196.9 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.848e-06/6.062, allocations: 3.984 kB / 2.4 GB, free: 196.9 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003033/6.065, allocations: 1.716 MB / 2.402 GB, free: 195.1 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.689e-06/6.065, allocations: 0 / 2.402 GB, free: 195.1 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006639/6.065, allocations: 155.8 kB / 2.402 GB, free: 195 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005558/6.066, allocations: 88.67 kB / 2.402 GB, free: 194.9 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.594e-05/6.066, allocations: 15.98 kB / 2.402 GB, free: 194.9 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001724/6.068, allocations: 1.48 MB / 2.404 GB, free: 193.3 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.358e-06/6.068, allocations: 0 / 2.404 GB, free: 193.3 MB / 0.6823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001762/6.069, allocations: 0.8322 MB / 2.404 GB, free: 192.4 MB / 0.6823 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001687/6.071, allocations: 1.247 MB / 2.406 GB, free: 191.1 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004354/6.072, allocations: 283.7 kB / 2.406 GB, free: 190.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001301/6.072, allocations: 4 kB / 2.406 GB, free: 190.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006403/6.072, allocations: 51.95 kB / 2.406 GB, free: 190.8 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001266/6.073, allocations: 60.69 kB / 2.406 GB, free: 190.7 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.031e-05/6.073, allocations: 27.98 kB / 2.406 GB, free: 190.7 MB / 0.6823 GB Notification: Performance of sort global known variables: time 0.000549/6.073, allocations: 418.9 kB / 2.406 GB, free: 190.3 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.00199/6.075, allocations: 411 kB / 2.407 GB, free: 189.9 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 (87): * Single equations (assignments): 84 * 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.00185/6.077, allocations: 1.055 MB / 2.408 GB, free: 188.9 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.001431/6.078, allocations: 0.6665 MB / 2.408 GB, free: 188.2 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 6.081e-06/6.078, allocations: 4 kB / 2.408 GB, free: 188.2 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0006694/6.079, allocations: 456.4 kB / 2.409 GB, free: 187.8 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001272/6.08, allocations: 211.7 kB / 2.409 GB, free: 187.6 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004006/6.084, allocations: 1.351 MB / 2.41 GB, free: 186.2 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008209/6.085, allocations: 1.142 MB / 2.412 GB, free: 185 MB / 0.6823 GB Notification: Performance of SimCode: time 8.61e-07/6.085, allocations: 0 / 2.412 GB, free: 185 MB / 0.6823 GB (rm -f IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe ; mkfifo IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe ; head -c 1048576 < IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe >> ../files/IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_BoundaryConditions_SolarGeometry_BaseClasses_Examples_IncidenceAngle_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_BoundaryConditions_SolarGeometry_BaseClasses_Examples_IncidenceAngle.fmu > IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe 2>&1)