Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.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.BrighteningCoefficient,fileNamePrefix="IDEAS_dev_IDEAS_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_BrighteningCoefficient",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient,fileNamePrefix="IDEAS_dev_IDEAS_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_BrighteningCoefficient",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.003371/0.003371, allocations: 184.3 kB / 7.462 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.7166/0.7166, allocations: 133.5 MB / 141.4 MB, free: 15.71 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.758/1.758, allocations: 221.3 MB / 395 MB, free: 10.15 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.001315/0.001315, allocations: 99.34 kB / 477.8 MB, free: 10.79 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.5293/0.5307, allocations: 88.43 MB / 0.5529 GB, free: 89.09 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2214/0.7521, allocations: 82.3 MB / 0.6333 GB, free: 14 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.311/5.063, allocations: 1.695 GB / 2.328 GB, free: 258.8 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002555/5.063, allocations: 93.22 kB / 2.329 GB, free: 258.8 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: 266 * Number of variables: 266 Notification: Performance of Generate backend data structure: time 0.1618/5.225, allocations: 71.61 MB / 2.398 GB, free: 198.9 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.839e-05/5.225, allocations: 8 kB / 2.398 GB, free: 198.9 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004833/5.23, allocations: 0.7711 MB / 2.399 GB, free: 198.2 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001326/5.231, allocations: 0.6774 MB / 2.4 GB, free: 197.4 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.219e-05/5.231, allocations: 36 kB / 2.4 GB, free: 197.4 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001318/5.232, allocations: 60 kB / 2.4 GB, free: 197.4 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002085/5.234, allocations: 1.417 MB / 2.401 GB, free: 195.9 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001555/5.235, allocations: 1.028 MB / 2.402 GB, free: 194.8 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.524e-05/5.235, allocations: 0 / 2.402 GB, free: 194.8 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001096/5.235, allocations: 0 / 2.402 GB, free: 194.8 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.392e-05/5.235, allocations: 28 kB / 2.402 GB, free: 194.8 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005487/5.241, allocations: 2.968 MB / 2.405 GB, free: 191.8 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001219/5.242, allocations: 0.9796 MB / 2.406 GB, free: 190.8 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005333/5.243, allocations: 436.1 kB / 2.407 GB, free: 190.4 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006295/5.243, allocations: 482.2 kB / 2.407 GB, free: 189.8 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007024/5.244, allocations: 0.5648 MB / 2.408 GB, free: 189.2 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=100): time 3.237e-06/5.244, allocations: 0 / 2.408 GB, free: 189.2 MB / 0.6823 GB Notification: Performance of matching and sorting (n=100): time 0.002287/5.246, allocations: 0.9991 MB / 2.409 GB, free: 188.2 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.71e-05/5.246, allocations: 248.3 kB / 2.409 GB, free: 187.9 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006021/5.247, allocations: 0.5022 MB / 2.409 GB, free: 187.4 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 8.105e-05/5.247, allocations: 29.7 kB / 2.409 GB, free: 187.3 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001909/5.247, allocations: 344.3 kB / 2.41 GB, free: 187 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002018/5.248, allocations: 315.2 kB / 2.41 GB, free: 186.7 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.813e-05/5.248, allocations: 0 / 2.41 GB, free: 186.7 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.000101/5.248, allocations: 382.8 kB / 2.41 GB, free: 186.3 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004439/5.248, allocations: 314 kB / 2.411 GB, free: 186 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005198/5.249, allocations: 442.3 kB / 2.411 GB, free: 185.5 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007778/5.25, allocations: 430.7 kB / 2.412 GB, free: 185.1 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.397e-06/5.25, allocations: 0 / 2.412 GB, free: 185.1 MB / 0.6823 GB Notification: Performance of matching and sorting (n=105) (initialization): time 0.002052/5.252, allocations: 1.011 MB / 2.413 GB, free: 184.1 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.387e-05/5.252, allocations: 8 kB / 2.413 GB, free: 184.1 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.662e-06/5.252, allocations: 0 / 2.413 GB, free: 184.1 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006268/5.252, allocations: 88.78 kB / 2.413 GB, free: 184 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001407/5.254, allocations: 251.6 kB / 2.413 GB, free: 183.8 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00165/5.255, allocations: 1.453 MB / 2.414 GB, free: 182.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001205/5.257, allocations: 135.3 kB / 2.414 GB, free: 182 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.833e-05/5.257, allocations: 39.97 kB / 2.414 GB, free: 182 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (103): * Single equations (assignments): 102 * 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.0003007/5.257, allocations: 127.5 kB / 2.415 GB, free: 181.9 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000164/5.257, allocations: 82.97 kB / 2.415 GB, free: 181.8 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003074/5.26, allocations: 1.368 MB / 2.416 GB, free: 180.4 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.162e-05/5.26, allocations: 12 kB / 2.416 GB, free: 180.4 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/5.26, allocations: 0 / 2.416 GB, free: 180.4 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.305e-05/5.26, allocations: 11.97 kB / 2.416 GB, free: 180.4 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003999/5.264, allocations: 2.344 MB / 2.418 GB, free: 178 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.521e-06/5.264, allocations: 8 kB / 2.418 GB, free: 178 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001379/5.266, allocations: 255.6 kB / 2.419 GB, free: 177.7 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005245/5.266, allocations: 84.78 kB / 2.419 GB, free: 177.7 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.748e-05/5.266, allocations: 23.91 kB / 2.419 GB, free: 177.6 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00155/5.268, allocations: 1.476 MB / 2.42 GB, free: 176 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.066e-06/5.268, allocations: 4.062 kB / 2.42 GB, free: 176 MB / 0.6823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002393/5.27, allocations: 1.185 MB / 2.421 GB, free: 174.8 MB / 0.6823 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002555/5.273, allocations: 1.608 MB / 2.423 GB, free: 173.2 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006284/5.274, allocations: 319.6 kB / 2.423 GB, free: 172.9 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002662/5.274, allocations: 3.906 kB / 2.423 GB, free: 172.9 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001279/5.275, allocations: 115.9 kB / 2.423 GB, free: 172.8 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001394/5.275, allocations: 60.91 kB / 2.423 GB, free: 172.7 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.816e-05/5.275, allocations: 43.97 kB / 2.423 GB, free: 172.7 MB / 0.6823 GB Notification: Performance of sort global known variables: time 0.0005314/5.276, allocations: 410.9 kB / 2.424 GB, free: 172.3 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.002167/5.278, allocations: 486.8 kB / 2.424 GB, free: 171.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 (113): * Single equations (assignments): 110 * 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.002233/5.28, allocations: 1.082 MB / 2.425 GB, free: 170.8 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.001734/5.282, allocations: 0.9751 MB / 2.426 GB, free: 169.8 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 4.478e-06/5.282, allocations: 7.938 kB / 2.426 GB, free: 169.8 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0009555/5.283, allocations: 0.6147 MB / 2.427 GB, free: 169.2 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001062/5.284, allocations: 218.4 kB / 2.427 GB, free: 169 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004146/5.288, allocations: 1.623 MB / 2.429 GB, free: 167.3 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001062/5.289, allocations: 1.218 MB / 2.43 GB, free: 166.1 MB / 0.6823 GB Notification: Performance of SimCode: time 4.01e-07/5.289, allocations: 0 / 2.43 GB, free: 166.1 MB / 0.6823 GB (rm -f IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.pipe ; mkfifo IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.pipe >> ../files/IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_BrighteningCoefficient_fmu --startTime=0 --stopTime=8.64e+06 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_BrighteningCoefficient.fmu > IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.pipe 2>&1)