Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.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.Examples.DiffusePerez,fileNamePrefix="IDEAS_dev_IDEAS_BoundaryConditions_SolarIrradiation_Examples_DiffusePerez",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez,fileNamePrefix="IDEAS_dev_IDEAS_BoundaryConditions_SolarIrradiation_Examples_DiffusePerez",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.004023/0.004023, 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.7581/0.7581, 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.555/1.555, allocations: 221.3 MB / 395 MB, free: 10.22 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.001011/0.001011, allocations: 89.59 kB / 477.8 MB, free: 10.84 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.435/0.4361, allocations: 88.43 MB / 0.5529 GB, free: 89 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1895/0.6256, allocations: 82.29 MB / 0.6333 GB, free: 14.04 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.697/5.323, allocations: 1.697 GB / 2.331 GB, free: 258.4 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003359/5.323, allocations: 87.02 kB / 2.331 GB, free: 258.4 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: 508 * Number of variables: 508 Notification: Performance of Generate backend data structure: time 0.2354/5.559, allocations: 102.3 MB / 2.431 GB, free: 166.3 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.723e-05/5.559, allocations: 8 kB / 2.431 GB, free: 166.3 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01425/5.573, allocations: 2.127 MB / 2.433 GB, free: 164.1 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003465/5.577, allocations: 1.048 MB / 2.434 GB, free: 163 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001199/5.577, allocations: 64 kB / 2.434 GB, free: 163 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008571/5.578, allocations: 115.9 kB / 2.434 GB, free: 162.9 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00675/5.584, allocations: 2.858 MB / 2.437 GB, free: 160 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006322/5.591, allocations: 2.184 MB / 2.439 GB, free: 157.8 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.499e-05/5.591, allocations: 0 / 2.439 GB, free: 157.8 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004922/5.591, allocations: 0 / 2.439 GB, free: 157.8 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.171e-05/5.591, allocations: 48 kB / 2.439 GB, free: 157.7 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01897/5.61, allocations: 6.89 MB / 2.446 GB, free: 150.7 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003633/5.614, allocations: 1.843 MB / 2.447 GB, free: 148.8 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001796/5.616, allocations: 1.005 MB / 2.448 GB, free: 147.8 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009025/5.617, allocations: 0.5072 MB / 2.449 GB, free: 147.2 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002295/5.619, allocations: 1.258 MB / 2.45 GB, free: 145.9 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=195): time 6.382e-06/5.619, allocations: 0 / 2.45 GB, free: 145.9 MB / 0.6823 GB Notification: Performance of matching and sorting (n=195): time 0.005646/5.625, allocations: 2.23 MB / 2.452 GB, free: 143.7 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001143/5.625, allocations: 261.3 kB / 2.453 GB, free: 143.4 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00114/5.626, allocations: 0.641 MB / 2.453 GB, free: 142.7 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0001886/5.626, allocations: 25.7 kB / 2.453 GB, free: 142.7 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005471/5.627, allocations: 0.5471 MB / 2.454 GB, free: 142.1 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004944/5.627, allocations: 0.6041 MB / 2.454 GB, free: 141.5 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00015/5.627, allocations: 3.938 kB / 2.454 GB, free: 141.5 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001884/5.628, allocations: 422.7 kB / 2.455 GB, free: 141.1 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001285/5.629, allocations: 0.7694 MB / 2.455 GB, free: 140.3 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001428/5.63, allocations: 0.9423 MB / 2.456 GB, free: 139.4 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002145/5.633, allocations: 1.037 MB / 2.457 GB, free: 138.3 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.184e-06/5.633, allocations: 0 / 2.457 GB, free: 138.3 MB / 0.6823 GB Notification: Performance of matching and sorting (n=208) (initialization): time 0.004868/5.637, allocations: 2.277 MB / 2.46 GB, free: 136 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.495e-05/5.637, allocations: 4 kB / 2.46 GB, free: 136 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.552e-05/5.638, allocations: 8.094 kB / 2.46 GB, free: 136 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006508/5.638, allocations: 88.78 kB / 2.46 GB, free: 135.9 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003754/5.642, allocations: 0.5812 MB / 2.46 GB, free: 135.3 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001883/5.644, allocations: 1.461 MB / 2.462 GB, free: 133.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003232/5.647, allocations: 306.6 kB / 2.462 GB, free: 133.5 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002551/5.647, allocations: 83.91 kB / 2.462 GB, free: 133.4 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (206): * Single equations (assignments): 205 * 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.0004836/5.648, allocations: 138.7 kB / 2.462 GB, free: 133.2 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003486/5.648, allocations: 126.4 kB / 2.462 GB, free: 133.1 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007208/5.655, allocations: 2.937 MB / 2.465 GB, free: 130.2 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.702e-05/5.655, allocations: 20 kB / 2.465 GB, free: 130.1 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.301e-06/5.655, allocations: 0 / 2.465 GB, free: 130.1 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.807e-05/5.655, allocations: 7.969 kB / 2.465 GB, free: 130.1 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009154/5.665, allocations: 4.889 MB / 2.47 GB, free: 125.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.133e-05/5.665, allocations: 0 / 2.47 GB, free: 125.2 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003815/5.669, allocations: 0.5656 MB / 2.471 GB, free: 124.6 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005997/5.669, allocations: 84.78 kB / 2.471 GB, free: 124.5 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003373/5.67, allocations: 47.91 kB / 2.471 GB, free: 124.5 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001823/5.671, allocations: 1.488 MB / 2.472 GB, free: 122.9 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.41e-06/5.671, allocations: 0 / 2.472 GB, free: 122.9 MB / 0.6823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.005809/5.677, allocations: 2.43 MB / 2.474 GB, free: 120.4 MB / 0.6823 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.005689/5.683, allocations: 2.844 MB / 2.477 GB, free: 117.6 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001239/5.684, allocations: 0.5298 MB / 2.478 GB, free: 117 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005652/5.685, allocations: 8 kB / 2.478 GB, free: 117 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003065/5.688, allocations: 247.6 kB / 2.478 GB, free: 116.8 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002326/5.688, allocations: 109.8 kB / 2.478 GB, free: 116.7 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002515/5.688, allocations: 83.92 kB / 2.478 GB, free: 116.6 MB / 0.6823 GB Notification: Performance of sort global known variables: time 0.001088/5.689, allocations: 0.5382 MB / 2.479 GB, free: 116 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.003371/5.693, allocations: 0.6738 MB / 2.479 GB, free: 115.4 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 (210): * Single equations (assignments): 207 * 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.002612/5.695, allocations: 1.092 MB / 2.48 GB, free: 114.3 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.004013/5.7, allocations: 2.124 MB / 2.483 GB, free: 112.2 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 6.362e-06/5.7, allocations: 0 / 2.483 GB, free: 112.2 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.002113/5.702, allocations: 1.251 MB / 2.484 GB, free: 111 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001694/5.703, allocations: 233.8 kB / 2.484 GB, free: 110.7 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009141/5.713, allocations: 2.826 MB / 2.487 GB, free: 107.9 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00283/5.715, allocations: 1.652 MB / 2.488 GB, free: 106.2 MB / 0.6823 GB Notification: Performance of SimCode: time 1.953e-06/5.715, allocations: 0 / 2.488 GB, free: 106.2 MB / 0.6823 GB (rm -f IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe ; mkfifo IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe >> ../files/IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_BoundaryConditions_SolarIrradiation_Examples_DiffusePerez_fmu --startTime=1.82304e+07 --stopTime=1.83168e+07 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_BoundaryConditions_SolarIrradiation_Examples_DiffusePerez.fmu > IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe 2>&1)