Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle,fileNamePrefix="Buildings_8_0_0_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_ZenithAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle,fileNamePrefix="Buildings_8_0_0_Buildings_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/Buildings 8.0.0/package.mo): time 2.271/2.271, allocations: 284.8 MB / 292.1 MB, free: 10.78 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001646/0.001646, allocations: 177.3 kB / 360.3 MB, free: 7.527 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.729/1.729, allocations: 205.1 MB / 0.6187 GB, free: 13.2 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00124/0.00124, allocations: 91.03 kB / 0.7317 GB, free: 45.09 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2549/0.2562, allocations: 121.4 MB / 0.8502 GB, free: 3.91 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5764/0.8326, allocations: 115.2 MB / 0.9627 GB, free: 78.41 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.705/5.538, allocations: 2.071 GB / 3.034 GB, free: 273.3 MB / 0.9323 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003534/5.538, allocations: 89.27 kB / 3.034 GB, free: 273.3 MB / 0.9323 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 196 * Number of variables: 196 Notification: Performance of Generate backend data structure: time 0.2438/5.782, allocations: 59.7 MB / 3.092 GB, free: 260.2 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 4.675e-05/5.782, allocations: 10.38 kB / 3.092 GB, free: 260.2 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00162/5.784, allocations: 189.4 kB / 3.092 GB, free: 260.1 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001574/5.785, allocations: 0.6139 MB / 3.093 GB, free: 259.7 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.931e-05/5.785, allocations: 25.97 kB / 3.093 GB, free: 259.7 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001433/5.785, allocations: 44.56 kB / 3.093 GB, free: 259.7 MB / 0.9323 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002353/5.788, allocations: 0.9732 MB / 3.094 GB, free: 259.5 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001784/5.79, allocations: 0.7086 MB / 3.094 GB, free: 259.2 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.699e-05/5.79, allocations: 0 / 3.094 GB, free: 259.2 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000112/5.79, allocations: 3.984 kB / 3.094 GB, free: 259.2 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.402e-05/5.79, allocations: 18.19 kB / 3.094 GB, free: 259.2 MB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005662/5.795, allocations: 2.241 MB / 3.097 GB, free: 258 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001605/5.797, allocations: 0.7117 MB / 3.097 GB, free: 257.8 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005659/5.798, allocations: 246 kB / 3.098 GB, free: 257.8 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001097/5.798, allocations: 26.03 kB / 3.098 GB, free: 257.7 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007719/5.799, allocations: 383.9 kB / 3.098 GB, free: 257.6 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=72): time 2.996e-06/5.799, allocations: 0 / 3.098 GB, free: 257.6 MB / 0.9323 GB Notification: Performance of matching and sorting (n=72): time 0.002697/5.801, allocations: 0.6313 MB / 3.099 GB, free: 257.4 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.941e-05/5.801, allocations: 240.2 kB / 3.099 GB, free: 257.2 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001021/5.802, allocations: 0.4952 MB / 3.099 GB, free: 257 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 0.0001189/5.803, allocations: 26.45 kB / 3.099 GB, free: 257 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002356/5.803, allocations: 292.5 kB / 3.1 GB, free: 256.7 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.00022/5.803, allocations: 234.6 kB / 3.1 GB, free: 256.6 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.112e-05/5.803, allocations: 0 / 3.1 GB, free: 256.6 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.00012/5.803, allocations: 371.2 kB / 3.1 GB, free: 256.2 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005006/5.804, allocations: 188.9 kB / 3.1 GB, free: 256.2 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006201/5.804, allocations: 291.8 kB / 3.101 GB, free: 256.1 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000659/5.805, allocations: 232.1 kB / 3.101 GB, free: 256.1 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.658e-06/5.805, allocations: 2.906 kB / 3.101 GB, free: 256.1 MB / 0.9323 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.002457/5.808, allocations: 0.6373 MB / 3.102 GB, free: 255.9 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.572e-05/5.808, allocations: 5.375 kB / 3.102 GB, free: 255.9 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.338e-06/5.808, allocations: 3.031 kB / 3.102 GB, free: 255.9 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001183/5.809, allocations: 81.28 kB / 3.102 GB, free: 255.9 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001815/5.811, allocations: 139.6 kB / 3.102 GB, free: 255.8 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004588/5.815, allocations: 1.45 MB / 3.103 GB, free: 254.5 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001989/5.817, allocations: 66.31 kB / 3.103 GB, free: 254.5 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001687/5.818, allocations: 32.39 kB / 3.103 GB, free: 254.5 MB / 0.9323 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.0003233/5.818, allocations: 127.9 kB / 3.103 GB, free: 254.4 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003028/5.818, allocations: 72.89 kB / 3.103 GB, free: 254.3 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006006/5.824, allocations: 0.9339 MB / 3.104 GB, free: 254.1 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.929e-05/5.824, allocations: 14.19 kB / 3.104 GB, free: 254.1 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.154e-06/5.824, allocations: 0 / 3.104 GB, free: 254.1 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.484e-05/5.824, allocations: 3.984 kB / 3.104 GB, free: 254.1 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007058/5.831, allocations: 1.685 MB / 3.106 GB, free: 253.4 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.075e-06/5.832, allocations: 0 / 3.106 GB, free: 253.4 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0012/5.833, allocations: 148.7 kB / 3.106 GB, free: 253.4 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009364/5.834, allocations: 85.77 kB / 3.106 GB, free: 253.3 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.281e-05/5.834, allocations: 13.3 kB / 3.106 GB, free: 253.3 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002545/5.836, allocations: 1.482 MB / 3.108 GB, free: 252 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.109e-06/5.836, allocations: 0 / 3.108 GB, free: 252 MB / 0.9323 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002656/5.839, allocations: 0.8198 MB / 3.108 GB, free: 251.7 MB / 0.9323 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002841/5.842, allocations: 1.224 MB / 3.11 GB, free: 251.1 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006749/5.843, allocations: 278.8 kB / 3.11 GB, free: 250.9 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002001/5.843, allocations: 6.484 kB / 3.11 GB, free: 250.9 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001119/5.844, allocations: 53.2 kB / 3.11 GB, free: 250.9 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001687/5.844, allocations: 46.36 kB / 3.11 GB, free: 250.8 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001021/5.844, allocations: 43.03 kB / 3.11 GB, free: 250.8 MB / 0.9323 GB Notification: Performance of sort global known variables: time 0.0008062/5.845, allocations: 407.8 kB / 3.11 GB, free: 250.7 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.002648/5.848, allocations: 373.9 kB / 3.111 GB, free: 250.6 MB / 0.9323 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.002224/5.85, allocations: 1.014 MB / 3.112 GB, free: 250.2 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.00251/5.853, allocations: 0.6377 MB / 3.112 GB, free: 250 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 8.366e-06/5.853, allocations: 6.875 kB / 3.112 GB, free: 250 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.001168/5.854, allocations: 440.4 kB / 3.113 GB, free: 249.9 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001964/5.856, allocations: 213.2 kB / 3.113 GB, free: 249.8 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005962/5.862, allocations: 1.33 MB / 3.114 GB, free: 249.3 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001189/5.863, allocations: 1.117 MB / 3.115 GB, free: 248.4 MB / 0.9323 GB Notification: Performance of SimCode: time 1.763e-06/5.863, allocations: 0 / 3.115 GB, free: 248.4 MB / 0.9323 GB (rm -f Buildings_8.0.0_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe ; mkfifo Buildings_8.0.0_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe >> ../files/Buildings_8.0.0_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_ZenithAngle_fmu --startTime=100000 --stopTime=300000 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_ZenithAngle.fmu > Buildings_8.0.0_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe 2>&1)