Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.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.DiffuseIsotropic,fileNamePrefix="Buildings_9_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_DiffuseIsotropic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic,fileNamePrefix="Buildings_9_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_DiffuseIsotropic",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.831/1.831, allocations: 387.2 MB / 394.5 MB, free: 13.66 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.000994/0.0009938, allocations: 169.4 kB / 487 MB, free: 5.348 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.149/1.149, allocations: 221.3 MB / 0.7819 GB, free: 1.395 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.0008835/0.0008835, allocations: 94.83 kB / 0.9213 GB, free: 2.652 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.4365/0.4374, allocations: 148.5 MB / 1.066 GB, free: 168.2 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1849/0.6223, allocations: 142.3 MB / 1.205 GB, free: 26.12 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 2.527/3.149, allocations: 1.73 GB / 2.936 GB, free: 87.75 MB / 1.135 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002128/3.15, allocations: 95.94 kB / 2.936 GB, free: 87.65 MB / 1.135 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 198 * Number of variables: 198 Notification: Performance of Generate backend data structure: time 0.1187/3.268, allocations: 60.37 MB / 2.995 GB, free: 27 MB / 1.135 GB Notification: Performance of prepare preOptimizeDAE: time 3.154e-05/3.268, allocations: 8 kB / 2.995 GB, free: 26.99 MB / 1.135 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008014/3.269, allocations: 206.4 kB / 2.995 GB, free: 26.79 MB / 1.135 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007775/3.27, allocations: 0.5997 MB / 2.995 GB, free: 26.14 MB / 1.135 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.641e-05/3.27, allocations: 28 kB / 2.995 GB, free: 26.12 MB / 1.135 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.932e-05/3.27, allocations: 44 kB / 2.995 GB, free: 26.07 MB / 1.135 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001149/3.271, allocations: 0.9718 MB / 2.996 GB, free: 25.1 MB / 1.135 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009024/3.272, allocations: 0.7077 MB / 2.997 GB, free: 24.36 MB / 1.135 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.879e-05/3.272, allocations: 11.88 kB / 2.997 GB, free: 24.34 MB / 1.135 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.926e-05/3.272, allocations: 0 / 2.997 GB, free: 24.34 MB / 1.135 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.393e-05/3.272, allocations: 20 kB / 2.997 GB, free: 24.32 MB / 1.135 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002712/3.275, allocations: 2.246 MB / 2.999 GB, free: 22.02 MB / 1.135 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007291/3.276, allocations: 0.627 MB / 3 GB, free: 21.38 MB / 1.135 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002726/3.276, allocations: 234.8 kB / 3 GB, free: 21.15 MB / 1.135 GB Notification: Performance of preOpt evalFunc (simulation): time 5.925e-05/3.276, allocations: 32.77 kB / 3 GB, free: 21.11 MB / 1.135 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003969/3.277, allocations: 370.1 kB / 3 GB, free: 20.73 MB / 1.135 GB Notification: Performance of pre-optimization done (n=71): time 1.733e-06/3.277, allocations: 0 / 3 GB, free: 20.73 MB / 1.135 GB Notification: Performance of matching and sorting (n=71): time 0.001285/3.278, allocations: 0.6208 MB / 3.001 GB, free: 20.1 MB / 1.135 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.71e-05/3.278, allocations: 248 kB / 3.001 GB, free: 19.8 MB / 1.135 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004717/3.278, allocations: 0.5022 MB / 3.002 GB, free: 19.3 MB / 1.135 GB Notification: Performance of collectPreVariables (initialization): time 4.218e-05/3.278, allocations: 25.7 kB / 3.002 GB, free: 19.27 MB / 1.135 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001125/3.279, allocations: 296.2 kB / 3.002 GB, free: 18.97 MB / 1.135 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001116/3.279, allocations: 220.6 kB / 3.002 GB, free: 18.75 MB / 1.135 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.81e-05/3.279, allocations: 3.938 kB / 3.002 GB, free: 18.75 MB / 1.135 GB Notification: Performance of setup shared object (initialization): time 7.896e-05/3.279, allocations: 374.8 kB / 3.003 GB, free: 18.37 MB / 1.135 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002413/3.279, allocations: 181.3 kB / 3.003 GB, free: 18.2 MB / 1.135 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002933/3.279, allocations: 290.4 kB / 3.003 GB, free: 17.88 MB / 1.135 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003039/3.28, allocations: 235 kB / 3.003 GB, free: 17.65 MB / 1.135 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/3.28, allocations: 4 kB / 3.003 GB, free: 17.65 MB / 1.135 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001198/3.281, allocations: 0.6326 MB / 3.004 GB, free: 17.01 MB / 1.135 GB Notification: Performance of prepare postOptimizeDAE: time 1.046e-05/3.281, allocations: 8 kB / 3.004 GB, free: 17 MB / 1.135 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.989e-06/3.281, allocations: 4.141 kB / 3.004 GB, free: 17 MB / 1.135 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005692/3.281, allocations: 80.78 kB / 3.004 GB, free: 16.91 MB / 1.135 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000536/3.282, allocations: 143.8 kB / 3.004 GB, free: 16.77 MB / 1.135 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001524/3.284, allocations: 1.464 MB / 3.006 GB, free: 15.18 MB / 1.135 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004757/3.284, allocations: 75.44 kB / 3.006 GB, free: 15.11 MB / 1.135 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.953e-05/3.284, allocations: 23.98 kB / 3.006 GB, free: 15.09 MB / 1.135 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.0001385/3.284, allocations: 119.7 kB / 3.006 GB, free: 14.96 MB / 1.135 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.791e-05/3.284, allocations: 71.16 kB / 3.006 GB, free: 14.89 MB / 1.135 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00178/3.286, allocations: 0.8855 MB / 3.007 GB, free: 14 MB / 1.135 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.292e-06/3.286, allocations: 8 kB / 3.007 GB, free: 13.99 MB / 1.135 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.054e-06/3.286, allocations: 4 kB / 3.007 GB, free: 13.98 MB / 1.135 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.735e-06/3.286, allocations: 3.984 kB / 3.007 GB, free: 13.98 MB / 1.135 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006022/3.287, allocations: 0.7211 MB / 3.008 GB, free: 13.22 MB / 1.135 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.835e-06/3.287, allocations: 7.984 kB / 3.008 GB, free: 13.21 MB / 1.135 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005317/3.287, allocations: 135.8 kB / 3.008 GB, free: 13.08 MB / 1.135 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00049/3.288, allocations: 84.77 kB / 3.008 GB, free: 12.99 MB / 1.135 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.315e-05/3.288, allocations: 15.98 kB / 3.008 GB, free: 12.98 MB / 1.135 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001381/3.289, allocations: 1.481 MB / 3.009 GB, free: 11.38 MB / 1.135 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/3.289, allocations: 4 kB / 3.009 GB, free: 11.38 MB / 1.135 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00119/3.29, allocations: 0.7294 MB / 3.01 GB, free: 10.62 MB / 1.135 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001323/3.292, allocations: 1.148 MB / 3.011 GB, free: 9.453 MB / 1.135 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002784/3.292, allocations: 271.9 kB / 3.011 GB, free: 9.168 MB / 1.135 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001081/3.292, allocations: 4 kB / 3.011 GB, free: 9.164 MB / 1.135 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000495/3.293, allocations: 55.95 kB / 3.011 GB, free: 9.109 MB / 1.135 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.65e-05/3.293, allocations: 48.69 kB / 3.011 GB, free: 9.059 MB / 1.135 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.04e-05/3.293, allocations: 31.98 kB / 3.011 GB, free: 9.027 MB / 1.135 GB Notification: Performance of sort global known variables: time 0.0003519/3.293, allocations: 402.9 kB / 3.012 GB, free: 8.637 MB / 1.135 GB Notification: Performance of remove unused functions: time 0.001415/3.295, allocations: 411 kB / 3.012 GB, free: 8.234 MB / 1.135 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.conTimMin.tNext,weaDat.conTim.tNext) * Top-level inputs: 0 Notification: Strong component statistics for simulation (82): * Single equations (assignments): 79 * 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.001271/3.296, allocations: 1.04 MB / 3.013 GB, free: 7.293 MB / 1.135 GB Notification: Performance of simCode: created initialization part: time 0.0008943/3.297, allocations: 0.6351 MB / 3.014 GB, free: 6.652 MB / 1.135 GB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/3.297, allocations: 4 kB / 3.014 GB, free: 6.648 MB / 1.135 GB Notification: Performance of simCode: created simulation system equations: time 0.0005442/3.297, allocations: 436.6 kB / 3.014 GB, free: 6.211 MB / 1.135 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008322/3.298, allocations: 213 kB / 3.014 GB, free: 6.004 MB / 1.135 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002875/3.301, allocations: 1.311 MB / 3.016 GB, free: 4.66 MB / 1.135 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005929/3.302, allocations: 1.115 MB / 3.017 GB, free: 3.523 MB / 1.135 GB Notification: Performance of SimCode: time 2.9e-07/3.302, allocations: 0 / 3.017 GB, free: 3.523 MB / 1.135 GB (rm -f Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic_res.mat --tempDir=temp_Buildings_9_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_DiffuseIsotropic_fmu --startTime=0 --stopTime=8.64e+06 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_DiffuseIsotropic.fmu > Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic_res.mat does not exist to compare? outputFormat=mat