Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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_dev_IDEAS_BoundaryConditions_SolarGeometry_Examples_IncidenceAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle,fileNamePrefix="IDEAS_dev_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.004054/0.004054, allocations: 177.8 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.7012/0.7012, allocations: 133.5 MB / 141.4 MB, free: 15.65 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.331/1.331, allocations: 221.3 MB / 395 MB, free: 10.14 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.001093/0.001093, allocations: 105.7 kB / 477.8 MB, free: 10.75 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.4414/0.4426, allocations: 88.42 MB / 0.5529 GB, free: 89.24 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1779/0.6204, allocations: 82.3 MB / 0.6333 GB, free: 13.95 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.334/4.955, allocations: 1.695 GB / 2.328 GB, free: 258.7 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003325/4.955, allocations: 86.44 kB / 2.328 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: 364 * Number of variables: 364 Notification: Performance of Generate backend data structure: time 0.2244/5.179, allocations: 96.23 MB / 2.422 GB, free: 174.6 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 6.263e-05/5.18, allocations: 8 kB / 2.422 GB, free: 174.6 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001664/5.181, allocations: 257.8 kB / 2.422 GB, free: 174.4 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002011/5.183, allocations: 0.791 MB / 2.423 GB, free: 173.5 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.075e-05/5.183, allocations: 44 kB / 2.423 GB, free: 173.5 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002854/5.184, allocations: 83.98 kB / 2.423 GB, free: 173.4 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002454/5.186, allocations: 1.38 MB / 2.424 GB, free: 172 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001912/5.188, allocations: 1.177 MB / 2.426 GB, free: 170.8 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.287e-05/5.188, allocations: 4 kB / 2.426 GB, free: 170.8 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001067/5.188, allocations: 4 kB / 2.426 GB, free: 170.8 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.311e-05/5.188, allocations: 32 kB / 2.426 GB, free: 170.8 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006034/5.194, allocations: 3.959 MB / 2.429 GB, free: 166.7 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00111/5.195, allocations: 0.8472 MB / 2.43 GB, free: 165.8 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004625/5.196, allocations: 355.7 kB / 2.431 GB, free: 165.4 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001029/5.196, allocations: 49 kB / 2.431 GB, free: 165.4 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006745/5.197, allocations: 0.5105 MB / 2.431 GB, free: 164.9 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=104): time 4.739e-06/5.197, allocations: 8 kB / 2.431 GB, free: 164.9 MB / 0.6823 GB Notification: Performance of matching and sorting (n=104): time 0.002096/5.199, allocations: 0.8936 MB / 2.432 GB, free: 164 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001045/5.199, allocations: 240.3 kB / 2.432 GB, free: 163.7 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007757/5.2, allocations: 0.5935 MB / 2.433 GB, free: 163.1 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 7.324e-05/5.2, allocations: 29.69 kB / 2.433 GB, free: 163 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002856/5.2, allocations: 483.5 kB / 2.433 GB, free: 162.6 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002238/5.2, allocations: 335 kB / 2.434 GB, free: 162.2 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.422e-05/5.2, allocations: 0 / 2.434 GB, free: 162.2 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.000151/5.201, allocations: 394.6 kB / 2.434 GB, free: 161.8 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000439/5.201, allocations: 301.9 kB / 2.434 GB, free: 161.5 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005518/5.202, allocations: 421.5 kB / 2.435 GB, free: 161.1 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005847/5.202, allocations: 370.8 kB / 2.435 GB, free: 160.7 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.076e-06/5.202, allocations: 0 / 2.435 GB, free: 160.7 MB / 0.6823 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.001857/5.204, allocations: 0.9522 MB / 2.436 GB, free: 159.8 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.985e-05/5.204, allocations: 8 kB / 2.436 GB, free: 159.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.338e-06/5.204, allocations: 0 / 2.436 GB, free: 159.8 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006383/5.205, allocations: 84.84 kB / 2.436 GB, free: 159.7 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009619/5.206, allocations: 219.7 kB / 2.436 GB, free: 159.5 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001852/5.208, allocations: 1.461 MB / 2.438 GB, free: 157.9 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007754/5.208, allocations: 83.27 kB / 2.438 GB, free: 157.8 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.027e-05/5.208, allocations: 47.95 kB / 2.438 GB, free: 157.7 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.0002104/5.209, allocations: 120.8 kB / 2.438 GB, free: 157.6 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001512/5.209, allocations: 91.06 kB / 2.438 GB, free: 157.5 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002798/5.212, allocations: 1.303 MB / 2.439 GB, free: 156.2 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.063e-05/5.212, allocations: 12 kB / 2.439 GB, free: 156.2 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.517e-06/5.212, allocations: 4 kB / 2.439 GB, free: 156.2 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.578e-05/5.212, allocations: 11.92 kB / 2.439 GB, free: 156.2 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003772/5.215, allocations: 2.367 MB / 2.442 GB, free: 153.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.528e-06/5.215, allocations: 0 / 2.442 GB, free: 153.8 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007837/5.216, allocations: 191.8 kB / 2.442 GB, free: 153.6 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005124/5.217, allocations: 84.78 kB / 2.442 GB, free: 153.5 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.594e-05/5.217, allocations: 23.89 kB / 2.442 GB, free: 153.5 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001606/5.218, allocations: 1.484 MB / 2.443 GB, free: 151.9 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.478e-06/5.218, allocations: 4 kB / 2.443 GB, free: 151.9 MB / 0.6823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001769/5.22, allocations: 1.06 MB / 2.444 GB, free: 150.8 MB / 0.6823 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001861/5.222, allocations: 1.467 MB / 2.446 GB, free: 149.3 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004868/5.223, allocations: 347.4 kB / 2.446 GB, free: 148.9 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000155/5.223, allocations: 3.984 kB / 2.446 GB, free: 148.9 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00071/5.224, allocations: 52.02 kB / 2.446 GB, free: 148.9 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00014/5.224, allocations: 72.89 kB / 2.446 GB, free: 148.8 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.596e-05/5.224, allocations: 39.98 kB / 2.446 GB, free: 148.8 MB / 0.6823 GB Notification: Performance of sort global known variables: time 0.0006445/5.224, allocations: 0.503 MB / 2.447 GB, free: 148.3 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.00226/5.227, allocations: 0.5061 MB / 2.447 GB, free: 147.8 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.00195/5.229, allocations: 1.042 MB / 2.448 GB, free: 146.8 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.001816/5.23, allocations: 0.9087 MB / 2.449 GB, free: 145.9 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 5.39e-06/5.23, allocations: 4 kB / 2.449 GB, free: 145.9 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0007992/5.231, allocations: 0.5599 MB / 2.45 GB, free: 145.3 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001117/5.232, allocations: 225.9 kB / 2.45 GB, free: 145.1 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005009/5.237, allocations: 1.829 MB / 2.452 GB, free: 143.2 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001039/5.238, allocations: 1.336 MB / 2.453 GB, free: 141.9 MB / 0.6823 GB Notification: Performance of SimCode: time 8.31e-07/5.238, allocations: 0 / 2.453 GB, free: 141.9 MB / 0.6823 GB (rm -f IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe ; mkfifo IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe >> ../files/IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_BoundaryConditions_SolarGeometry_Examples_IncidenceAngle_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_BoundaryConditions_SolarGeometry_Examples_IncidenceAngle.fmu > IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe 2>&1)