Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.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.SolarGeometry.BaseClasses.Examples.IncidenceAngle,fileNamePrefix="BuildingSystems_BuildingSystems_BoundaryConditions_SolarGeometry_BaseClasses_Examples_IncidenceAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle,fileNamePrefix="BuildingSystems_BuildingSystems_BoundaryConditions_SolarGeometry_BaseClasses_Examples_IncidenceAngle",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.7584/0.7584, allocations: 141.8 MB / 149.1 MB, free: 11.87 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.001066/0.001066, allocations: 188.8 kB / 182 MB, free: 8.625 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.512/1.512, allocations: 221.4 MB / 436.1 MB, free: 0.9609 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.001085/0.001085, allocations: 97.98 kB / 0.5071 GB, free: 17.76 MB / 378.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002375/0.002375, allocations: 278.2 kB / 0.5885 GB, free: 2.66 MB / 442.9 MB Notification: Performance of FrontEnd - loaded program: time 0.5506/0.5531, allocations: 89.64 MB / 0.676 GB, free: 136.3 MB / 0.5107 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2157/0.7687, allocations: 82.77 MB / 0.7568 GB, free: 81.24 MB / 0.5107 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.956/4.725, allocations: 1.691 GB / 2.448 GB, free: 30.71 MB / 0.6982 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002491/4.726, allocations: 99.92 kB / 2.448 GB, free: 30.61 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: 207 * Number of variables: 207 Notification: Performance of Generate backend data structure: time 0.5403/5.266, allocations: 61.34 MB / 2.508 GB, free: 231.5 MB / 0.6982 GB Notification: Performance of prepare preOptimizeDAE: time 7.441e-05/5.266, allocations: 9.188 kB / 2.508 GB, free: 231.5 MB / 0.6982 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001674/5.268, allocations: 203.3 kB / 2.508 GB, free: 231.4 MB / 0.6982 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001882/5.27, allocations: 0.6142 MB / 2.509 GB, free: 231.1 MB / 0.6982 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001001/5.27, allocations: 26.66 kB / 2.509 GB, free: 231.1 MB / 0.6982 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002283/5.27, allocations: 46 kB / 2.509 GB, free: 231.1 MB / 0.6982 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002425/5.272, allocations: 1.018 MB / 2.51 GB, free: 231.1 MB / 0.6982 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001915/5.274, allocations: 0.738 MB / 2.511 GB, free: 231 MB / 0.6982 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.883e-05/5.274, allocations: 4 kB / 2.511 GB, free: 231 MB / 0.6982 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001158/5.275, allocations: 5.422 kB / 2.511 GB, free: 231 MB / 0.6982 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.945e-05/5.275, allocations: 23.91 kB / 2.511 GB, free: 231 MB / 0.6982 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005096/5.28, allocations: 2.457 MB / 2.513 GB, free: 230.1 MB / 0.6982 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001117/5.281, allocations: 0.6602 MB / 2.514 GB, free: 230.1 MB / 0.6982 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003709/5.281, allocations: 251.8 kB / 2.514 GB, free: 230.1 MB / 0.6982 GB Notification: Performance of preOpt evalFunc (simulation): time 8.629e-05/5.281, allocations: 30.88 kB / 2.514 GB, free: 230.1 MB / 0.6982 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005656/5.282, allocations: 393.3 kB / 2.515 GB, free: 230 MB / 0.6982 GB Notification: Performance of pre-optimization done (n=76): time 2.855e-06/5.282, allocations: 1.25 kB / 2.515 GB, free: 230 MB / 0.6982 GB Notification: Performance of matching and sorting (n=76): time 0.001729/5.284, allocations: 0.6588 MB / 2.515 GB, free: 229.9 MB / 0.6982 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.205e-05/5.284, allocations: 245.1 kB / 2.515 GB, free: 229.6 MB / 0.6982 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007388/5.284, allocations: 0.5056 MB / 2.516 GB, free: 229.5 MB / 0.6982 GB Notification: Performance of collectPreVariables (initialization): time 6.598e-05/5.285, allocations: 27.08 kB / 2.516 GB, free: 229.5 MB / 0.6982 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001903/5.285, allocations: 297 kB / 2.516 GB, free: 229.3 MB / 0.6982 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002005/5.285, allocations: 247.2 kB / 2.516 GB, free: 229.1 MB / 0.6982 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.257e-05/5.285, allocations: 0 / 2.516 GB, free: 229.1 MB / 0.6982 GB Notification: Performance of setup shared object (initialization): time 0.0001247/5.285, allocations: 375.2 kB / 2.517 GB, free: 228.8 MB / 0.6982 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000347/5.285, allocations: 205.7 kB / 2.517 GB, free: 228.8 MB / 0.6982 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004084/5.286, allocations: 299.5 kB / 2.517 GB, free: 228.7 MB / 0.6982 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004225/5.286, allocations: 253.9 kB / 2.518 GB, free: 228.7 MB / 0.6982 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.316e-06/5.286, allocations: 7.938 kB / 2.518 GB, free: 228.7 MB / 0.6982 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.00169/5.288, allocations: 0.6782 MB / 2.518 GB, free: 228.6 MB / 0.6982 GB Notification: Performance of prepare postOptimizeDAE: time 2.097e-05/5.288, allocations: 7.938 kB / 2.518 GB, free: 228.6 MB / 0.6982 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.007e-06/5.288, allocations: 4 kB / 2.518 GB, free: 228.6 MB / 0.6982 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006634/5.289, allocations: 81.28 kB / 2.518 GB, free: 228.6 MB / 0.6982 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000731/5.289, allocations: 153.8 kB / 2.518 GB, free: 228.6 MB / 0.6982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002049/5.292, allocations: 1.466 MB / 2.52 GB, free: 227.4 MB / 0.6982 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008275/5.292, allocations: 62.91 kB / 2.52 GB, free: 227.3 MB / 0.6982 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.484e-05/5.292, allocations: 25.94 kB / 2.52 GB, free: 227.3 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 (80): * Single equations (assignments): 79 * 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.0002078/5.293, allocations: 124.5 kB / 2.52 GB, free: 227.2 MB / 0.6982 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002768/5.293, allocations: 73.25 kB / 2.52 GB, free: 227.2 MB / 0.6982 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002391/5.295, allocations: 0.9518 MB / 2.521 GB, free: 227.1 MB / 0.6982 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.055e-06/5.295, allocations: 11.44 kB / 2.521 GB, free: 227.1 MB / 0.6982 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.629e-06/5.295, allocations: 0 / 2.521 GB, free: 227.1 MB / 0.6982 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.094e-05/5.295, allocations: 3.609 kB / 2.521 GB, free: 227.1 MB / 0.6982 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003187/5.299, allocations: 1.716 MB / 2.523 GB, free: 226.7 MB / 0.6982 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.977e-06/5.299, allocations: 0 / 2.523 GB, free: 226.7 MB / 0.6982 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006237/5.299, allocations: 155.8 kB / 2.523 GB, free: 226.7 MB / 0.6982 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005345/5.3, allocations: 80.56 kB / 2.523 GB, free: 226.7 MB / 0.6982 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.786e-05/5.3, allocations: 15.78 kB / 2.523 GB, free: 226.7 MB / 0.6982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001698/5.302, allocations: 1.483 MB / 2.524 GB, free: 225.5 MB / 0.6982 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.097e-06/5.302, allocations: 3.656 kB / 2.524 GB, free: 225.5 MB / 0.6982 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001794/5.303, allocations: 0.8338 MB / 2.525 GB, free: 225.3 MB / 0.6982 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002011/5.305, allocations: 1.243 MB / 2.527 GB, free: 224.7 MB / 0.6982 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005683/5.306, allocations: 278.8 kB / 2.527 GB, free: 224.5 MB / 0.6982 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002497/5.306, allocations: 4.969 kB / 2.527 GB, free: 224.5 MB / 0.6982 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000804/5.307, allocations: 61.62 kB / 2.527 GB, free: 224.5 MB / 0.6982 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001393/5.307, allocations: 54.17 kB / 2.527 GB, free: 224.5 MB / 0.6982 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.575e-05/5.307, allocations: 33.64 kB / 2.527 GB, free: 224.5 MB / 0.6982 GB Notification: Performance of sort global known variables: time 0.000728/5.308, allocations: 415.9 kB / 2.527 GB, free: 224.4 MB / 0.6982 GB Notification: Performance of remove unused functions: time 0.001981/5.31, allocations: 415.1 kB / 2.528 GB, free: 224.4 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 (87): * Single equations (assignments): 84 * 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.001606/5.312, allocations: 1.041 MB / 2.529 GB, free: 224 MB / 0.6982 GB Notification: Performance of simCode: created initialization part: time 0.001586/5.313, allocations: 0.6737 MB / 2.529 GB, free: 223.9 MB / 0.6982 GB Notification: Performance of simCode: created event and clocks part: time 5.229e-06/5.313, allocations: 0.8125 kB / 2.529 GB, free: 223.9 MB / 0.6982 GB Notification: Performance of simCode: created simulation system equations: time 0.0009656/5.314, allocations: 452.1 kB / 2.53 GB, free: 223.8 MB / 0.6982 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001602/5.316, allocations: 211.6 kB / 2.53 GB, free: 223.8 MB / 0.6982 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005099/5.321, allocations: 1.362 MB / 2.531 GB, free: 223.5 MB / 0.6982 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001083/5.322, allocations: 1.134 MB / 2.532 GB, free: 222.7 MB / 0.6982 GB Notification: Performance of SimCode: time 1.122e-06/5.322, allocations: 0 / 2.532 GB, free: 222.7 MB / 0.6982 GB (rm -f BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe ; mkfifo BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe >> ../files/BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_BoundaryConditions_SolarGeometry_BaseClasses_Examples_IncidenceAngle_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_BoundaryConditions_SolarGeometry_BaseClasses_Examples_IncidenceAngle.fmu > BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe 2>&1)