Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.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.DiffuseIsotropic,fileNamePrefix="IDEAS_dev_IDEAS_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_DiffuseIsotropic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic,fileNamePrefix="IDEAS_dev_IDEAS_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_DiffuseIsotropic",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.005274/0.005274, allocations: 179.7 kB / 7.455 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.7214/0.7214, allocations: 133.5 MB / 141.4 MB, free: 15.69 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.675/1.675, allocations: 221.3 MB / 395 MB, free: 10.1 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.001121/0.001121, allocations: 105.7 kB / 477.8 MB, free: 10.67 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.559/0.5601, allocations: 88.43 MB / 0.5529 GB, free: 89.15 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2078/0.7679, allocations: 82.31 MB / 0.6333 GB, free: 13.84 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.367/5.135, allocations: 1.693 GB / 2.326 GB, free: 258.5 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004376/5.136, allocations: 89.42 kB / 2.327 GB, free: 258.5 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: 198 * Number of variables: 198 Notification: Performance of Generate backend data structure: time 0.138/5.274, allocations: 60.38 MB / 2.386 GB, free: 209.9 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.627e-05/5.274, allocations: 8 kB / 2.386 GB, free: 209.9 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009732/5.275, allocations: 198.6 kB / 2.386 GB, free: 209.7 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009955/5.276, allocations: 0.6037 MB / 2.386 GB, free: 209 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.645e-05/5.276, allocations: 28 kB / 2.386 GB, free: 209 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.27e-05/5.276, allocations: 44 kB / 2.386 GB, free: 208.9 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001336/5.278, allocations: 0.9718 MB / 2.387 GB, free: 208 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001029/5.279, allocations: 0.7077 MB / 2.388 GB, free: 207.2 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.154e-05/5.279, allocations: 3.938 kB / 2.388 GB, free: 207.2 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.755e-05/5.279, allocations: 3.906 kB / 2.388 GB, free: 207.2 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.864e-05/5.279, allocations: 20 kB / 2.388 GB, free: 207.2 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003252/5.282, allocations: 2.251 MB / 2.39 GB, free: 204.9 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008559/5.283, allocations: 0.627 MB / 2.391 GB, free: 204.2 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003046/5.283, allocations: 230.8 kB / 2.391 GB, free: 204 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 8.281e-05/5.283, allocations: 32.7 kB / 2.391 GB, free: 204 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004606/5.284, allocations: 370.1 kB / 2.391 GB, free: 203.6 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=71): time 3.166e-06/5.284, allocations: 0 / 2.391 GB, free: 203.6 MB / 0.6823 GB Notification: Performance of matching and sorting (n=71): time 0.001606/5.285, allocations: 0.6287 MB / 2.392 GB, free: 203 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.725e-05/5.285, allocations: 240 kB / 2.392 GB, free: 202.7 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006884/5.286, allocations: 0.4983 MB / 2.393 GB, free: 202.2 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 6.682e-05/5.286, allocations: 25.7 kB / 2.393 GB, free: 202.1 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002096/5.286, allocations: 300.1 kB / 2.393 GB, free: 201.8 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001564/5.287, allocations: 220.7 kB / 2.393 GB, free: 201.6 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.996e-05/5.287, allocations: 0 / 2.393 GB, free: 201.6 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001524/5.287, allocations: 374.8 kB / 2.394 GB, free: 201.2 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000277/5.287, allocations: 189.2 kB / 2.394 GB, free: 201.1 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003397/5.287, allocations: 286.4 kB / 2.394 GB, free: 200.8 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003669/5.288, allocations: 235.1 kB / 2.394 GB, free: 200.5 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.526e-06/5.288, allocations: 0 / 2.394 GB, free: 200.5 MB / 0.6823 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001362/5.289, allocations: 0.6365 MB / 2.395 GB, free: 199.9 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.527e-05/5.289, allocations: 4 kB / 2.395 GB, free: 199.9 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.023e-06/5.289, allocations: 0 / 2.395 GB, free: 199.9 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006194/5.29, allocations: 88.84 kB / 2.395 GB, free: 199.8 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005929/5.29, allocations: 135.8 kB / 2.395 GB, free: 199.7 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001726/5.292, allocations: 1.468 MB / 2.397 GB, free: 198.1 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006447/5.293, allocations: 63.53 kB / 2.397 GB, free: 198 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.85e-05/5.293, allocations: 23.98 kB / 2.397 GB, free: 198 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 (74): * Single equations (assignments): 73 * 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.0001534/5.293, allocations: 122.7 kB / 2.397 GB, free: 197.9 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001075/5.293, allocations: 75.06 kB / 2.397 GB, free: 197.8 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001856/5.295, allocations: 0.8818 MB / 2.398 GB, free: 196.9 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.995e-06/5.295, allocations: 8 kB / 2.398 GB, free: 196.9 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.296e-06/5.295, allocations: 3.906 kB / 2.398 GB, free: 196.9 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.716e-06/5.295, allocations: 11.92 kB / 2.398 GB, free: 196.9 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007701/5.296, allocations: 0.7359 MB / 2.398 GB, free: 196.1 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.577e-06/5.296, allocations: 3.938 kB / 2.398 GB, free: 196.1 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005683/5.296, allocations: 135.9 kB / 2.399 GB, free: 195.9 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005235/5.297, allocations: 92.61 kB / 2.399 GB, free: 195.9 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.642e-05/5.297, allocations: 15.98 kB / 2.399 GB, free: 195.8 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001564/5.299, allocations: 1.492 MB / 2.4 GB, free: 194.2 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.008e-06/5.299, allocations: 0 / 2.4 GB, free: 194.2 MB / 0.6823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001432/5.3, allocations: 0.7333 MB / 2.401 GB, free: 193.5 MB / 0.6823 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001629/5.302, allocations: 1.14 MB / 2.402 GB, free: 192.3 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004485/5.302, allocations: 271.9 kB / 2.402 GB, free: 192 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001605/5.302, allocations: 4 kB / 2.402 GB, free: 192 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005791/5.303, allocations: 51.95 kB / 2.402 GB, free: 192 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001073/5.303, allocations: 52.59 kB / 2.402 GB, free: 191.9 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.728e-05/5.303, allocations: 35.98 kB / 2.402 GB, free: 191.9 MB / 0.6823 GB Notification: Performance of sort global known variables: time 0.0005363/5.304, allocations: 406.9 kB / 2.403 GB, free: 191.5 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.002158/5.306, allocations: 399 kB / 2.403 GB, free: 191.1 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.conTimMin.tNext,weaDat.conTim.tNext) * Top-level inputs: 0 Notification: Strong component statistics for simulation (82): * Single equations (assignments): 79 * 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.002328/5.308, allocations: 1.042 MB / 2.404 GB, free: 190.1 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.001259/5.309, allocations: 0.6351 MB / 2.405 GB, free: 189.5 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 4.288e-06/5.309, allocations: 0 / 2.405 GB, free: 189.5 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0006885/5.31, allocations: 432.6 kB / 2.405 GB, free: 189 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00114/5.311, allocations: 213.8 kB / 2.405 GB, free: 188.8 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003584/5.315, allocations: 1.318 MB / 2.407 GB, free: 187.5 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007114/5.316, allocations: 1.119 MB / 2.408 GB, free: 186.4 MB / 0.6823 GB Notification: Performance of SimCode: time 9.12e-07/5.316, allocations: 4 kB / 2.408 GB, free: 186.3 MB / 0.6823 GB (rm -f IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe ; mkfifo IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe >> ../files/IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_DiffuseIsotropic_fmu --startTime=0 --stopTime=8.64e+06 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_DiffuseIsotropic.fmu > IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe 2>&1)