Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.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.ZenithAngle,fileNamePrefix="BuildingSystems_BuildingSystems_BoundaryConditions_SolarGeometry_BaseClasses_Examples_ZenithAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle,fileNamePrefix="BuildingSystems_BuildingSystems_BoundaryConditions_SolarGeometry_BaseClasses_Examples_ZenithAngle",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.7331/0.7331, allocations: 141.8 MB / 149.1 MB, free: 4.371 MB / 122.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001085/0.001085, allocations: 179.4 kB / 181.9 MB, free: 48 kB / 138.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.373/1.373, allocations: 221.3 MB / 436 MB, free: 9.219 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.0009689/0.0009689, allocations: 102.8 kB / 0.507 GB, free: 24.16 MB / 394.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001989/0.001989, allocations: 270.2 kB / 0.5884 GB, free: 12.24 MB / 442.9 MB Notification: Performance of FrontEnd - loaded program: time 0.2246/0.2266, allocations: 89.66 MB / 0.676 GB, free: 2.492 MB / 0.5107 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5019/0.7285, allocations: 82.77 MB / 0.7568 GB, free: 112.8 MB / 0.5263 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.16/4.888, allocations: 1.69 GB / 2.447 GB, free: 113.5 MB / 0.6982 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004681/4.889, allocations: 96.67 kB / 2.447 GB, free: 113.4 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: 201 * Number of variables: 201 Notification: Performance of Generate backend data structure: time 0.1406/5.03, allocations: 60.84 MB / 2.507 GB, free: 52.41 MB / 0.6982 GB Notification: Performance of prepare preOptimizeDAE: time 6.092e-05/5.03, allocations: 15.98 kB / 2.507 GB, free: 52.39 MB / 0.6982 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001354/5.031, allocations: 190.5 kB / 2.507 GB, free: 52.2 MB / 0.6982 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001454/5.033, allocations: 0.6114 MB / 2.507 GB, free: 51.55 MB / 0.6982 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.893e-05/5.033, allocations: 32 kB / 2.507 GB, free: 51.52 MB / 0.6982 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.705e-05/5.033, allocations: 44 kB / 2.507 GB, free: 51.47 MB / 0.6982 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001347/5.034, allocations: 0.9757 MB / 2.508 GB, free: 50.5 MB / 0.6982 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001087/5.035, allocations: 0.7272 MB / 2.509 GB, free: 49.73 MB / 0.6982 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.297e-05/5.035, allocations: 0 / 2.509 GB, free: 49.73 MB / 0.6982 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.851e-05/5.035, allocations: 7.938 kB / 2.509 GB, free: 49.72 MB / 0.6982 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.029e-05/5.035, allocations: 20 kB / 2.509 GB, free: 49.7 MB / 0.6982 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003553/5.039, allocations: 2.262 MB / 2.511 GB, free: 47.38 MB / 0.6982 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001021/5.04, allocations: 0.7139 MB / 2.512 GB, free: 46.64 MB / 0.6982 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003347/5.04, allocations: 238.8 kB / 2.512 GB, free: 46.4 MB / 0.6982 GB Notification: Performance of preOpt evalFunc (simulation): time 9.851e-05/5.04, allocations: 36.67 kB / 2.512 GB, free: 46.37 MB / 0.6982 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005133/5.041, allocations: 374 kB / 2.513 GB, free: 45.98 MB / 0.6982 GB Notification: Performance of pre-optimization done (n=72): time 3.657e-06/5.041, allocations: 11.94 kB / 2.513 GB, free: 45.97 MB / 0.6982 GB Notification: Performance of matching and sorting (n=72): time 0.001583/5.043, allocations: 0.6249 MB / 2.513 GB, free: 45.34 MB / 0.6982 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.635e-05/5.043, allocations: 248 kB / 2.514 GB, free: 45.04 MB / 0.6982 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005958/5.043, allocations: 0.4984 MB / 2.514 GB, free: 44.53 MB / 0.6982 GB Notification: Performance of collectPreVariables (initialization): time 5.505e-05/5.043, allocations: 25.7 kB / 2.514 GB, free: 44.5 MB / 0.6982 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002081/5.044, allocations: 292.2 kB / 2.514 GB, free: 44.21 MB / 0.6982 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001428/5.044, allocations: 232.5 kB / 2.515 GB, free: 43.98 MB / 0.6982 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.953e-05/5.044, allocations: 0 / 2.515 GB, free: 43.98 MB / 0.6982 GB Notification: Performance of setup shared object (initialization): time 0.0001257/5.044, allocations: 374.8 kB / 2.515 GB, free: 43.6 MB / 0.6982 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002688/5.044, allocations: 185.3 kB / 2.515 GB, free: 43.42 MB / 0.6982 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003334/5.044, allocations: 290.4 kB / 2.515 GB, free: 43.11 MB / 0.6982 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003518/5.045, allocations: 235.1 kB / 2.516 GB, free: 42.88 MB / 0.6982 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.107e-06/5.045, allocations: 4 kB / 2.516 GB, free: 42.88 MB / 0.6982 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001386/5.046, allocations: 0.6443 MB / 2.516 GB, free: 42.22 MB / 0.6982 GB Notification: Performance of prepare postOptimizeDAE: time 2.19e-05/5.046, allocations: 4 kB / 2.516 GB, free: 42.22 MB / 0.6982 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.052e-05/5.046, allocations: 0 / 2.516 GB, free: 42.22 MB / 0.6982 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006675/5.047, allocations: 84.84 kB / 2.516 GB, free: 42.13 MB / 0.6982 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005933/5.048, allocations: 139.8 kB / 2.516 GB, free: 42 MB / 0.6982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001825/5.049, allocations: 1.452 MB / 2.518 GB, free: 40.42 MB / 0.6982 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005568/5.05, allocations: 63.61 kB / 2.518 GB, free: 40.36 MB / 0.6982 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.579e-05/5.05, allocations: 27.97 kB / 2.518 GB, free: 40.33 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 (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.0001691/5.05, allocations: 120.8 kB / 2.518 GB, free: 40.21 MB / 0.6982 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001107/5.05, allocations: 67.16 kB / 2.518 GB, free: 40.14 MB / 0.6982 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001956/5.052, allocations: 0.929 MB / 2.519 GB, free: 39.22 MB / 0.6982 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.755e-06/5.052, allocations: 8 kB / 2.519 GB, free: 39.21 MB / 0.6982 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.826e-06/5.052, allocations: 0 / 2.519 GB, free: 39.21 MB / 0.6982 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.158e-05/5.052, allocations: 3.984 kB / 2.519 GB, free: 39.21 MB / 0.6982 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002717/5.055, allocations: 1.698 MB / 2.521 GB, free: 37.46 MB / 0.6982 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.35e-06/5.055, allocations: 0 / 2.521 GB, free: 37.46 MB / 0.6982 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006202/5.056, allocations: 155.8 kB / 2.521 GB, free: 37.31 MB / 0.6982 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005199/5.056, allocations: 84.78 kB / 2.521 GB, free: 37.22 MB / 0.6982 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.387e-05/5.056, allocations: 19.89 kB / 2.521 GB, free: 37.2 MB / 0.6982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001704/5.058, allocations: 1.469 MB / 2.522 GB, free: 35.61 MB / 0.6982 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.861e-06/5.058, allocations: 3.984 kB / 2.522 GB, free: 35.61 MB / 0.6982 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001553/5.06, allocations: 0.8128 MB / 2.523 GB, free: 34.77 MB / 0.6982 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001722/5.061, allocations: 1.235 MB / 2.524 GB, free: 33.52 MB / 0.6982 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004446/5.062, allocations: 272 kB / 2.525 GB, free: 33.23 MB / 0.6982 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001224/5.062, allocations: 7.906 kB / 2.525 GB, free: 33.22 MB / 0.6982 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000606/5.063, allocations: 59.94 kB / 2.525 GB, free: 33.16 MB / 0.6982 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001406/5.063, allocations: 48.7 kB / 2.525 GB, free: 33.11 MB / 0.6982 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.539e-05/5.063, allocations: 27.98 kB / 2.525 GB, free: 33.09 MB / 0.6982 GB Notification: Performance of sort global known variables: time 0.0005614/5.063, allocations: 410.9 kB / 2.525 GB, free: 32.69 MB / 0.6982 GB Notification: Performance of remove unused functions: time 0.002092/5.065, allocations: 403 kB / 2.526 GB, free: 32.29 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 (86): * Single equations (assignments): 83 * 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.00191/5.067, allocations: 1.061 MB / 2.527 GB, free: 31.32 MB / 0.6982 GB Notification: Performance of simCode: created initialization part: time 0.001236/5.069, allocations: 0.635 MB / 2.527 GB, free: 30.68 MB / 0.6982 GB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/5.069, allocations: 8.125 kB / 2.527 GB, free: 30.67 MB / 0.6982 GB Notification: Performance of simCode: created simulation system equations: time 0.0006014/5.069, allocations: 448.6 kB / 2.528 GB, free: 30.22 MB / 0.6982 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009795/5.07, allocations: 202.9 kB / 2.528 GB, free: 30.03 MB / 0.6982 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003367/5.074, allocations: 1.331 MB / 2.529 GB, free: 28.67 MB / 0.6982 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006723/5.074, allocations: 1.123 MB / 2.53 GB, free: 27.52 MB / 0.6982 GB Notification: Performance of SimCode: time 3.8e-07/5.074, allocations: 0 / 2.53 GB, free: 27.52 MB / 0.6982 GB (rm -f BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe ; mkfifo BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe >> ../files/BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_BoundaryConditions_SolarGeometry_BaseClasses_Examples_ZenithAngle_fmu --startTime=100000 --stopTime=300000 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_BoundaryConditions_SolarGeometry_BaseClasses_Examples_ZenithAngle.fmu > BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe 2>&1)