Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.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.SolarIrradiation.BaseClasses.Examples.SkyClearness,fileNamePrefix="IDEAS_IDEAS_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyClearness",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness,fileNamePrefix="IDEAS_IDEAS_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyClearness",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.002338/0.002338, allocations: 177.2 kB / 7.46 MB, free: 2.246 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.686/0.686, 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.539/1.539, allocations: 221.3 MB / 395 MB, free: 10.18 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.001012/0.001012, allocations: 114.2 kB / 477.8 MB, free: 10.78 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.503/0.5041, allocations: 88.42 MB / 0.5529 GB, free: 89.14 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.22/0.724, allocations: 82.31 MB / 0.6333 GB, free: 13.97 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.44/6.164, allocations: 1.694 GB / 2.327 GB, free: 204.2 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004102/6.165, allocations: 95.69 kB / 2.327 GB, free: 204.2 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: 228 * Number of variables: 228 Notification: Performance of Generate backend data structure: time 0.1765/6.341, allocations: 69.72 MB / 2.395 GB, free: 162.6 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.949e-05/6.341, allocations: 8 kB / 2.395 GB, free: 162.5 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001315/6.343, allocations: 230.4 kB / 2.395 GB, free: 162.3 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001192/6.344, allocations: 0.637 MB / 2.396 GB, free: 161.8 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.608e-05/6.344, allocations: 28 kB / 2.396 GB, free: 161.7 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.044e-05/6.344, allocations: 55.98 kB / 2.396 GB, free: 161.7 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001441/6.346, allocations: 1.024 MB / 2.397 GB, free: 160.9 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001126/6.347, allocations: 0.7879 MB / 2.398 GB, free: 160.3 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.244e-05/6.347, allocations: 0 / 2.398 GB, free: 160.3 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.391e-05/6.347, allocations: 4 kB / 2.398 GB, free: 160.3 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.892e-05/6.347, allocations: 24 kB / 2.398 GB, free: 160.2 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003916/6.351, allocations: 2.448 MB / 2.4 GB, free: 158.2 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001062/6.352, allocations: 0.7251 MB / 2.401 GB, free: 157.7 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003876/6.352, allocations: 243.6 kB / 2.401 GB, free: 157.5 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006757/6.353, allocations: 474.2 kB / 2.402 GB, free: 157 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005329/6.353, allocations: 389.9 kB / 2.402 GB, free: 156.6 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=73): time 5.5e-06/6.353, allocations: 0 / 2.402 GB, free: 156.6 MB / 0.6823 GB Notification: Performance of matching and sorting (n=73): time 0.001901/6.355, allocations: 0.7146 MB / 2.403 GB, free: 155.8 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.005e-05/6.355, allocations: 240 kB / 2.403 GB, free: 155.5 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006634/6.356, allocations: 0.4984 MB / 2.403 GB, free: 155 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 6.568e-05/6.356, allocations: 25.7 kB / 2.403 GB, free: 155 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002471/6.356, allocations: 331.9 kB / 2.404 GB, free: 154.7 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001628/6.357, allocations: 232.5 kB / 2.404 GB, free: 154.4 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.216e-05/6.357, allocations: 0 / 2.404 GB, free: 154.4 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001358/6.357, allocations: 378.7 kB / 2.404 GB, free: 154.1 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002799/6.357, allocations: 189.3 kB / 2.405 GB, free: 153.9 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003907/6.358, allocations: 298.4 kB / 2.405 GB, free: 153.6 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006749/6.358, allocations: 311 kB / 2.405 GB, free: 153.3 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.298e-06/6.358, allocations: 0 / 2.405 GB, free: 153.3 MB / 0.6823 GB Notification: Performance of matching and sorting (n=77) (initialization): time 0.001642/6.36, allocations: 0.7186 MB / 2.406 GB, free: 152.5 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.129e-05/6.36, allocations: 6.5 kB / 2.406 GB, free: 152.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.085e-05/6.36, allocations: 3.906 kB / 2.406 GB, free: 152.5 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006818/6.361, allocations: 80.84 kB / 2.406 GB, free: 152.4 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006546/6.361, allocations: 143.8 kB / 2.406 GB, free: 152.3 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002028/6.363, allocations: 1.449 MB / 2.407 GB, free: 150.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006647/6.364, allocations: 71.59 kB / 2.408 GB, free: 150.7 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.95e-05/6.364, allocations: 27.92 kB / 2.408 GB, free: 150.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 (75): * Single equations (assignments): 74 * 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.0002038/6.364, allocations: 116.9 kB / 2.408 GB, free: 150.5 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001203/6.364, allocations: 71.06 kB / 2.408 GB, free: 150.4 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00245/6.367, allocations: 0.9911 MB / 2.409 GB, free: 149.4 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.989e-06/6.367, allocations: 11.98 kB / 2.409 GB, free: 149.4 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.304e-06/6.367, allocations: 0 / 2.409 GB, free: 149.4 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.144e-05/6.367, allocations: 11.92 kB / 2.409 GB, free: 149.4 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003149/6.37, allocations: 1.782 MB / 2.41 GB, free: 147.6 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.428e-06/6.37, allocations: 0 / 2.41 GB, free: 147.6 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006176/6.371, allocations: 151.8 kB / 2.411 GB, free: 147.4 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005381/6.371, allocations: 84.78 kB / 2.411 GB, free: 147.3 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.21e-05/6.371, allocations: 11.98 kB / 2.411 GB, free: 147.3 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00162/6.373, allocations: 1.484 MB / 2.412 GB, free: 145.7 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.586e-06/6.373, allocations: 3.984 kB / 2.412 GB, free: 145.7 MB / 0.6823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001731/6.375, allocations: 0.887 MB / 2.413 GB, free: 144.8 MB / 0.6823 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001836/6.377, allocations: 1.309 MB / 2.414 GB, free: 143.5 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004092/6.377, allocations: 279.8 kB / 2.415 GB, free: 143.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000124/6.377, allocations: 0 / 2.415 GB, free: 143.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006699/6.378, allocations: 59.94 kB / 2.415 GB, free: 143.1 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001194/6.378, allocations: 44.7 kB / 2.415 GB, free: 143.1 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.15e-05/6.378, allocations: 39.97 kB / 2.415 GB, free: 143 MB / 0.6823 GB Notification: Performance of sort global known variables: time 0.0004916/6.378, allocations: 406.9 kB / 2.415 GB, free: 142.7 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.002148/6.381, allocations: 438.8 kB / 2.416 GB, free: 142.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 (84): * Single equations (assignments): 81 * 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.002144/6.383, allocations: 1.082 MB / 2.417 GB, free: 141.2 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.001403/6.384, allocations: 0.6507 MB / 2.417 GB, free: 140.6 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 4.709e-06/6.384, allocations: 3.938 kB / 2.417 GB, free: 140.6 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0006618/6.385, allocations: 436.7 kB / 2.418 GB, free: 140.1 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001312/6.386, allocations: 213.6 kB / 2.418 GB, free: 139.9 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004372/6.391, allocations: 1.385 MB / 2.419 GB, free: 138.5 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008185/6.391, allocations: 1.146 MB / 2.42 GB, free: 137.3 MB / 0.6823 GB Notification: Performance of SimCode: time 6.42e-07/6.391, allocations: 0 / 2.42 GB, free: 137.3 MB / 0.6823 GB (rm -f IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe ; mkfifo IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe ; head -c 1048576 < IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe >> ../files/IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyClearness_fmu --startTime=100000 --stopTime=3e+06 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyClearness.fmu > IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe 2>&1)