Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.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.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_BrighteningCoefficient",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_BrighteningCoefficient",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.791/1.791, allocations: 390.4 MB / 397.7 MB, free: 1.902 MB / 307 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009817/0.0009817, allocations: 183 kB / 490.8 MB, free: 7.496 MB / 403 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.141/1.141, allocations: 221.3 MB / 0.7863 GB, free: 236 kB / 0.5498 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008878/0.0008878, allocations: 84.67 kB / 0.9264 GB, free: 0.6328 MB / 0.6904 GB Notification: Performance of FrontEnd - loaded program: time 0.3731/0.374, allocations: 149.1 MB / 1.072 GB, free: 137.4 MB / 0.7217 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1852/0.5593, allocations: 143 MB / 1.212 GB, free: 10.48 MB / 0.7373 GB Notification: Performance of FrontEnd - scodeFlatten: time 2.664/3.223, allocations: 1.733 GB / 2.945 GB, free: 49.45 MB / 1.159 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000191/3.224, allocations: 95.94 kB / 2.945 GB, free: 49.35 MB / 1.159 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 266 * Number of variables: 266 Notification: Performance of Generate backend data structure: time 0.5297/3.753, allocations: 71.61 MB / 3.015 GB, free: 328.9 MB / 1.159 GB Notification: Performance of prepare preOptimizeDAE: time 3.282e-05/3.753, allocations: 9.031 kB / 3.015 GB, free: 328.9 MB / 1.159 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00413/3.758, allocations: 0.7725 MB / 3.015 GB, free: 328.9 MB / 1.159 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009266/3.758, allocations: 0.6755 MB / 3.016 GB, free: 328.6 MB / 1.159 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.067e-05/3.758, allocations: 34.16 kB / 3.016 GB, free: 328.6 MB / 1.159 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001185/3.759, allocations: 58.66 kB / 3.016 GB, free: 328.6 MB / 1.159 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001874/3.76, allocations: 1.424 MB / 3.018 GB, free: 328.6 MB / 1.159 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00142/3.762, allocations: 1.025 MB / 3.019 GB, free: 328.4 MB / 1.159 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.245e-05/3.762, allocations: 4.281 kB / 3.019 GB, free: 328.4 MB / 1.159 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.465e-05/3.762, allocations: 2.688 kB / 3.019 GB, free: 328.4 MB / 1.159 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.806e-05/3.762, allocations: 25.31 kB / 3.019 GB, free: 328.4 MB / 1.159 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004689/3.767, allocations: 2.965 MB / 3.021 GB, free: 327.7 MB / 1.159 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001154/3.768, allocations: 0.9796 MB / 3.022 GB, free: 327.6 MB / 1.159 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004966/3.768, allocations: 435.4 kB / 3.023 GB, free: 327.5 MB / 1.159 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005341/3.769, allocations: 475.6 kB / 3.023 GB, free: 327.1 MB / 1.159 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006594/3.77, allocations: 0.5697 MB / 3.024 GB, free: 327 MB / 1.159 GB Notification: Performance of pre-optimization done (n=100): time 2.775e-06/3.77, allocations: 0 / 3.024 GB, free: 327 MB / 1.159 GB Notification: Performance of matching and sorting (n=100): time 0.002069/3.772, allocations: 1.001 MB / 3.025 GB, free: 326.9 MB / 1.159 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.552e-05/3.772, allocations: 243.2 kB / 3.025 GB, free: 326.6 MB / 1.159 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004868/3.772, allocations: 0.4972 MB / 3.026 GB, free: 326.5 MB / 1.159 GB Notification: Performance of collectPreVariables (initialization): time 7.162e-05/3.772, allocations: 25.7 kB / 3.026 GB, free: 326.5 MB / 1.159 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001383/3.773, allocations: 347.4 kB / 3.026 GB, free: 326.3 MB / 1.159 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001781/3.773, allocations: 318.5 kB / 3.026 GB, free: 326 MB / 1.159 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.206e-05/3.773, allocations: 2.344 kB / 3.026 GB, free: 326 MB / 1.159 GB Notification: Performance of setup shared object (initialization): time 8.759e-05/3.773, allocations: 384.7 kB / 3.027 GB, free: 325.7 MB / 1.159 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004364/3.773, allocations: 315.9 kB / 3.027 GB, free: 325.7 MB / 1.159 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004948/3.774, allocations: 437.9 kB / 3.027 GB, free: 325.6 MB / 1.159 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007399/3.775, allocations: 432.3 kB / 3.028 GB, free: 325.6 MB / 1.159 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.444e-06/3.775, allocations: 0 / 3.028 GB, free: 325.6 MB / 1.159 GB Notification: Performance of matching and sorting (n=105) (initialization): time 0.001943/3.777, allocations: 1.013 MB / 3.029 GB, free: 325.5 MB / 1.159 GB Notification: Performance of prepare postOptimizeDAE: time 1.083e-05/3.777, allocations: 9.312 kB / 3.029 GB, free: 325.5 MB / 1.159 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.973e-06/3.777, allocations: 2.188 kB / 3.029 GB, free: 325.5 MB / 1.159 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005838/3.777, allocations: 80.34 kB / 3.029 GB, free: 325.5 MB / 1.159 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001294/3.778, allocations: 249.4 kB / 3.029 GB, free: 325.5 MB / 1.159 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001555/3.78, allocations: 1.458 MB / 3.03 GB, free: 324.3 MB / 1.159 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001065/3.781, allocations: 138.7 kB / 3.031 GB, free: 324.3 MB / 1.159 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.739e-05/3.781, allocations: 38.52 kB / 3.031 GB, free: 324.3 MB / 1.159 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (103): * Single equations (assignments): 102 * 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.0001896/3.781, allocations: 126.8 kB / 3.031 GB, free: 324.1 MB / 1.159 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001322/3.782, allocations: 83.19 kB / 3.031 GB, free: 324.1 MB / 1.159 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002885/3.784, allocations: 1.368 MB / 3.032 GB, free: 324 MB / 1.159 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.434e-06/3.784, allocations: 13.28 kB / 3.032 GB, free: 324 MB / 1.159 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.775e-06/3.784, allocations: 0 / 3.032 GB, free: 324 MB / 1.159 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.033e-05/3.784, allocations: 7.641 kB / 3.032 GB, free: 324 MB / 1.159 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003411/3.788, allocations: 2.351 MB / 3.034 GB, free: 323.7 MB / 1.159 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.777e-06/3.788, allocations: 0 / 3.034 GB, free: 323.7 MB / 1.159 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001281/3.789, allocations: 262 kB / 3.035 GB, free: 323.7 MB / 1.159 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004874/3.79, allocations: 89.2 kB / 3.035 GB, free: 323.6 MB / 1.159 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.111e-05/3.79, allocations: 16.61 kB / 3.035 GB, free: 323.6 MB / 1.159 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001403/3.791, allocations: 1.483 MB / 3.036 GB, free: 322.4 MB / 1.159 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.945e-06/3.791, allocations: 3.25 kB / 3.036 GB, free: 322.4 MB / 1.159 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002125/3.793, allocations: 1.184 MB / 3.037 GB, free: 322.2 MB / 1.159 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002128/3.795, allocations: 1.608 MB / 3.039 GB, free: 321.6 MB / 1.159 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003948/3.796, allocations: 317.2 kB / 3.039 GB, free: 321.5 MB / 1.159 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001632/3.796, allocations: 3.875 kB / 3.039 GB, free: 321.5 MB / 1.159 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001094/3.797, allocations: 113.7 kB / 3.039 GB, free: 321.5 MB / 1.159 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001102/3.797, allocations: 65.95 kB / 3.039 GB, free: 321.5 MB / 1.159 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001031/3.797, allocations: 47.7 kB / 3.04 GB, free: 321.5 MB / 1.159 GB Notification: Performance of sort global known variables: time 0.0003906/3.798, allocations: 405.1 kB / 3.04 GB, free: 321.4 MB / 1.159 GB Notification: Performance of remove unused functions: time 0.001649/3.799, allocations: 498.6 kB / 3.04 GB, free: 321.3 MB / 1.159 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 (113): * Single equations (assignments): 110 * 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.001371/3.801, allocations: 1.077 MB / 3.041 GB, free: 321 MB / 1.159 GB Notification: Performance of simCode: created initialization part: time 0.001386/3.802, allocations: 0.9704 MB / 3.042 GB, free: 320.9 MB / 1.159 GB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/3.802, allocations: 0 / 3.042 GB, free: 320.9 MB / 1.159 GB Notification: Performance of simCode: created simulation system equations: time 0.0007772/3.803, allocations: 0.6275 MB / 3.043 GB, free: 320.8 MB / 1.159 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000876/3.804, allocations: 212.4 kB / 3.043 GB, free: 320.8 MB / 1.159 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003525/3.807, allocations: 1.616 MB / 3.045 GB, free: 320.4 MB / 1.159 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008899/3.808, allocations: 1.221 MB / 3.046 GB, free: 319.7 MB / 1.159 GB Notification: Performance of SimCode: time 2.5e-07/3.808, allocations: 0 / 3.046 GB, free: 319.7 MB / 1.159 GB (rm -f Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient_res.mat --tempDir=temp_Buildings_latest_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_BrighteningCoefficient_fmu --startTime=0 --stopTime=8.64e+06 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_BrighteningCoefficient.fmu > Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient_res.mat does not exist to compare? outputFormat=mat