Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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_dev_IDEAS_BoundaryConditions_SolarGeometry_BaseClasses_Examples_IncidenceAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle,fileNamePrefix="IDEAS_dev_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.003991/0.003992, allocations: 180.5 kB / 7.459 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.6895/0.6895, 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.458/1.458, allocations: 221.3 MB / 395 MB, free: 10.21 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.0009384/0.0009385, allocations: 89.55 kB / 477.8 MB, free: 10.82 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.4813/0.4823, allocations: 88.44 MB / 0.5529 GB, free: 89.22 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1873/0.6696, allocations: 82.3 MB / 0.6333 GB, free: 14.02 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.858/5.528, allocations: 1.694 GB / 2.327 GB, free: 258.7 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000307/5.528, allocations: 97.05 kB / 2.327 GB, free: 258.7 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.1558/5.684, allocations: 61.33 MB / 2.387 GB, free: 210.4 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 6.674e-05/5.684, allocations: 15.98 kB / 2.387 GB, free: 210.4 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001593/5.685, allocations: 202.5 kB / 2.388 GB, free: 210.2 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001747/5.687, allocations: 0.6192 MB / 2.388 GB, free: 209.5 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.763e-05/5.687, allocations: 24 kB / 2.388 GB, free: 209.5 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000177/5.688, allocations: 48 kB / 2.388 GB, free: 209.4 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001836/5.689, allocations: 1.011 MB / 2.389 GB, free: 208.4 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001577/5.691, allocations: 0.7388 MB / 2.39 GB, free: 207.7 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.288e-05/5.691, allocations: 0 / 2.39 GB, free: 207.7 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001107/5.691, allocations: 11.89 kB / 2.39 GB, free: 207.6 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.661e-05/5.691, allocations: 23.94 kB / 2.39 GB, free: 207.6 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004887/5.696, allocations: 2.474 MB / 2.392 GB, free: 205.1 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009834/5.697, allocations: 0.6611 MB / 2.393 GB, free: 204.4 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000331/5.697, allocations: 246.8 kB / 2.393 GB, free: 204.1 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 8.468e-05/5.698, allocations: 36.59 kB / 2.393 GB, free: 204.1 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005176/5.698, allocations: 390.1 kB / 2.394 GB, free: 203.7 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=76): time 3.186e-06/5.698, allocations: 0 / 2.394 GB, free: 203.7 MB / 0.6823 GB Notification: Performance of matching and sorting (n=76): time 0.001645/5.7, allocations: 0.6599 MB / 2.394 GB, free: 203 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.697e-05/5.7, allocations: 240 kB / 2.395 GB, free: 202.8 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007104/5.701, allocations: 0.5062 MB / 2.395 GB, free: 202.2 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0001062/5.701, allocations: 25.7 kB / 2.395 GB, free: 202.2 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001976/5.701, allocations: 308.1 kB / 2.395 GB, free: 201.9 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001502/5.701, allocations: 240.4 kB / 2.396 GB, free: 201.7 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.17e-05/5.701, allocations: 0 / 2.396 GB, free: 201.7 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001165/5.701, allocations: 378.7 kB / 2.396 GB, free: 201.3 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002836/5.701, allocations: 201.3 kB / 2.396 GB, free: 201.1 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003515/5.702, allocations: 306.4 kB / 2.396 GB, free: 200.8 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003804/5.702, allocations: 247.1 kB / 2.397 GB, free: 200.5 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.737e-06/5.702, allocations: 0 / 2.397 GB, free: 200.5 MB / 0.6823 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001461/5.704, allocations: 0.6795 MB / 2.397 GB, free: 199.8 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.176e-05/5.704, allocations: 10.66 kB / 2.397 GB, free: 199.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.017e-05/5.704, allocations: 0 / 2.397 GB, free: 199.8 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006166/5.704, allocations: 76.84 kB / 2.397 GB, free: 199.7 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006424/5.705, allocations: 151.8 kB / 2.398 GB, free: 199.6 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001755/5.707, allocations: 1.461 MB / 2.399 GB, free: 198 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007481/5.708, allocations: 67.52 kB / 2.399 GB, free: 197.9 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.6e-05/5.708, allocations: 31.98 kB / 2.399 GB, free: 197.9 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.000224/5.708, allocations: 120.8 kB / 2.399 GB, free: 197.8 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001322/5.708, allocations: 75.06 kB / 2.399 GB, free: 197.7 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002128/5.71, allocations: 0.9566 MB / 2.4 GB, free: 196.7 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.075e-06/5.71, allocations: 8 kB / 2.4 GB, free: 196.7 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.017e-06/5.71, allocations: 4 kB / 2.4 GB, free: 196.7 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.688e-06/5.71, allocations: 3.984 kB / 2.4 GB, free: 196.7 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002718/5.713, allocations: 1.716 MB / 2.402 GB, free: 195 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.089e-06/5.713, allocations: 0 / 2.402 GB, free: 195 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006167/5.714, allocations: 155.8 kB / 2.402 GB, free: 194.8 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005209/5.714, allocations: 100.6 kB / 2.402 GB, free: 194.7 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.89e-05/5.714, allocations: 11.98 kB / 2.402 GB, free: 194.7 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001537/5.716, allocations: 1.472 MB / 2.404 GB, free: 193.1 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.797e-06/5.716, allocations: 0 / 2.404 GB, free: 193.1 MB / 0.6823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001515/5.717, allocations: 0.8361 MB / 2.404 GB, free: 192.2 MB / 0.6823 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001712/5.719, allocations: 1.239 MB / 2.406 GB, free: 191 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005086/5.719, allocations: 283.7 kB / 2.406 GB, free: 190.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001668/5.72, allocations: 4 kB / 2.406 GB, free: 190.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006325/5.72, allocations: 63.94 kB / 2.406 GB, free: 190.6 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001251/5.72, allocations: 48.7 kB / 2.406 GB, free: 190.6 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.424e-05/5.72, allocations: 35.97 kB / 2.406 GB, free: 190.5 MB / 0.6823 GB Notification: Performance of sort global known variables: time 0.0007001/5.721, allocations: 414.9 kB / 2.406 GB, free: 190.1 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.002089/5.723, allocations: 411 kB / 2.407 GB, free: 189.7 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.001999/5.725, allocations: 1.05 MB / 2.408 GB, free: 188.8 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.001237/5.727, allocations: 0.6702 MB / 2.408 GB, free: 188.1 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/5.727, allocations: 0 / 2.408 GB, free: 188.1 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0006281/5.727, allocations: 456.6 kB / 2.409 GB, free: 187.6 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001052/5.728, allocations: 218.8 kB / 2.409 GB, free: 187.4 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003533/5.732, allocations: 1.355 MB / 2.41 GB, free: 186 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007567/5.733, allocations: 1.138 MB / 2.412 GB, free: 184.9 MB / 0.6823 GB Notification: Performance of SimCode: time 9.92e-07/5.733, allocations: 0 / 2.412 GB, free: 184.9 MB / 0.6823 GB (rm -f IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe ; mkfifo IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe >> ../files/IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_BoundaryConditions_SolarGeometry_BaseClasses_Examples_IncidenceAngle_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_BoundaryConditions_SolarGeometry_BaseClasses_Examples_IncidenceAngle.fmu > IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe 2>&1)