Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo", uses=false) Using package Modelica_StateGraph2 with version 2.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Using package Buildings with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/package.mo) Running command: translateModel(Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez") translateModel(Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez") [: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 3.0.0/package.mo): time 0.7924/0.7924, allocations: 132.4 MB / 139.7 MB, free: 15.5 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001271/0.001271, allocations: 170.6 kB / 171.6 MB, free: 1.98 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.452/1.452, allocations: 170.5 MB / 373.8 MB, free: 15.82 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001759/0.001759, allocations: 113.9 kB / 444.4 MB, free: 9.348 MB / 346.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:257:38-257:110:writable] Warning: The file was not encoded in UTF-8: "

An important practical aspect of state machines is the abilit...". Defaulting to 7-bit ASCII with unknown characters replaced by '?'. To change encoding when loading a file: loadFile(encoding="ISO-XXXX-YY"). To change it in a package: add a file package.encoding at the top-level. Note: The Modelica Language Specification only allows files encoded in UTF-8. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:761:36-761:108:writable] Warning: The file was not encoded in UTF-8: "

The Modelica_StateGraph2 library is described in detail in (O...". Defaulting to 7-bit ASCII with unknown characters replaced by '?'. To change encoding when loading a file: loadFile(encoding="ISO-XXXX-YY"). To change it in a package: add a file package.encoding at the top-level. Note: The Modelica Language Specification only allows files encoded in UTF-8. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:1435:36-1435:108:writable] Warning: The file was not encoded in UTF-8: "

Main Authors:
SCode: time 0.427/0.427, allocations: 73.39 MB / 0.666 GB, free: 62.46 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.444/5.871, allocations: 2.134 GB / 2.8 GB, free: 59.48 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004234/5.872, allocations: 80.64 kB / 2.8 GB, free: 59.4 MB / 0.6198 GB Notification: Performance of FrontEnd: time 0.8358/6.707, allocations: 123.3 MB / 2.92 GB, free: 182.3 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 0.0002808/6.708, allocations: 44.5 kB / 2.92 GB, free: 182.3 MB / 0.6198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 473 * Number of variables: 473 Notification: Performance of Generate backend data structure: time 0.009084/6.717, allocations: 1.95 MB / 2.922 GB, free: 180.9 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 7.815e-05/6.717, allocations: 8.75 kB / 2.922 GB, free: 180.9 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01653/6.734, allocations: 2.176 MB / 2.924 GB, free: 180 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004275/6.738, allocations: 0.9402 MB / 2.925 GB, free: 179.2 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002642/6.738, allocations: 59.62 kB / 2.925 GB, free: 179.2 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0015/6.74, allocations: 108.6 kB / 2.925 GB, free: 179.2 MB / 0.6198 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01008/6.75, allocations: 2.811 MB / 2.928 GB, free: 177.9 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01067/6.761, allocations: 2.09 MB / 2.93 GB, free: 176.7 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000154/6.761, allocations: 1.547 kB / 2.93 GB, free: 176.7 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001191/6.762, allocations: 1.438 kB / 2.93 GB, free: 176.7 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00012/6.762, allocations: 45.41 kB / 2.93 GB, free: 176.7 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02632/6.789, allocations: 6.182 MB / 2.936 GB, free: 172.3 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005741/6.794, allocations: 1.866 MB / 2.938 GB, free: 171.4 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002873/6.797, allocations: 1.006 MB / 2.939 GB, free: 170.9 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001257/6.799, allocations: 0.5009 MB / 2.94 GB, free: 170.4 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004856/6.804, allocations: 1.264 MB / 2.941 GB, free: 169.5 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=188): time 1.064e-05/6.804, allocations: 0 / 2.941 GB, free: 169.5 MB / 0.6198 GB Notification: Performance of matching and sorting (n=188): time 0.01159/6.815, allocations: 2.435 MB / 2.943 GB, free: 167 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001419/6.815, allocations: 176.2 kB / 2.943 GB, free: 166.8 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001527/6.817, allocations: 0.5741 MB / 2.944 GB, free: 166.2 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 0.00065/6.818, allocations: 29.7 kB / 2.944 GB, free: 166.2 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.000709/6.818, allocations: 0.5045 MB / 2.944 GB, free: 165.7 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.00112/6.819, allocations: 0.5848 MB / 2.945 GB, free: 165.1 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004408/6.82, allocations: 0 / 2.945 GB, free: 165.1 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0002864/6.82, allocations: 410.7 kB / 2.945 GB, free: 164.7 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001779/6.822, allocations: 0.7841 MB / 2.946 GB, free: 163.9 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00191/6.824, allocations: 0.9281 MB / 2.947 GB, free: 162.9 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005608/6.83, allocations: 1.256 MB / 2.948 GB, free: 161.7 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.632e-05/6.83, allocations: 0 / 2.948 GB, free: 161.7 MB / 0.6198 GB Notification: Performance of matching and sorting (n=203) (initialization): time 0.01033/6.84, allocations: 2.535 MB / 2.951 GB, free: 159.1 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 3.906e-05/6.84, allocations: 6.344 kB / 2.951 GB, free: 159.1 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.493e-05/6.84, allocations: 4 kB / 2.951 GB, free: 159.1 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007298/6.841, allocations: 84.89 kB / 2.951 GB, free: 159.1 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004328/6.845, allocations: 0.56 MB / 2.951 GB, free: 158.5 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001905/6.847, allocations: 1.369 MB / 2.953 GB, free: 157 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003934/6.851, allocations: 282.7 kB / 2.953 GB, free: 156.8 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008071/6.852, allocations: 91.83 kB / 2.953 GB, free: 156.7 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTim1.tStart,weaDat.conTim1.tStart,$PRE.weaDat.conTim.tStart,weaDat.conTim.tStart) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (202): * Single equations (assignments): 199 * Array equations: 0 * Algorithm blocks: 2 * 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 1} Notification: Performance of prepare postOptimizeDAE: time 0.001242/6.853, allocations: 135.7 kB / 2.953 GB, free: 156.6 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000982/6.854, allocations: 114.6 kB / 2.953 GB, free: 156.4 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01301/6.867, allocations: 3.126 MB / 2.956 GB, free: 153.3 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.645e-05/6.867, allocations: 23.98 kB / 2.956 GB, free: 153.3 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.615e-05/6.867, allocations: 0 / 2.956 GB, free: 153.3 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.661e-05/6.868, allocations: 11.95 kB / 2.956 GB, free: 153.3 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01505/6.883, allocations: 4.963 MB / 2.961 GB, free: 148.3 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.496e-05/6.883, allocations: 4 kB / 2.961 GB, free: 148.3 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004016/6.887, allocations: 0.5422 MB / 2.962 GB, free: 147.8 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005633/6.887, allocations: 80.78 kB / 2.962 GB, free: 147.7 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004971/6.888, allocations: 59.86 kB / 2.962 GB, free: 147.6 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001657/6.89, allocations: 1.375 MB / 2.963 GB, free: 146.1 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.034e-05/6.89, allocations: 12.52 kB / 2.963 GB, free: 146.1 MB / 0.6198 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.009806/6.899, allocations: 2.601 MB / 2.966 GB, free: 143.5 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001735/6.901, allocations: 0.5183 MB / 2.966 GB, free: 142.9 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008481/6.902, allocations: 0 / 2.966 GB, free: 142.9 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00343/6.906, allocations: 235.7 kB / 2.967 GB, free: 142.7 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003513/6.906, allocations: 101.8 kB / 2.967 GB, free: 142.6 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004303/6.906, allocations: 83.92 kB / 2.967 GB, free: 142.5 MB / 0.6198 GB Notification: Performance of sort global known variables: time 0.001092/6.908, allocations: 495.1 kB / 2.967 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.00342/6.911, allocations: 0.611 MB / 2.968 GB, free: 141.4 MB / 0.6198 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.conTim1.tStart,weaDat.conTim.tStart) * Number of discrete states: 2 (weaDat.conTim.tStart,weaDat.conTim1.tStart) * Top-level inputs: 0 Notification: Strong component statistics for simulation (199): * Single equations (assignments): 196 * 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 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.00333/6.914, allocations: 1.183 MB / 2.969 GB, free: 140.5 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.004762/6.919, allocations: 2.171 MB / 2.971 GB, free: 138.3 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 7.634e-06/6.919, allocations: 4 kB / 2.971 GB, free: 138.3 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.002348/6.921, allocations: 1.22 MB / 2.972 GB, free: 137.1 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001669/6.923, allocations: 159.4 kB / 2.972 GB, free: 136.9 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009351/6.933, allocations: 2.647 MB / 2.975 GB, free: 134.2 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003011/6.936, allocations: 1.57 MB / 2.977 GB, free: 132.6 MB / 0.6198 GB Notification: Performance of SimCode: time 1.673e-06/6.936, allocations: 0 / 2.977 GB, free: 132.6 MB / 0.6198 GB Notification: Performance of Templates: time 0.06966/7.005, allocations: 36.36 MB / 3.012 GB, free: 96.36 MB / 0.6198 GB make -j1 -f Buildings_3.0.0_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.makefile (rm -f Buildings_3.0.0_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe ; mkfifo Buildings_3.0.0_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe >> ../files/Buildings_3.0.0_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.sim & ./Buildings_3.0.0_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe 2>&1)