Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.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.SkyClearness,fileNamePrefix="Buildings_9_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyClearness",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness,fileNamePrefix="Buildings_9_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyClearness",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.802/1.802, allocations: 387.2 MB / 394.5 MB, free: 13.64 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001088/0.001088, allocations: 173.3 kB / 487 MB, free: 5.375 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.155/1.155, allocations: 221.3 MB / 0.7819 GB, free: 1.449 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008634/0.0008636, allocations: 101.9 kB / 0.9213 GB, free: 2.703 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.4296/0.4305, allocations: 148.5 MB / 1.066 GB, free: 168.2 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2064/0.6369, allocations: 142.3 MB / 1.205 GB, free: 26.15 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 2.771/3.408, allocations: 1.731 GB / 2.936 GB, free: 103.3 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001856/3.408, allocations: 95.56 kB / 2.936 GB, free: 103.2 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: 228 * Number of variables: 228 Notification: Performance of Generate backend data structure: time 0.1401/3.548, allocations: 69.74 MB / 3.004 GB, free: 37.88 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 3.526e-05/3.548, allocations: 12 kB / 3.004 GB, free: 37.86 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001239/3.549, allocations: 226.4 kB / 3.004 GB, free: 37.64 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001101/3.55, allocations: 0.6308 MB / 3.005 GB, free: 36.97 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.555e-05/3.55, allocations: 35.91 kB / 3.005 GB, free: 36.93 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001591/3.551, allocations: 52 kB / 3.005 GB, free: 36.88 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001416/3.552, allocations: 1.023 MB / 3.006 GB, free: 35.86 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001137/3.553, allocations: 0.7896 MB / 3.007 GB, free: 35.03 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.011e-05/3.553, allocations: 0 / 3.007 GB, free: 35.03 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.38e-05/3.553, allocations: 4 kB / 3.007 GB, free: 35.03 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.589e-05/3.553, allocations: 28 kB / 3.007 GB, free: 35 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003245/3.557, allocations: 2.43 MB / 3.009 GB, free: 32.52 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008521/3.557, allocations: 0.7324 MB / 3.01 GB, free: 31.75 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002954/3.558, allocations: 246.8 kB / 3.01 GB, free: 31.5 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000541/3.558, allocations: 470.1 kB / 3.011 GB, free: 30.95 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004533/3.559, allocations: 378.1 kB / 3.011 GB, free: 30.57 MB / 1.151 GB Notification: Performance of pre-optimization done (n=73): time 2.365e-06/3.559, allocations: 0 / 3.011 GB, free: 30.57 MB / 1.151 GB Notification: Performance of matching and sorting (n=73): time 0.001646/3.56, allocations: 0.7184 MB / 3.012 GB, free: 29.84 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.011e-05/3.56, allocations: 240 kB / 3.012 GB, free: 29.55 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000499/3.561, allocations: 0.4945 MB / 3.013 GB, free: 29.05 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 4.909e-05/3.561, allocations: 33.7 kB / 3.013 GB, free: 29.01 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001338/3.561, allocations: 331.9 kB / 3.013 GB, free: 28.68 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001179/3.561, allocations: 228.5 kB / 3.013 GB, free: 28.45 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.11e-05/3.561, allocations: 0 / 3.013 GB, free: 28.45 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 7.739e-05/3.561, allocations: 374.8 kB / 3.013 GB, free: 28.07 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002595/3.562, allocations: 185.3 kB / 3.014 GB, free: 27.89 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003112/3.562, allocations: 298.4 kB / 3.014 GB, free: 27.57 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005893/3.563, allocations: 315 kB / 3.014 GB, free: 27.27 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.936e-06/3.563, allocations: 3.984 kB / 3.014 GB, free: 27.26 MB / 1.151 GB Notification: Performance of matching and sorting (n=77) (initialization): time 0.001515/3.564, allocations: 0.7185 MB / 3.015 GB, free: 26.53 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.262e-05/3.564, allocations: 4 kB / 3.015 GB, free: 26.53 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.713e-06/3.564, allocations: 0 / 3.015 GB, free: 26.53 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005959/3.565, allocations: 84.84 kB / 3.015 GB, free: 26.44 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005902/3.565, allocations: 143.8 kB / 3.015 GB, free: 26.3 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001623/3.567, allocations: 1.461 MB / 3.017 GB, free: 24.72 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005534/3.568, allocations: 67.59 kB / 3.017 GB, free: 24.65 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.44e-05/3.568, allocations: 31.98 kB / 3.017 GB, free: 24.62 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 (75): * Single equations (assignments): 74 * 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.0001351/3.568, allocations: 116.8 kB / 3.017 GB, free: 24.5 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.697e-05/3.568, allocations: 75.06 kB / 3.017 GB, free: 24.43 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002126/3.57, allocations: 0.991 MB / 3.018 GB, free: 23.42 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.055e-06/3.57, allocations: 11.91 kB / 3.018 GB, free: 23.41 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.735e-06/3.57, allocations: 0 / 3.018 GB, free: 23.41 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.528e-06/3.57, allocations: 3.984 kB / 3.018 GB, free: 23.41 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002665/3.573, allocations: 1.779 MB / 3.02 GB, free: 21.58 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.859e-06/3.573, allocations: 7.906 kB / 3.02 GB, free: 21.57 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005747/3.573, allocations: 143.8 kB / 3.02 GB, free: 21.43 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005015/3.574, allocations: 80.78 kB / 3.02 GB, free: 21.35 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.606e-05/3.574, allocations: 15.98 kB / 3.02 GB, free: 21.33 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001423/3.575, allocations: 1.473 MB / 3.021 GB, free: 19.74 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.865e-06/3.575, allocations: 3.938 kB / 3.021 GB, free: 19.73 MB / 1.151 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00153/3.577, allocations: 0.8947 MB / 3.022 GB, free: 18.82 MB / 1.151 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001641/3.579, allocations: 1.305 MB / 3.023 GB, free: 17.49 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000314/3.579, allocations: 279.8 kB / 3.024 GB, free: 17.2 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001171/3.579, allocations: 0 / 3.024 GB, free: 17.2 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005898/3.58, allocations: 55.95 kB / 3.024 GB, free: 17.14 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001007/3.58, allocations: 56.69 kB / 3.024 GB, free: 17.09 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.736e-05/3.58, allocations: 35.92 kB / 3.024 GB, free: 17.05 MB / 1.151 GB Notification: Performance of sort global known variables: time 0.0003843/3.58, allocations: 402.9 kB / 3.024 GB, free: 16.66 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.001594/3.582, allocations: 446.8 kB / 3.025 GB, free: 16.22 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 (84): * Single equations (assignments): 81 * 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.001433/3.583, allocations: 1.074 MB / 3.026 GB, free: 15.25 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.001071/3.584, allocations: 0.6469 MB / 3.026 GB, free: 14.6 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/3.584, allocations: 4 kB / 3.026 GB, free: 14.59 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0005641/3.585, allocations: 448.5 kB / 3.027 GB, free: 14.14 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009119/3.586, allocations: 201 kB / 3.027 GB, free: 13.95 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003253/3.589, allocations: 1.378 MB / 3.028 GB, free: 12.54 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006393/3.59, allocations: 1.146 MB / 3.029 GB, free: 11.37 MB / 1.151 GB Notification: Performance of SimCode: time 3.71e-07/3.59, allocations: 0 / 3.029 GB, free: 11.37 MB / 1.151 GB (rm -f Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness_res.mat --tempDir=temp_Buildings_9_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyClearness_fmu --startTime=100000 --stopTime=3e+06 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyClearness.fmu > Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness_res.mat does not exist to compare? outputFormat=mat