Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.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) 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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_ZenithAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle,fileNamePrefix="Buildings_latest_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 10.0.0-master/package.mo): time 1.751/1.751, allocations: 390.4 MB / 397.7 MB, free: 10.64 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009212/0.0009212, allocations: 185.5 kB / 490.8 MB, free: 11.17 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.13/1.13, allocations: 221.4 MB / 0.7863 GB, free: 13.53 MB / 0.5886 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008466/0.0008466, allocations: 86.09 kB / 0.9264 GB, free: 4.496 MB / 0.6667 GB Notification: Performance of FrontEnd - loaded program: time 0.244/0.2449, allocations: 149.1 MB / 1.072 GB, free: 15.42 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.527/0.7719, allocations: 143 MB / 1.212 GB, free: 156 MB / 0.8855 GB Notification: Performance of FrontEnd - scodeFlatten: time 2.725/3.497, allocations: 1.731 GB / 2.942 GB, free: 349.5 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002301/3.497, allocations: 89.3 kB / 2.942 GB, free: 349.4 MB / 1.151 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.1198/3.617, allocations: 60.84 MB / 3.002 GB, free: 288.7 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 3.452e-05/3.617, allocations: 11.94 kB / 3.002 GB, free: 288.7 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009438/3.618, allocations: 198.5 kB / 3.002 GB, free: 288.5 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009509/3.619, allocations: 0.6037 MB / 3.003 GB, free: 287.8 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.194e-05/3.619, allocations: 31.94 kB / 3.003 GB, free: 287.8 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001053/3.619, allocations: 53.28 kB / 3.003 GB, free: 287.7 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001291/3.62, allocations: 0.9835 MB / 3.004 GB, free: 286.8 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001022/3.621, allocations: 0.7155 MB / 3.004 GB, free: 286 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.971e-05/3.621, allocations: 4 kB / 3.004 GB, free: 286 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.452e-05/3.621, allocations: 0 / 3.004 GB, free: 286 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.619e-05/3.621, allocations: 21.62 kB / 3.004 GB, free: 286 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00305/3.624, allocations: 2.263 MB / 3.007 GB, free: 283.7 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008801/3.625, allocations: 0.7204 MB / 3.007 GB, free: 282.9 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003037/3.626, allocations: 238.8 kB / 3.008 GB, free: 282.7 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 7.033e-05/3.626, allocations: 32.67 kB / 3.008 GB, free: 282.6 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004297/3.626, allocations: 378 kB / 3.008 GB, free: 282.3 MB / 1.151 GB Notification: Performance of pre-optimization done (n=72): time 2.074e-06/3.626, allocations: 0 / 3.008 GB, free: 282.3 MB / 1.151 GB Notification: Performance of matching and sorting (n=72): time 0.00138/3.628, allocations: 0.6337 MB / 3.009 GB, free: 281.6 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.039e-05/3.628, allocations: 240 kB / 3.009 GB, free: 281.3 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000503/3.628, allocations: 0.4906 MB / 3.009 GB, free: 280.8 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 4.959e-05/3.628, allocations: 33.64 kB / 3.009 GB, free: 280.8 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001225/3.628, allocations: 300.2 kB / 3.01 GB, free: 280.5 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001167/3.628, allocations: 224.5 kB / 3.01 GB, free: 280.3 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.001e-05/3.628, allocations: 0 / 3.01 GB, free: 280.3 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 7.327e-05/3.629, allocations: 378.7 kB / 3.01 GB, free: 279.9 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000256/3.629, allocations: 185.3 kB / 3.01 GB, free: 279.7 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003033/3.629, allocations: 294.4 kB / 3.011 GB, free: 279.4 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003254/3.629, allocations: 237.6 kB / 3.011 GB, free: 279.2 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.425e-06/3.629, allocations: 0 / 3.011 GB, free: 279.2 MB / 1.151 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001281/3.631, allocations: 0.6366 MB / 3.011 GB, free: 278.5 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.258e-05/3.631, allocations: 4 kB / 3.011 GB, free: 278.5 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.812e-06/3.631, allocations: 4 kB / 3.011 GB, free: 278.5 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005779/3.631, allocations: 84.78 kB / 3.012 GB, free: 278.4 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005495/3.632, allocations: 135.8 kB / 3.012 GB, free: 278.3 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00154/3.633, allocations: 1.462 MB / 3.013 GB, free: 276.7 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005037/3.634, allocations: 63.61 kB / 3.013 GB, free: 276.6 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.734e-05/3.634, allocations: 31.97 kB / 3.013 GB, free: 276.6 MB / 1.151 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.0001238/3.634, allocations: 116.8 kB / 3.013 GB, free: 276.5 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000106/3.634, allocations: 71.16 kB / 3.013 GB, free: 276.4 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00184/3.636, allocations: 0.9298 MB / 3.014 GB, free: 275.5 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.524e-06/3.636, allocations: 12 kB / 3.014 GB, free: 275.5 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.654e-06/3.636, allocations: 0 / 3.014 GB, free: 275.5 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.316e-06/3.636, allocations: 3.984 kB / 3.014 GB, free: 275.5 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002324/3.639, allocations: 1.686 MB / 3.016 GB, free: 273.7 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.396e-06/3.639, allocations: 0 / 3.016 GB, free: 273.7 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005494/3.639, allocations: 148.9 kB / 3.016 GB, free: 273.6 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004905/3.64, allocations: 84.78 kB / 3.016 GB, free: 273.5 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.294e-05/3.64, allocations: 23.83 kB / 3.016 GB, free: 273.5 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001376/3.641, allocations: 1.475 MB / 3.018 GB, free: 271.9 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/3.641, allocations: 4 kB / 3.018 GB, free: 271.9 MB / 1.151 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00128/3.642, allocations: 0.8205 MB / 3.018 GB, free: 271.1 MB / 1.151 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001388/3.644, allocations: 1.227 MB / 3.02 GB, free: 269.8 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003024/3.644, allocations: 266.3 kB / 3.02 GB, free: 269.5 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001261/3.644, allocations: 11.91 kB / 3.02 GB, free: 269.5 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005606/3.645, allocations: 62.47 kB / 3.02 GB, free: 269.5 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.119e-05/3.645, allocations: 48.7 kB / 3.02 GB, free: 269.4 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.818e-05/3.645, allocations: 35.92 kB / 3.02 GB, free: 269.4 MB / 1.151 GB Notification: Performance of sort global known variables: time 0.000372/3.645, allocations: 406.9 kB / 3.02 GB, free: 269 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.001565/3.647, allocations: 403 kB / 3.021 GB, free: 268.6 MB / 1.151 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.001621/3.648, allocations: 1.053 MB / 3.022 GB, free: 267.7 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.0009591/3.649, allocations: 0.6351 MB / 3.022 GB, free: 267.1 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/3.649, allocations: 0 / 3.022 GB, free: 267.1 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0005759/3.65, allocations: 456.6 kB / 3.023 GB, free: 266.6 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009001/3.651, allocations: 212.1 kB / 3.023 GB, free: 266.4 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003039/3.654, allocations: 1.325 MB / 3.024 GB, free: 265.1 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006188/3.655, allocations: 1.123 MB / 3.026 GB, free: 263.9 MB / 1.151 GB Notification: Performance of SimCode: time 2.61e-07/3.655, allocations: 0 / 3.026 GB, free: 263.9 MB / 1.151 GB (rm -f Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle_res.mat --tempDir=temp_Buildings_latest_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_ZenithAngle_fmu --startTime=100000 --stopTime=300000 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_ZenithAngle.fmu > Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle_res.mat does not exist to compare? outputFormat=mat