Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.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.DiffuseIsotropic,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_DiffuseIsotropic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic,fileNamePrefix="Buildings_latest_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 10.0.0-master/package.mo): time 1.798/1.798, allocations: 390.4 MB / 397.7 MB, free: 11.26 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.0009977/0.0009978, allocations: 189.2 kB / 490.8 MB, free: 1.949 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.145/1.145, allocations: 221.3 MB / 0.7863 GB, free: 13.71 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009001/0.0009001, allocations: 95.05 kB / 0.9264 GB, free: 14.23 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 0.427/0.4279, allocations: 149.1 MB / 1.072 GB, free: 182.5 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1785/0.6064, allocations: 143 MB / 1.212 GB, free: 40.04 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 2.69/3.297, allocations: 1.731 GB / 2.943 GB, free: 110.9 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002182/3.297, allocations: 87.38 kB / 2.943 GB, free: 110.9 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: 198 * Number of variables: 198 Notification: Performance of Generate backend data structure: time 0.119/3.416, allocations: 60.39 MB / 3.002 GB, free: 55.91 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 3.185e-05/3.416, allocations: 12 kB / 3.002 GB, free: 55.89 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008056/3.417, allocations: 190.6 kB / 3.002 GB, free: 55.71 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007474/3.418, allocations: 0.6152 MB / 3.002 GB, free: 55.05 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.731e-05/3.418, allocations: 24 kB / 3.003 GB, free: 55.02 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.044e-05/3.418, allocations: 47.98 kB / 3.003 GB, free: 54.98 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001147/3.419, allocations: 0.9718 MB / 3.004 GB, free: 54 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009167/3.42, allocations: 0.7038 MB / 3.004 GB, free: 53.26 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.748e-05/3.42, allocations: 0 / 3.004 GB, free: 53.26 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.863e-05/3.42, allocations: 0 / 3.004 GB, free: 53.26 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.403e-05/3.42, allocations: 20 kB / 3.004 GB, free: 53.24 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002727/3.423, allocations: 2.251 MB / 3.006 GB, free: 50.94 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007676/3.424, allocations: 0.6237 MB / 3.007 GB, free: 50.3 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002848/3.424, allocations: 238.7 kB / 3.007 GB, free: 50.07 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 6.818e-05/3.424, allocations: 32.77 kB / 3.007 GB, free: 50.03 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004154/3.424, allocations: 370.1 kB / 3.008 GB, free: 49.65 MB / 1.151 GB Notification: Performance of pre-optimization done (n=71): time 1.824e-06/3.424, allocations: 0 / 3.008 GB, free: 49.65 MB / 1.151 GB Notification: Performance of matching and sorting (n=71): time 0.001344/3.426, allocations: 0.6171 MB / 3.008 GB, free: 49.02 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.446e-05/3.426, allocations: 247.9 kB / 3.008 GB, free: 48.73 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004666/3.426, allocations: 0.4983 MB / 3.009 GB, free: 48.22 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 4.236e-05/3.426, allocations: 29.7 kB / 3.009 GB, free: 48.19 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001105/3.426, allocations: 292.2 kB / 3.009 GB, free: 47.89 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001077/3.427, allocations: 232.5 kB / 3.009 GB, free: 47.66 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.765e-05/3.427, allocations: 0 / 3.009 GB, free: 47.66 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 7.658e-05/3.427, allocations: 370.8 kB / 3.01 GB, free: 47.29 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002472/3.427, allocations: 189.2 kB / 3.01 GB, free: 47.11 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000301/3.427, allocations: 290.4 kB / 3.01 GB, free: 46.8 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003163/3.428, allocations: 231 kB / 3.011 GB, free: 46.57 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/3.428, allocations: 4 kB / 3.011 GB, free: 46.57 MB / 1.151 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001238/3.429, allocations: 0.6326 MB / 3.011 GB, free: 45.93 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.051e-05/3.429, allocations: 4 kB / 3.011 GB, free: 45.92 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.251e-06/3.429, allocations: 8.062 kB / 3.011 GB, free: 45.91 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005705/3.429, allocations: 88.7 kB / 3.011 GB, free: 45.82 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005354/3.43, allocations: 127.9 kB / 3.011 GB, free: 45.7 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00148/3.431, allocations: 1.465 MB / 3.013 GB, free: 44.11 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004657/3.432, allocations: 71.5 kB / 3.013 GB, free: 44.04 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.014e-05/3.432, allocations: 23.98 kB / 3.013 GB, free: 44.02 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.0001166/3.432, allocations: 120.9 kB / 3.013 GB, free: 43.89 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.943e-05/3.432, allocations: 71.16 kB / 3.013 GB, free: 43.82 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001732/3.434, allocations: 0.8933 MB / 3.014 GB, free: 42.91 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.182e-06/3.434, allocations: 8 kB / 3.014 GB, free: 42.91 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.954e-06/3.434, allocations: 0 / 3.014 GB, free: 42.91 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.095e-06/3.434, allocations: 3.984 kB / 3.014 GB, free: 42.9 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00059/3.435, allocations: 0.728 MB / 3.015 GB, free: 42.14 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.475e-06/3.435, allocations: 4 kB / 3.015 GB, free: 42.13 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005281/3.435, allocations: 139.8 kB / 3.015 GB, free: 42 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004757/3.436, allocations: 84.77 kB / 3.015 GB, free: 41.91 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.492e-05/3.436, allocations: 11.98 kB / 3.015 GB, free: 41.9 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001352/3.437, allocations: 1.481 MB / 3.016 GB, free: 40.3 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/3.437, allocations: 0 / 3.016 GB, free: 40.3 MB / 1.151 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001198/3.438, allocations: 0.7295 MB / 3.017 GB, free: 39.55 MB / 1.151 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001316/3.44, allocations: 1.148 MB / 3.018 GB, free: 38.38 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002686/3.44, allocations: 275.9 kB / 3.018 GB, free: 38.09 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001083/3.44, allocations: 4.062 kB / 3.018 GB, free: 38.08 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004976/3.44, allocations: 55.94 kB / 3.018 GB, free: 38.03 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.741e-05/3.441, allocations: 52.64 kB / 3.019 GB, free: 37.98 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.976e-05/3.441, allocations: 31.98 kB / 3.019 GB, free: 37.95 MB / 1.151 GB Notification: Performance of sort global known variables: time 0.0003467/3.441, allocations: 406.8 kB / 3.019 GB, free: 37.55 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.001454/3.442, allocations: 407 kB / 3.019 GB, free: 37.15 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.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.001335/3.444, allocations: 1.043 MB / 3.02 GB, free: 36.21 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.0009356/3.445, allocations: 0.6352 MB / 3.021 GB, free: 35.56 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 3.397e-06/3.445, allocations: 4 kB / 3.021 GB, free: 35.56 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0005487/3.445, allocations: 440.5 kB / 3.021 GB, free: 35.12 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008118/3.446, allocations: 201.3 kB / 3.022 GB, free: 34.93 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002895/3.449, allocations: 1.307 MB / 3.023 GB, free: 33.58 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005677/3.45, allocations: 1.116 MB / 3.024 GB, free: 32.45 MB / 1.151 GB Notification: Performance of SimCode: time 3.5e-07/3.45, allocations: 3.938 kB / 3.024 GB, free: 32.44 MB / 1.151 GB (rm -f Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic_res.mat --tempDir=temp_Buildings_latest_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_DiffuseIsotropic_fmu --startTime=0 --stopTime=8.64e+06 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_DiffuseIsotropic.fmu > Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic_res.mat does not exist to compare? outputFormat=mat