Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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_IDEAS_BoundaryConditions_SolarIrradiation_Examples_DiffusePerez",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez,fileNamePrefix="IDEAS_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.004137/0.004137, allocations: 180.2 kB / 7.458 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.7565/0.7565, allocations: 133.5 MB / 141.4 MB, free: 15.7 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.474/1.474, allocations: 221.3 MB / 395 MB, free: 10.27 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.001345/0.001345, allocations: 104.6 kB / 477.8 MB, free: 10.87 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.4753/0.4767, allocations: 88.43 MB / 0.5529 GB, free: 89.05 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.201/0.6777, allocations: 82.29 MB / 0.6333 GB, free: 14.04 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.135/5.813, allocations: 1.697 GB / 2.331 GB, free: 258.3 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003776/5.814, allocations: 92.08 kB / 2.331 GB, free: 258.3 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.2444/6.058, allocations: 102.3 MB / 2.431 GB, free: 166.2 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.591e-05/6.058, allocations: 12 kB / 2.431 GB, free: 166.2 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01419/6.072, allocations: 2.131 MB / 2.433 GB, free: 164 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003261/6.076, allocations: 1.048 MB / 2.434 GB, free: 162.9 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.349e-05/6.076, allocations: 64 kB / 2.434 GB, free: 162.9 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003695/6.076, allocations: 115.9 kB / 2.434 GB, free: 162.8 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.005218/6.081, allocations: 2.862 MB / 2.437 GB, free: 159.9 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003551/6.085, allocations: 2.169 MB / 2.439 GB, free: 157.7 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.282e-05/6.085, allocations: 11.92 kB / 2.439 GB, free: 157.7 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002214/6.085, allocations: 0 / 2.439 GB, free: 157.7 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.918e-05/6.085, allocations: 48 kB / 2.439 GB, free: 157.6 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01531/6.1, allocations: 6.882 MB / 2.446 GB, free: 150.6 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002693/6.103, allocations: 1.839 MB / 2.447 GB, free: 148.7 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001348/6.105, allocations: 1.009 MB / 2.448 GB, free: 147.7 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007453/6.105, allocations: 0.5072 MB / 2.449 GB, free: 147.1 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001791/6.107, allocations: 1.25 MB / 2.45 GB, free: 145.8 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=195): time 4.639e-06/6.107, allocations: 4 kB / 2.45 GB, free: 145.8 MB / 0.6823 GB Notification: Performance of matching and sorting (n=195): time 0.005036/6.112, allocations: 2.234 MB / 2.452 GB, free: 143.6 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.82e-05/6.112, allocations: 257.3 kB / 2.453 GB, free: 143.3 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00108/6.113, allocations: 0.641 MB / 2.453 GB, free: 142.6 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0001927/6.114, allocations: 25.7 kB / 2.453 GB, free: 142.6 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005245/6.114, allocations: 0.551 MB / 2.454 GB, free: 142.1 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005252/6.115, allocations: 0.6041 MB / 2.454 GB, free: 141.4 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001493/6.115, allocations: 0 / 2.454 GB, free: 141.4 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001745/6.115, allocations: 422.7 kB / 2.455 GB, free: 141 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001249/6.116, allocations: 0.7694 MB / 2.455 GB, free: 140.2 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001348/6.118, allocations: 0.9462 MB / 2.456 GB, free: 139.3 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00224/6.12, allocations: 1.037 MB / 2.457 GB, free: 138.2 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.22e-06/6.12, allocations: 4 kB / 2.457 GB, free: 138.2 MB / 0.6823 GB Notification: Performance of matching and sorting (n=208) (initialization): time 0.004965/6.125, allocations: 2.277 MB / 2.46 GB, free: 135.9 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.628e-05/6.125, allocations: 8.156 kB / 2.46 GB, free: 135.9 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.627e-05/6.125, allocations: 4 kB / 2.46 GB, free: 135.9 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006619/6.126, allocations: 84.89 kB / 2.46 GB, free: 135.8 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003779/6.129, allocations: 0.5811 MB / 2.46 GB, free: 135.3 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002037/6.131, allocations: 1.461 MB / 2.462 GB, free: 133.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003689/6.135, allocations: 306.5 kB / 2.462 GB, free: 133.4 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003516/6.136, allocations: 83.91 kB / 2.462 GB, free: 133.3 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.0005775/6.136, allocations: 136.6 kB / 2.462 GB, free: 133.1 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004512/6.137, allocations: 130.4 kB / 2.462 GB, free: 133 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008173/6.145, allocations: 2.925 MB / 2.465 GB, free: 130.1 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.883e-05/6.145, allocations: 24 kB / 2.465 GB, free: 130 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.023e-05/6.145, allocations: 0 / 2.465 GB, free: 130 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.991e-05/6.145, allocations: 19.89 kB / 2.465 GB, free: 130 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01102/6.156, allocations: 4.885 MB / 2.47 GB, free: 125.1 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.117e-05/6.156, allocations: 0 / 2.47 GB, free: 125.1 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003716/6.16, allocations: 0.5656 MB / 2.471 GB, free: 124.5 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005728/6.16, allocations: 84.78 kB / 2.471 GB, free: 124.4 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002693/6.161, allocations: 43.92 kB / 2.471 GB, free: 124.4 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001795/6.162, allocations: 1.496 MB / 2.472 GB, free: 122.8 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.432e-06/6.162, allocations: 0 / 2.472 GB, free: 122.8 MB / 0.6823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.006054/6.169, allocations: 2.418 MB / 2.474 GB, free: 120.3 MB / 0.6823 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.006151/6.175, allocations: 2.852 MB / 2.477 GB, free: 117.5 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001481/6.176, allocations: 0.5259 MB / 2.478 GB, free: 116.9 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007482/6.177, allocations: 4 kB / 2.478 GB, free: 116.9 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003506/6.181, allocations: 251.6 kB / 2.478 GB, free: 116.7 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002935/6.181, allocations: 113.8 kB / 2.478 GB, free: 116.6 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002897/6.181, allocations: 79.91 kB / 2.478 GB, free: 116.5 MB / 0.6823 GB Notification: Performance of sort global known variables: time 0.001302/6.183, allocations: 0.5343 MB / 2.479 GB, free: 115.9 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.004098/6.187, allocations: 0.6777 MB / 2.479 GB, free: 115.3 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.002903/6.19, allocations: 1.087 MB / 2.48 GB, free: 114.3 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.004883/6.194, allocations: 2.132 MB / 2.483 GB, free: 112.1 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 9.919e-06/6.195, allocations: 3.984 kB / 2.483 GB, free: 112.1 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.00257/6.197, allocations: 1.247 MB / 2.484 GB, free: 110.9 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002314/6.199, allocations: 233.7 kB / 2.484 GB, free: 110.6 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0104/6.21, allocations: 2.83 MB / 2.487 GB, free: 107.8 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003378/6.213, allocations: 1.652 MB / 2.488 GB, free: 106.1 MB / 0.6823 GB Notification: Performance of SimCode: time 2.224e-06/6.213, allocations: 0 / 2.488 GB, free: 106.1 MB / 0.6823 GB (rm -f IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe ; mkfifo IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe ; head -c 1048576 < IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe >> ../files/IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_BoundaryConditions_SolarIrradiation_Examples_DiffusePerez_fmu --startTime=1.82304e+07 --stopTime=1.83168e+07 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_BoundaryConditions_SolarIrradiation_Examples_DiffusePerez.fmu > IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe 2>&1)