Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient,fileNamePrefix="Buildings_9_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_BrighteningCoefficient",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient,fileNamePrefix="Buildings_9_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 9.1.1-maint.9.1.x/package.mo): time 1.754/1.754, allocations: 387.3 MB / 394.5 MB, free: 13.23 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.0009415/0.0009418, allocations: 176.5 kB / 487 MB, free: 0.6797 MB / 378.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.131/1.131, allocations: 221.3 MB / 0.7819 GB, free: 6.738 MB / 0.573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008771/0.0008771, allocations: 98.2 kB / 0.9213 GB, free: 43.68 MB / 0.6198 GB Notification: Performance of FrontEnd - loaded program: time 0.2253/0.2262, allocations: 148.5 MB / 1.066 GB, free: 7.457 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5331/0.7594, allocations: 142.3 MB / 1.205 GB, free: 72.61 MB / 0.7917 GB Notification: Performance of FrontEnd - scodeFlatten: time 2.703/3.463, allocations: 1.732 GB / 2.937 GB, free: 354.6 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002306/3.463, allocations: 87.95 kB / 2.938 GB, free: 354.5 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: 266 * Number of variables: 266 Notification: Performance of Generate backend data structure: time 0.1425/3.606, allocations: 71.61 MB / 3.008 GB, free: 282.8 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.347e-05/3.606, allocations: 11.94 kB / 3.008 GB, free: 282.8 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004321/3.61, allocations: 0.771 MB / 3.008 GB, free: 282 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009897/3.611, allocations: 0.6775 MB / 3.009 GB, free: 281.3 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.314e-05/3.611, allocations: 39.94 kB / 3.009 GB, free: 281.2 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001272/3.611, allocations: 60 kB / 3.009 GB, free: 281.2 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001848/3.613, allocations: 1.417 MB / 3.01 GB, free: 279.8 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001378/3.614, allocations: 1.024 MB / 3.011 GB, free: 278.7 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.035e-05/3.614, allocations: 0 / 3.011 GB, free: 278.7 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.583e-05/3.614, allocations: 4 kB / 3.011 GB, free: 278.7 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.633e-05/3.614, allocations: 28 kB / 3.011 GB, free: 278.6 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004718/3.619, allocations: 2.975 MB / 3.014 GB, free: 275.6 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001129/3.62, allocations: 0.9718 MB / 3.015 GB, free: 274.6 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004806/3.621, allocations: 432.1 kB / 3.016 GB, free: 274.2 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005287/3.621, allocations: 486.4 kB / 3.016 GB, free: 273.6 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006441/3.622, allocations: 0.5693 MB / 3.017 GB, free: 273 MB / 1.151 GB Notification: Performance of pre-optimization done (n=100): time 2.244e-06/3.622, allocations: 0 / 3.017 GB, free: 273 MB / 1.151 GB Notification: Performance of matching and sorting (n=100): time 0.002036/3.624, allocations: 0.9914 MB / 3.018 GB, free: 272 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.618e-05/3.624, allocations: 252.3 kB / 3.018 GB, free: 271.7 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004635/3.625, allocations: 0.4983 MB / 3.018 GB, free: 271.2 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 7.024e-05/3.625, allocations: 25.7 kB / 3.018 GB, free: 271.2 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001246/3.625, allocations: 344.9 kB / 3.019 GB, free: 270.9 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001654/3.625, allocations: 315.2 kB / 3.019 GB, free: 270.5 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.806e-05/3.625, allocations: 3.938 kB / 3.019 GB, free: 270.5 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 7.323e-05/3.625, allocations: 382.8 kB / 3.019 GB, free: 270.2 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004187/3.626, allocations: 314 kB / 3.02 GB, free: 269.8 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004767/3.626, allocations: 446.3 kB / 3.02 GB, free: 269.4 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007229/3.627, allocations: 428.7 kB / 3.021 GB, free: 269 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/3.627, allocations: 7.938 kB / 3.021 GB, free: 269 MB / 1.151 GB Notification: Performance of matching and sorting (n=105) (initialization): time 0.001938/3.629, allocations: 1.007 MB / 3.022 GB, free: 267.9 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.017e-05/3.629, allocations: 12.09 kB / 3.022 GB, free: 267.9 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.452e-06/3.629, allocations: 3.203 kB / 3.022 GB, free: 267.9 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005687/3.629, allocations: 80.78 kB / 3.022 GB, free: 267.8 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001302/3.631, allocations: 247.7 kB / 3.022 GB, free: 267.6 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001493/3.632, allocations: 1.465 MB / 3.023 GB, free: 266 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001025/3.633, allocations: 131.4 kB / 3.023 GB, free: 265.9 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.484e-05/3.633, allocations: 39.97 kB / 3.023 GB, free: 265.8 MB / 1.151 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.0001702/3.633, allocations: 122.7 kB / 3.024 GB, free: 265.7 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001244/3.634, allocations: 82.97 kB / 3.024 GB, free: 265.6 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002781/3.636, allocations: 1.365 MB / 3.025 GB, free: 264.3 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.734e-06/3.636, allocations: 12 kB / 3.025 GB, free: 264.3 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.955e-06/3.636, allocations: 4 kB / 3.025 GB, free: 264.3 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.819e-06/3.636, allocations: 3.984 kB / 3.025 GB, free: 264.3 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003259/3.64, allocations: 2.349 MB / 3.027 GB, free: 261.9 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.166e-06/3.64, allocations: 0 / 3.027 GB, free: 261.9 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00129/3.641, allocations: 259.5 kB / 3.028 GB, free: 261.6 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004871/3.641, allocations: 84.78 kB / 3.028 GB, free: 261.5 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.862e-05/3.642, allocations: 19.97 kB / 3.028 GB, free: 261.5 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001372/3.643, allocations: 1.478 MB / 3.029 GB, free: 259.9 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.445e-06/3.643, allocations: 3.938 kB / 3.029 GB, free: 259.9 MB / 1.151 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001947/3.645, allocations: 1.185 MB / 3.03 GB, free: 258.7 MB / 1.151 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.00206/3.647, allocations: 1.604 MB / 3.032 GB, free: 257.1 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000356/3.647, allocations: 315.6 kB / 3.032 GB, free: 256.7 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001672/3.648, allocations: 4 kB / 3.032 GB, free: 256.7 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00111/3.649, allocations: 120 kB / 3.032 GB, free: 256.6 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001146/3.649, allocations: 68.8 kB / 3.032 GB, free: 256.6 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.858e-05/3.649, allocations: 39.97 kB / 3.032 GB, free: 256.5 MB / 1.151 GB Notification: Performance of sort global known variables: time 0.0003499/3.649, allocations: 414.8 kB / 3.033 GB, free: 256.1 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.001594/3.651, allocations: 487.4 kB / 3.033 GB, free: 255.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 (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.001377/3.652, allocations: 1.078 MB / 3.034 GB, free: 254.7 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.001314/3.654, allocations: 0.9789 MB / 3.035 GB, free: 253.7 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/3.654, allocations: 0 / 3.035 GB, free: 253.7 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0007838/3.654, allocations: 0.6264 MB / 3.036 GB, free: 253.1 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008831/3.655, allocations: 206.6 kB / 3.036 GB, free: 252.9 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00346/3.659, allocations: 1.627 MB / 3.038 GB, free: 251.2 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008649/3.66, allocations: 1.214 MB / 3.039 GB, free: 250 MB / 1.151 GB Notification: Performance of SimCode: time 3e-07/3.66, allocations: 0 / 3.039 GB, free: 250 MB / 1.151 GB (rm -f Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient_res.mat --tempDir=temp_Buildings_9_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_BrighteningCoefficient_fmu --startTime=0 --stopTime=8.64e+06 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_BrighteningCoefficient.fmu > Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient_res.mat does not exist to compare? outputFormat=mat