Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) 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/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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) 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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness,fileNamePrefix="BuildingSystems_BuildingSystems_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyClearness",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness,fileNamePrefix="BuildingSystems_BuildingSystems_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyClearness",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/BuildingSystems 2.0.0-master/package.mo): time 0.7961/0.7961, allocations: 141.8 MB / 149.1 MB, free: 13.05 MB / 138.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001234/0.001234, allocations: 178.4 kB / 181.9 MB, free: 9.746 MB / 154.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.498/1.498, allocations: 221.4 MB / 436 MB, free: 2.207 MB / 330.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001036/0.001036, allocations: 92.67 kB / 0.507 GB, free: 10.96 MB / 394.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001958/0.001958, allocations: 268.3 kB / 0.5884 GB, free: 7.777 MB / 474.9 MB Notification: Performance of FrontEnd - loaded program: time 0.2323/0.2343, allocations: 89.66 MB / 0.676 GB, free: 14.04 MB / 0.5575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4968/0.7311, allocations: 82.76 MB / 0.7568 GB, free: 138.9 MB / 0.5575 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.85/4.581, allocations: 1.691 GB / 2.448 GB, free: 59.06 MB / 0.6982 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003124/4.582, allocations: 97.2 kB / 2.448 GB, free: 58.97 MB / 0.6982 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 228 * Number of variables: 228 Notification: Performance of Generate backend data structure: time 0.5296/5.111, allocations: 69.74 MB / 2.516 GB, free: 232.2 MB / 0.6982 GB Notification: Performance of prepare preOptimizeDAE: time 4.668e-05/5.111, allocations: 7.562 kB / 2.516 GB, free: 232.2 MB / 0.6982 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001178/5.113, allocations: 230.3 kB / 2.516 GB, free: 232.1 MB / 0.6982 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001063/5.114, allocations: 0.6353 MB / 2.517 GB, free: 231.9 MB / 0.6982 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.073e-05/5.114, allocations: 26.84 kB / 2.517 GB, free: 231.9 MB / 0.6982 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.924e-05/5.114, allocations: 57.33 kB / 2.517 GB, free: 231.9 MB / 0.6982 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002082/5.116, allocations: 1.023 MB / 2.518 GB, free: 231.9 MB / 0.6982 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001749/5.118, allocations: 0.792 MB / 2.519 GB, free: 231.7 MB / 0.6982 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.663e-05/5.118, allocations: 0 / 2.519 GB, free: 231.7 MB / 0.6982 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.4e-05/5.118, allocations: 0 / 2.519 GB, free: 231.7 MB / 0.6982 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.222e-05/5.118, allocations: 29.16 kB / 2.519 GB, free: 231.7 MB / 0.6982 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004191/5.122, allocations: 2.421 MB / 2.521 GB, free: 231 MB / 0.6982 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009905/5.123, allocations: 0.7383 MB / 2.522 GB, free: 230.9 MB / 0.6982 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003346/5.123, allocations: 249.5 kB / 2.522 GB, free: 230.9 MB / 0.6982 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000659/5.124, allocations: 472.9 kB / 2.523 GB, free: 230.4 MB / 0.6982 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005178/5.125, allocations: 380.4 kB / 2.523 GB, free: 230.3 MB / 0.6982 GB Notification: Performance of pre-optimization done (n=73): time 3.406e-06/5.125, allocations: 3.844 kB / 2.523 GB, free: 230.3 MB / 0.6982 GB Notification: Performance of matching and sorting (n=73): time 0.001954/5.127, allocations: 0.7104 MB / 2.524 GB, free: 230.3 MB / 0.6982 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.264e-05/5.127, allocations: 246.6 kB / 2.524 GB, free: 230 MB / 0.6982 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006352/5.127, allocations: 0.4979 MB / 2.524 GB, free: 229.9 MB / 0.6982 GB Notification: Performance of collectPreVariables (initialization): time 5.633e-05/5.127, allocations: 25.7 kB / 2.524 GB, free: 229.8 MB / 0.6982 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002145/5.128, allocations: 329.4 kB / 2.525 GB, free: 229.6 MB / 0.6982 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001724/5.128, allocations: 229.1 kB / 2.525 GB, free: 229.5 MB / 0.6982 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.163e-05/5.128, allocations: 0 / 2.525 GB, free: 229.5 MB / 0.6982 GB Notification: Performance of setup shared object (initialization): time 0.0001134/5.128, allocations: 374.8 kB / 2.525 GB, free: 229.2 MB / 0.6982 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002799/5.128, allocations: 187.3 kB / 2.525 GB, free: 229.2 MB / 0.6982 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003404/5.129, allocations: 298.6 kB / 2.526 GB, free: 229.1 MB / 0.6982 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006104/5.129, allocations: 315.6 kB / 2.526 GB, free: 229.1 MB / 0.6982 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.455e-06/5.129, allocations: 0 / 2.526 GB, free: 229.1 MB / 0.6982 GB Notification: Performance of matching and sorting (n=77) (initialization): time 0.001539/5.131, allocations: 0.7179 MB / 2.527 GB, free: 229 MB / 0.6982 GB Notification: Performance of prepare postOptimizeDAE: time 1.496e-05/5.131, allocations: 7.25 kB / 2.527 GB, free: 229 MB / 0.6982 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.632e-06/5.131, allocations: 3.156 kB / 2.527 GB, free: 229 MB / 0.6982 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006018/5.131, allocations: 80.5 kB / 2.527 GB, free: 229 MB / 0.6982 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006115/5.132, allocations: 141 kB / 2.527 GB, free: 229 MB / 0.6982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001804/5.134, allocations: 1.457 MB / 2.528 GB, free: 227.7 MB / 0.6982 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006746/5.135, allocations: 71.47 kB / 2.528 GB, free: 227.7 MB / 0.6982 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.087e-05/5.135, allocations: 22.78 kB / 2.528 GB, free: 227.7 MB / 0.6982 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 (75): * Single equations (assignments): 74 * 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.0001999/5.135, allocations: 126.2 kB / 2.529 GB, free: 227.6 MB / 0.6982 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001248/5.135, allocations: 76.75 kB / 2.529 GB, free: 227.6 MB / 0.6982 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002366/5.137, allocations: 0.9813 MB / 2.53 GB, free: 227.5 MB / 0.6982 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.114e-05/5.137, allocations: 11.41 kB / 2.53 GB, free: 227.5 MB / 0.6982 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.976e-06/5.137, allocations: 2.625 kB / 2.53 GB, free: 227.5 MB / 0.6982 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.228e-05/5.137, allocations: 7.406 kB / 2.53 GB, free: 227.5 MB / 0.6982 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00305/5.14, allocations: 1.785 MB / 2.531 GB, free: 227.2 MB / 0.6982 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.548e-06/5.14, allocations: 0 / 2.531 GB, free: 227.2 MB / 0.6982 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005973/5.141, allocations: 148.3 kB / 2.532 GB, free: 227.2 MB / 0.6982 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005228/5.142, allocations: 88.48 kB / 2.532 GB, free: 227.2 MB / 0.6982 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.856e-05/5.142, allocations: 14.11 kB / 2.532 GB, free: 227.2 MB / 0.6982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001556/5.143, allocations: 1.48 MB / 2.533 GB, free: 225.9 MB / 0.6982 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.097e-06/5.143, allocations: 0 / 2.533 GB, free: 225.9 MB / 0.6982 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00182/5.145, allocations: 0.8883 MB / 2.534 GB, free: 225.7 MB / 0.6982 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001828/5.147, allocations: 1.297 MB / 2.535 GB, free: 225.2 MB / 0.6982 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003975/5.147, allocations: 280.3 kB / 2.535 GB, free: 225 MB / 0.6982 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001486/5.147, allocations: 0 / 2.535 GB, free: 225 MB / 0.6982 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006626/5.148, allocations: 60.09 kB / 2.536 GB, free: 225 MB / 0.6982 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001284/5.148, allocations: 54.78 kB / 2.536 GB, free: 225 MB / 0.6982 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.402e-05/5.148, allocations: 29.81 kB / 2.536 GB, free: 225 MB / 0.6982 GB Notification: Performance of sort global known variables: time 0.0005584/5.149, allocations: 402.1 kB / 2.536 GB, free: 224.9 MB / 0.6982 GB Notification: Performance of remove unused functions: time 0.001999/5.151, allocations: 446.2 kB / 2.536 GB, free: 224.9 MB / 0.6982 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 (84): * Single equations (assignments): 81 * 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.001869/5.153, allocations: 1.085 MB / 2.537 GB, free: 224.6 MB / 0.6982 GB Notification: Performance of simCode: created initialization part: time 0.001153/5.154, allocations: 0.6498 MB / 2.538 GB, free: 224.5 MB / 0.6982 GB Notification: Performance of simCode: created event and clocks part: time 3.696e-06/5.154, allocations: 0 / 2.538 GB, free: 224.5 MB / 0.6982 GB Notification: Performance of simCode: created simulation system equations: time 0.0006946/5.155, allocations: 446.8 kB / 2.539 GB, free: 224.4 MB / 0.6982 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001148/5.156, allocations: 207.2 kB / 2.539 GB, free: 224.4 MB / 0.6982 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004318/5.16, allocations: 1.389 MB / 2.54 GB, free: 224.1 MB / 0.6982 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001091/5.161, allocations: 1.141 MB / 2.541 GB, free: 223.4 MB / 0.6982 GB Notification: Performance of SimCode: time 1.113e-06/5.161, allocations: 0 / 2.541 GB, free: 223.4 MB / 0.6982 GB (rm -f BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe ; mkfifo BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe >> ../files/BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyClearness_fmu --startTime=100000 --stopTime=3e+06 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyClearness.fmu > BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe 2>&1)