Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.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.Examples.ZenithAngle,fileNamePrefix="BuildingSystems_BuildingSystems_BoundaryConditions_SolarGeometry_Examples_ZenithAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.BoundaryConditions.SolarGeometry.Examples.ZenithAngle,fileNamePrefix="BuildingSystems_BuildingSystems_BoundaryConditions_SolarGeometry_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.7274/0.7274, allocations: 141.8 MB / 149.1 MB, free: 12.96 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.001199/0.0012, allocations: 185 kB / 181.9 MB, free: 9.656 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.479/1.479, allocations: 221.4 MB / 436 MB, free: 2.062 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.001123/0.001123, allocations: 94.97 kB / 0.507 GB, free: 17.74 MB / 378.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001755/0.001755, allocations: 277.3 kB / 0.5884 GB, free: 3.629 MB / 442.9 MB Notification: Performance of FrontEnd - loaded program: time 0.5151/0.517, allocations: 89.63 MB / 0.676 GB, free: 136.3 MB / 0.5107 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1907/0.7077, allocations: 82.78 MB / 0.7568 GB, free: 82.78 MB / 0.5107 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.123/4.831, allocations: 1.69 GB / 2.447 GB, free: 39.12 MB / 0.6982 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003329/4.831, allocations: 83.94 kB / 2.447 GB, free: 39.04 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: 198 * Number of variables: 198 Notification: Performance of Generate backend data structure: time 0.6185/5.45, allocations: 65.04 MB / 2.511 GB, free: 228.6 MB / 0.6982 GB Notification: Performance of prepare preOptimizeDAE: time 9.931e-05/5.45, allocations: 14 kB / 2.511 GB, free: 228.6 MB / 0.6982 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001732/5.452, allocations: 191.6 kB / 2.511 GB, free: 228.5 MB / 0.6982 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001784/5.454, allocations: 0.611 MB / 2.511 GB, free: 228.3 MB / 0.6982 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.984e-05/5.454, allocations: 28.88 kB / 2.511 GB, free: 228.3 MB / 0.6982 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001919/5.454, allocations: 44.06 kB / 2.511 GB, free: 228.3 MB / 0.6982 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002156/5.456, allocations: 0.977 MB / 2.512 GB, free: 228.3 MB / 0.6982 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00148/5.458, allocations: 0.718 MB / 2.513 GB, free: 228.1 MB / 0.6982 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.255e-05/5.458, allocations: 3.938 kB / 2.513 GB, free: 228.1 MB / 0.6982 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.062e-05/5.458, allocations: 5.188 kB / 2.513 GB, free: 228.1 MB / 0.6982 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.07e-05/5.458, allocations: 19.31 kB / 2.513 GB, free: 228.1 MB / 0.6982 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00478/5.463, allocations: 2.279 MB / 2.515 GB, free: 227.4 MB / 0.6982 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001495/5.464, allocations: 0.7253 MB / 2.516 GB, free: 227.3 MB / 0.6982 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005759/5.465, allocations: 248.8 kB / 2.516 GB, free: 227.3 MB / 0.6982 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001175/5.465, allocations: 34.47 kB / 2.516 GB, free: 227.3 MB / 0.6982 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007926/5.466, allocations: 372.4 kB / 2.517 GB, free: 227.2 MB / 0.6982 GB Notification: Performance of pre-optimization done (n=70): time 4.588e-06/5.466, allocations: 0 / 2.517 GB, free: 227.2 MB / 0.6982 GB Notification: Performance of matching and sorting (n=70): time 0.002033/5.468, allocations: 0.6269 MB / 2.517 GB, free: 227.1 MB / 0.6982 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001458/5.468, allocations: 239.9 kB / 2.518 GB, free: 226.8 MB / 0.6982 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001104/5.469, allocations: 0.4982 MB / 2.518 GB, free: 226.7 MB / 0.6982 GB Notification: Performance of collectPreVariables (initialization): time 7.951e-05/5.469, allocations: 27.45 kB / 2.518 GB, free: 226.7 MB / 0.6982 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003693/5.469, allocations: 290.3 kB / 2.518 GB, free: 226.5 MB / 0.6982 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002322/5.47, allocations: 222.3 kB / 2.519 GB, free: 226.4 MB / 0.6982 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.821e-05/5.47, allocations: 0 / 2.519 GB, free: 226.4 MB / 0.6982 GB Notification: Performance of setup shared object (initialization): time 0.0001427/5.47, allocations: 370.9 kB / 2.519 GB, free: 226 MB / 0.6982 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000344/5.47, allocations: 189.8 kB / 2.519 GB, free: 226 MB / 0.6982 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003986/5.471, allocations: 286 kB / 2.519 GB, free: 226 MB / 0.6982 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004208/5.471, allocations: 240.4 kB / 2.52 GB, free: 226 MB / 0.6982 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.679e-06/5.471, allocations: 0 / 2.52 GB, free: 226 MB / 0.6982 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001457/5.472, allocations: 0.636 MB / 2.52 GB, free: 225.9 MB / 0.6982 GB Notification: Performance of prepare postOptimizeDAE: time 1.731e-05/5.472, allocations: 3.656 kB / 2.52 GB, free: 225.9 MB / 0.6982 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.568e-06/5.472, allocations: 3.312 kB / 2.52 GB, free: 225.9 MB / 0.6982 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006829/5.473, allocations: 87.95 kB / 2.52 GB, free: 225.9 MB / 0.6982 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005712/5.474, allocations: 132.5 kB / 2.52 GB, free: 225.9 MB / 0.6982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001745/5.476, allocations: 1.47 MB / 2.522 GB, free: 224.6 MB / 0.6982 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005756/5.476, allocations: 58.61 kB / 2.522 GB, free: 224.6 MB / 0.6982 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.138e-05/5.476, allocations: 29.62 kB / 2.522 GB, free: 224.6 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 (72): * Single equations (assignments): 71 * 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.0001621/5.476, allocations: 124.2 kB / 2.522 GB, free: 224.5 MB / 0.6982 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001177/5.476, allocations: 72.69 kB / 2.522 GB, free: 224.5 MB / 0.6982 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001925/5.478, allocations: 0.8956 MB / 2.523 GB, free: 224.4 MB / 0.6982 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.334e-06/5.478, allocations: 7.875 kB / 2.523 GB, free: 224.4 MB / 0.6982 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.725e-06/5.478, allocations: 0 / 2.523 GB, free: 224.4 MB / 0.6982 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.025e-05/5.478, allocations: 7.938 kB / 2.523 GB, free: 224.4 MB / 0.6982 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002579/5.481, allocations: 1.678 MB / 2.525 GB, free: 224 MB / 0.6982 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.258e-06/5.481, allocations: 7.906 kB / 2.525 GB, free: 224 MB / 0.6982 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005441/5.482, allocations: 137.3 kB / 2.525 GB, free: 224 MB / 0.6982 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005006/5.482, allocations: 83.78 kB / 2.525 GB, free: 224 MB / 0.6982 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.542e-05/5.482, allocations: 11.31 kB / 2.525 GB, free: 224 MB / 0.6982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001537/5.484, allocations: 1.485 MB / 2.526 GB, free: 222.8 MB / 0.6982 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.976e-06/5.484, allocations: 0 / 2.526 GB, free: 222.8 MB / 0.6982 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001353/5.485, allocations: 0.8108 MB / 2.527 GB, free: 222.6 MB / 0.6982 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.00152/5.487, allocations: 1.21 MB / 2.528 GB, free: 222 MB / 0.6982 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003736/5.487, allocations: 282 kB / 2.529 GB, free: 221.9 MB / 0.6982 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001176/5.487, allocations: 0 / 2.529 GB, free: 221.9 MB / 0.6982 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005637/5.488, allocations: 61.33 kB / 2.529 GB, free: 221.9 MB / 0.6982 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001061/5.488, allocations: 48.91 kB / 2.529 GB, free: 221.9 MB / 0.6982 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.538e-05/5.488, allocations: 28.92 kB / 2.529 GB, free: 221.9 MB / 0.6982 GB Notification: Performance of sort global known variables: time 0.0004497/5.488, allocations: 402.6 kB / 2.529 GB, free: 221.8 MB / 0.6982 GB Notification: Performance of remove unused functions: time 0.001807/5.49, allocations: 406.9 kB / 2.529 GB, free: 221.7 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 (81): * Single equations (assignments): 78 * 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.00161/5.492, allocations: 1.044 MB / 2.53 GB, free: 221.4 MB / 0.6982 GB Notification: Performance of simCode: created initialization part: time 0.00114/5.493, allocations: 0.6398 MB / 2.531 GB, free: 221.3 MB / 0.6982 GB Notification: Performance of simCode: created event and clocks part: time 3.046e-06/5.493, allocations: 0 / 2.531 GB, free: 221.3 MB / 0.6982 GB Notification: Performance of simCode: created simulation system equations: time 0.0006083/5.494, allocations: 431.6 kB / 2.532 GB, free: 221.2 MB / 0.6982 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001036/5.495, allocations: 216.4 kB / 2.532 GB, free: 221.2 MB / 0.6982 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003728/5.498, allocations: 1.324 MB / 2.533 GB, free: 220.8 MB / 0.6982 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007037/5.499, allocations: 1.111 MB / 2.534 GB, free: 220.1 MB / 0.6982 GB Notification: Performance of SimCode: time 1.302e-06/5.499, allocations: 0 / 2.534 GB, free: 220.1 MB / 0.6982 GB (rm -f BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe ; mkfifo BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe >> ../files/BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_BoundaryConditions_SolarGeometry_Examples_ZenithAngle_fmu --startTime=100000 --stopTime=300000 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_BoundaryConditions_SolarGeometry_Examples_ZenithAngle.fmu > BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe 2>&1)