Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.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/IBPSA 4.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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness,fileNamePrefix="IBPSA_latest_IBPSA_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyBrightness",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness,fileNamePrefix="IBPSA_latest_IBPSA_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyBrightness",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.001076/0.001076, allocations: 191.1 kB / 7.806 MB, free: 2.488 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4433/0.4433, allocations: 90.85 MB / 99.07 MB, free: 14.93 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.267/1.267, allocations: 221.4 MB / 342.8 MB, free: 5.211 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009525/0.0009525, allocations: 98.12 kB / 415.5 MB, free: 6.438 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1722/0.1732, allocations: 78.45 MB / 494 MB, free: 7.992 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4116/0.5848, allocations: 72.3 MB / 0.553 GB, free: 73.33 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 3.329/3.913, allocations: 1.684 GB / 2.237 GB, free: 142.1 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002683/3.914, allocations: 91.94 kB / 2.237 GB, free: 142 MB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 232 * Number of variables: 232 Notification: Performance of Generate backend data structure: time 0.1399/4.054, allocations: 67.14 MB / 2.303 GB, free: 74.75 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.214e-05/4.054, allocations: 12 kB / 2.303 GB, free: 74.74 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001806/4.056, allocations: 318.2 kB / 2.303 GB, free: 74.43 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001266/4.057, allocations: 0.6348 MB / 2.304 GB, free: 73.75 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.47e-05/4.057, allocations: 29.5 kB / 2.304 GB, free: 73.72 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001334/4.057, allocations: 52 kB / 2.304 GB, free: 73.67 MB / 0.6042 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001636/4.059, allocations: 1.054 MB / 2.305 GB, free: 72.62 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001375/4.06, allocations: 0.8044 MB / 2.306 GB, free: 71.77 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.287e-05/4.06, allocations: 3.938 kB / 2.306 GB, free: 71.77 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.045e-05/4.06, allocations: 0 / 2.306 GB, free: 71.77 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.939e-05/4.06, allocations: 24 kB / 2.306 GB, free: 71.75 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004226/4.065, allocations: 2.437 MB / 2.308 GB, free: 69.25 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001737/4.066, allocations: 0.8117 MB / 2.309 GB, free: 68.41 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003567/4.067, allocations: 258.8 kB / 2.309 GB, free: 68.16 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 8.179e-05/4.067, allocations: 32.61 kB / 2.309 GB, free: 68.12 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005152/4.067, allocations: 398 kB / 2.31 GB, free: 67.71 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=75): time 2.405e-06/4.067, allocations: 3.938 kB / 2.31 GB, free: 67.71 MB / 0.6042 GB Notification: Performance of matching and sorting (n=75): time 0.001567/4.069, allocations: 0.6638 MB / 2.31 GB, free: 67.04 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.188e-05/4.069, allocations: 245.4 kB / 2.31 GB, free: 66.74 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000599/4.07, allocations: 0.4944 MB / 2.311 GB, free: 66.24 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 6.074e-05/4.07, allocations: 29.7 kB / 2.311 GB, free: 66.21 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001592/4.07, allocations: 331.9 kB / 2.311 GB, free: 65.88 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001444/4.07, allocations: 240.4 kB / 2.311 GB, free: 65.64 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.419e-05/4.07, allocations: 0 / 2.311 GB, free: 65.64 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 9.182e-05/4.07, allocations: 374.8 kB / 2.312 GB, free: 65.26 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000292/4.07, allocations: 197.3 kB / 2.312 GB, free: 65.07 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003497/4.071, allocations: 314.3 kB / 2.312 GB, free: 64.73 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003738/4.071, allocations: 247.1 kB / 2.313 GB, free: 64.49 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.258e-06/4.071, allocations: 0 / 2.313 GB, free: 64.49 MB / 0.6042 GB Notification: Performance of matching and sorting (n=79) (initialization): time 0.001419/4.073, allocations: 0.6678 MB / 2.313 GB, free: 63.82 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.542e-05/4.073, allocations: 8 kB / 2.313 GB, free: 63.81 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.542e-06/4.073, allocations: 0 / 2.313 GB, free: 63.81 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006/4.073, allocations: 82.53 kB / 2.313 GB, free: 63.73 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007235/4.074, allocations: 167.8 kB / 2.313 GB, free: 63.56 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001688/4.076, allocations: 1.459 MB / 2.315 GB, free: 61.98 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006854/4.076, allocations: 83.59 kB / 2.315 GB, free: 61.89 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.06e-05/4.076, allocations: 31.97 kB / 2.315 GB, free: 61.86 MB / 0.6042 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 (77): * Single equations (assignments): 76 * 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.0001543/4.077, allocations: 125.6 kB / 2.315 GB, free: 61.73 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001207/4.077, allocations: 75.06 kB / 2.315 GB, free: 61.66 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002/4.079, allocations: 0.9515 MB / 2.316 GB, free: 60.71 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.304e-06/4.079, allocations: 12 kB / 2.316 GB, free: 60.7 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.986e-06/4.079, allocations: 0 / 2.316 GB, free: 60.7 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.936e-06/4.079, allocations: 3.984 kB / 2.316 GB, free: 60.7 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002628/4.081, allocations: 1.778 MB / 2.318 GB, free: 58.87 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.348e-06/4.081, allocations: 4 kB / 2.318 GB, free: 58.87 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007327/4.082, allocations: 163.8 kB / 2.318 GB, free: 58.71 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004991/4.083, allocations: 88.75 kB / 2.318 GB, free: 58.62 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.698e-05/4.083, allocations: 15.98 kB / 2.318 GB, free: 58.6 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001481/4.084, allocations: 1.48 MB / 2.32 GB, free: 57 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.705e-06/4.084, allocations: 0 / 2.32 GB, free: 57 MB / 0.6042 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001413/4.086, allocations: 0.8497 MB / 2.32 GB, free: 56.13 MB / 0.6042 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001581/4.087, allocations: 1.262 MB / 2.322 GB, free: 54.85 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000348/4.088, allocations: 275.8 kB / 2.322 GB, free: 54.56 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001418/4.088, allocations: 12.06 kB / 2.322 GB, free: 54.55 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007316/4.088, allocations: 79.92 kB / 2.322 GB, free: 54.47 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001067/4.089, allocations: 52.59 kB / 2.322 GB, free: 54.42 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.906e-05/4.089, allocations: 35.98 kB / 2.322 GB, free: 54.38 MB / 0.6042 GB Notification: Performance of sort global known variables: time 0.0004008/4.089, allocations: 402.9 kB / 2.322 GB, free: 53.99 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.001751/4.091, allocations: 430.9 kB / 2.323 GB, free: 53.57 MB / 0.6042 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 (88): * Single equations (assignments): 85 * 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.001813/4.093, allocations: 1.051 MB / 2.324 GB, free: 52.61 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.001123/4.094, allocations: 0.6741 MB / 2.325 GB, free: 51.93 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.617e-06/4.094, allocations: 0 / 2.325 GB, free: 51.93 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.000671/4.094, allocations: 468.8 kB / 2.325 GB, free: 51.46 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009867/4.095, allocations: 210.7 kB / 2.325 GB, free: 51.26 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003519/4.099, allocations: 1.417 MB / 2.327 GB, free: 49.81 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000795/4.1, allocations: 1.154 MB / 2.328 GB, free: 48.62 MB / 0.6042 GB Notification: Performance of SimCode: time 2.9e-07/4.1, allocations: 0 / 2.328 GB, free: 48.62 MB / 0.6042 GB (rm -f IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe ; mkfifo IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe >> ../files/IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyBrightness_fmu --startTime=0 --stopTime=8.64e+06 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyBrightness.fmu > IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe 2>&1)