Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.BoundaryConditions.SolarGeometry.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.Examples.IncidenceAngle,fileNamePrefix="IDEAS_IDEAS_BoundaryConditions_SolarGeometry_Examples_IncidenceAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle,fileNamePrefix="IDEAS_IDEAS_BoundaryConditions_SolarGeometry_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.003745/0.003745, allocations: 178.6 kB / 7.455 MB, free: 2.508 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.6809/0.6809, allocations: 133.5 MB / 141.4 MB, free: 15.75 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.404/1.404, allocations: 221.3 MB / 395 MB, free: 10.2 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.001007/0.001007, allocations: 93.66 kB / 477.8 MB, free: 10.81 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.396/0.3971, allocations: 88.42 MB / 0.5529 GB, free: 88.92 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.161/0.5581, allocations: 82.3 MB / 0.6333 GB, free: 14.03 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 3.924/4.482, allocations: 1.695 GB / 2.328 GB, free: 258.8 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003543/4.483, allocations: 84.92 kB / 2.328 GB, free: 258.8 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: 364 * Number of variables: 364 Notification: Performance of Generate backend data structure: time 0.2263/4.709, allocations: 96.23 MB / 2.422 GB, free: 175.5 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.726e-05/4.709, allocations: 8 kB / 2.422 GB, free: 175.5 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001042/4.71, allocations: 257.8 kB / 2.422 GB, free: 175.2 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001211/4.711, allocations: 0.7754 MB / 2.423 GB, free: 174.4 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.721e-05/4.711, allocations: 52 kB / 2.423 GB, free: 174.4 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001314/4.712, allocations: 80 kB / 2.423 GB, free: 174.3 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002016/4.714, allocations: 1.38 MB / 2.424 GB, free: 172.9 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001807/4.715, allocations: 1.181 MB / 2.426 GB, free: 171.7 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.131e-05/4.715, allocations: 3.938 kB / 2.426 GB, free: 171.7 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001025/4.716, allocations: 3.984 kB / 2.426 GB, free: 171.7 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.18e-05/4.716, allocations: 36 kB / 2.426 GB, free: 171.6 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005979/4.722, allocations: 3.955 MB / 2.429 GB, free: 167.5 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001166/4.723, allocations: 0.8589 MB / 2.43 GB, free: 166.7 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004811/4.723, allocations: 351.7 kB / 2.431 GB, free: 166.3 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001067/4.723, allocations: 44.92 kB / 2.431 GB, free: 166.3 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007064/4.724, allocations: 0.5144 MB / 2.431 GB, free: 165.7 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=104): time 4.408e-06/4.724, allocations: 0 / 2.431 GB, free: 165.7 MB / 0.6823 GB Notification: Performance of matching and sorting (n=104): time 0.002095/4.726, allocations: 0.9014 MB / 2.432 GB, free: 164.8 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001015/4.726, allocations: 244.3 kB / 2.432 GB, free: 164.5 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007905/4.727, allocations: 0.5857 MB / 2.433 GB, free: 163.9 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 7.578e-05/4.727, allocations: 29.7 kB / 2.433 GB, free: 163.9 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.000323/4.728, allocations: 487.4 kB / 2.433 GB, free: 163.4 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002293/4.728, allocations: 327 kB / 2.434 GB, free: 163.1 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.559e-05/4.728, allocations: 0 / 2.434 GB, free: 163.1 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001289/4.728, allocations: 394.7 kB / 2.434 GB, free: 162.7 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004281/4.728, allocations: 297.9 kB / 2.434 GB, free: 162.4 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005446/4.729, allocations: 425.5 kB / 2.435 GB, free: 162 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005771/4.73, allocations: 374.8 kB / 2.435 GB, free: 161.6 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.467e-06/4.73, allocations: 4 kB / 2.435 GB, free: 161.6 MB / 0.6823 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.001876/4.731, allocations: 0.9483 MB / 2.436 GB, free: 160.6 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.922e-05/4.732, allocations: 8.062 kB / 2.436 GB, free: 160.6 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.01e-05/4.732, allocations: 0 / 2.436 GB, free: 160.6 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006531/4.732, allocations: 84.78 kB / 2.436 GB, free: 160.5 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009929/4.733, allocations: 215.7 kB / 2.436 GB, free: 160.3 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001772/4.735, allocations: 1.469 MB / 2.438 GB, free: 158.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008747/4.736, allocations: 83.27 kB / 2.438 GB, free: 158.7 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.818e-05/4.736, allocations: 39.97 kB / 2.438 GB, free: 158.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: 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 (116): * Single equations (assignments): 115 * 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.0002103/4.736, allocations: 127.5 kB / 2.438 GB, free: 158.5 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000153/4.736, allocations: 90.88 kB / 2.438 GB, free: 158.4 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002947/4.739, allocations: 1.303 MB / 2.439 GB, free: 157.1 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.069e-05/4.739, allocations: 15.98 kB / 2.439 GB, free: 157.1 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.396e-06/4.739, allocations: 4 kB / 2.439 GB, free: 157.1 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.332e-05/4.739, allocations: 3.984 kB / 2.439 GB, free: 157.1 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003831/4.743, allocations: 2.363 MB / 2.442 GB, free: 154.6 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.95e-06/4.743, allocations: 0 / 2.442 GB, free: 154.6 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008361/4.744, allocations: 195.7 kB / 2.442 GB, free: 154.5 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005261/4.745, allocations: 80.78 kB / 2.442 GB, free: 154.4 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.681e-05/4.745, allocations: 27.89 kB / 2.442 GB, free: 154.3 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001595/4.746, allocations: 1.488 MB / 2.443 GB, free: 152.7 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.787e-06/4.746, allocations: 0 / 2.443 GB, free: 152.7 MB / 0.6823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001874/4.748, allocations: 1.053 MB / 2.444 GB, free: 151.7 MB / 0.6823 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.00199/4.75, allocations: 1.478 MB / 2.446 GB, free: 150.2 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005509/4.751, allocations: 347.4 kB / 2.446 GB, free: 149.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001576/4.751, allocations: 4 kB / 2.446 GB, free: 149.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007459/4.752, allocations: 59.94 kB / 2.446 GB, free: 149.7 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001288/4.752, allocations: 64.89 kB / 2.446 GB, free: 149.7 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.655e-05/4.752, allocations: 39.98 kB / 2.446 GB, free: 149.6 MB / 0.6823 GB Notification: Performance of sort global known variables: time 0.0006768/4.753, allocations: 0.503 MB / 2.447 GB, free: 149.1 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.00226/4.755, allocations: 0.5022 MB / 2.447 GB, free: 148.6 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 (115): * Single equations (assignments): 112 * 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.002032/4.757, allocations: 1.051 MB / 2.448 GB, free: 147.7 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.001727/4.759, allocations: 0.9126 MB / 2.449 GB, free: 146.7 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 7.003e-06/4.759, allocations: 3.938 kB / 2.449 GB, free: 146.7 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0007876/4.759, allocations: 0.5522 MB / 2.45 GB, free: 146.2 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001224/4.761, allocations: 226.3 kB / 2.45 GB, free: 146 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005164/4.766, allocations: 1.833 MB / 2.452 GB, free: 144.1 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001196/4.767, allocations: 1.328 MB / 2.453 GB, free: 142.7 MB / 0.6823 GB Notification: Performance of SimCode: time 1.042e-06/4.767, allocations: 0 / 2.453 GB, free: 142.7 MB / 0.6823 GB (rm -f IDEAS_IDEAS.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe ; mkfifo IDEAS_IDEAS.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe ; head -c 1048576 < IDEAS_IDEAS.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe >> ../files/IDEAS_IDEAS.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_BoundaryConditions_SolarGeometry_Examples_IncidenceAngle_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_BoundaryConditions_SolarGeometry_Examples_IncidenceAngle.fmu > IDEAS_IDEAS.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe 2>&1)