Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.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.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain") translateModel(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain") [: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.7844/0.7844, allocations: 132.4 MB / 139.7 MB, free: 15.56 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.001352/0.001353, allocations: 175.2 kB / 171.6 MB, free: 2.012 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.564/1.564, allocations: 170.5 MB / 373.9 MB, free: 15.89 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.001718/0.001718, allocations: 112 kB / 444.4 MB, free: 9.445 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.5267/0.5267, allocations: 73.38 MB / 0.666 GB, free: 62.22 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6375/1.164, allocations: 322 MB / 0.9804 GB, free: 114.4 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002282/1.165, allocations: 84.25 kB / 0.9805 GB, free: 114.4 MB / 0.5886 GB Notification: Performance of FrontEnd: time 0.02665/1.191, allocations: 10.75 MB / 0.991 GB, free: 105.8 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 2.334e-05/1.191, allocations: 4 kB / 0.991 GB, free: 105.8 MB / 0.5886 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.001152/1.192, allocations: 0.6227 MB / 0.9916 GB, free: 105.1 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.491e-05/1.193, allocations: 8.031 kB / 0.9916 GB, free: 105.1 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009094/1.193, allocations: 163.2 kB / 0.9918 GB, free: 105 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009612/1.194, allocations: 347.8 kB / 0.9921 GB, free: 104.6 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.485e-05/1.194, allocations: 4 kB / 0.9921 GB, free: 104.6 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.246e-05/1.194, allocations: 4 kB / 0.9921 GB, free: 104.6 MB / 0.5886 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002961/1.195, allocations: 145.4 kB / 0.9923 GB, free: 104.5 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002364/1.195, allocations: 143.3 kB / 0.9924 GB, free: 104.4 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.506e-06/1.195, allocations: 0 / 0.9924 GB, free: 104.4 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.507e-05/1.195, allocations: 3.906 kB / 0.9924 GB, free: 104.4 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.492e-06/1.195, allocations: 4 kB / 0.9924 GB, free: 104.4 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001142/1.196, allocations: 0.555 MB / 0.993 GB, free: 103.9 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001588/1.196, allocations: 104 kB / 0.9931 GB, free: 103.8 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001301/1.197, allocations: 92.12 kB / 0.9932 GB, free: 103.8 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 2.683e-05/1.197, allocations: 3.984 kB / 0.9932 GB, free: 103.8 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.647e-05/1.197, allocations: 42.5 kB / 0.9932 GB, free: 103.7 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=13): time 1.533e-06/1.197, allocations: 0 / 0.9932 GB, free: 103.7 MB / 0.5886 GB Notification: Performance of matching and sorting (n=13): time 0.001083/1.198, allocations: 329.9 kB / 0.9935 GB, free: 103.4 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.372e-05/1.198, allocations: 59.39 kB / 0.9936 GB, free: 103.4 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000191/1.198, allocations: 224.3 kB / 0.9938 GB, free: 103.2 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 2.496e-05/1.198, allocations: 29.7 kB / 0.9938 GB, free: 103.1 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 4.629e-05/1.198, allocations: 115 kB / 0.9939 GB, free: 103 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 4.103e-05/1.198, allocations: 38.25 kB / 0.994 GB, free: 103 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.846e-05/1.198, allocations: 4 kB / 0.994 GB, free: 103 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 7.717e-05/1.198, allocations: 345.6 kB / 0.9943 GB, free: 102.7 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001289/1.198, allocations: 71.36 kB / 0.9944 GB, free: 102.6 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001251/1.198, allocations: 77.92 kB / 0.9944 GB, free: 102.6 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001236/1.2, allocations: 315.8 kB / 0.9947 GB, free: 102.3 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.415e-06/1.2, allocations: 1.688 kB / 0.9947 GB, free: 102.3 MB / 0.5886 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.001444/1.201, allocations: 483.6 kB / 0.9952 GB, free: 101.9 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.55e-05/1.201, allocations: 6.188 kB / 0.9952 GB, free: 101.9 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.532e-06/1.201, allocations: 3.906 kB / 0.9952 GB, free: 101.9 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.477e-05/1.201, allocations: 0 / 0.9952 GB, free: 101.9 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005113/1.202, allocations: 83.92 kB / 0.9953 GB, free: 101.8 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.112e-06/1.202, allocations: 8 kB / 0.9953 GB, free: 101.8 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003814/1.202, allocations: 59.84 kB / 0.9954 GB, free: 101.8 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.903e-05/1.202, allocations: 4 kB / 0.9954 GB, free: 101.8 MB / 0.5886 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 17 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.27e-05/1.202, allocations: 111.2 kB / 0.9955 GB, free: 101.7 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.191e-05/1.202, allocations: 39.48 kB / 0.9955 GB, free: 101.6 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001014/1.203, allocations: 358.4 kB / 0.9958 GB, free: 101.3 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.01e-06/1.203, allocations: 4 kB / 0.9958 GB, free: 101.3 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.291e-06/1.203, allocations: 5.688 kB / 0.9959 GB, free: 101.3 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.21e-06/1.203, allocations: 3.984 kB / 0.9959 GB, free: 101.3 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002598/1.204, allocations: 290.6 kB / 0.9961 GB, free: 101 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.264e-06/1.204, allocations: 0 / 0.9961 GB, free: 101 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004561/1.204, allocations: 86.8 kB / 0.9962 GB, free: 101 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.917e-06/1.204, allocations: 4.938 kB / 0.9962 GB, free: 101 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.589e-05/1.204, allocations: 7.984 kB / 0.9962 GB, free: 101 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.773e-06/1.204, allocations: 0 / 0.9962 GB, free: 101 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.795e-06/1.204, allocations: 3.906 kB / 0.9962 GB, free: 100.9 MB / 0.5886 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0008882/1.205, allocations: 430.4 kB / 0.9966 GB, free: 100.6 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001098/1.205, allocations: 126.8 kB / 0.9968 GB, free: 100.4 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.785e-05/1.205, allocations: 10.52 kB / 0.9968 GB, free: 100.4 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003985/1.206, allocations: 55.95 kB / 0.9968 GB, free: 100.4 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.57e-05/1.206, allocations: 21.16 kB / 0.9968 GB, free: 100.4 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.337e-05/1.206, allocations: 3.984 kB / 0.9969 GB, free: 100.4 MB / 0.5886 GB Notification: Performance of sort global known variables: time 0.0001174/1.206, allocations: 180.2 kB / 0.997 GB, free: 100.2 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0003289/1.206, allocations: 59.92 kB / 0.9971 GB, free: 100.2 MB / 0.5886 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 15 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002585/1.207, allocations: 172.1 kB / 0.9972 GB, free: 99.99 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0003381/1.207, allocations: 190.3 kB / 0.9974 GB, free: 99.88 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/1.207, allocations: 0 / 0.9974 GB, free: 99.88 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.0001545/1.207, allocations: 95.16 kB / 0.9975 GB, free: 99.82 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003082/1.207, allocations: 34.05 kB / 0.9975 GB, free: 99.79 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007482/1.208, allocations: 313.5 kB / 0.9978 GB, free: 99.51 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003197/1.208, allocations: 0.7895 MB / 0.9986 GB, free: 98.7 MB / 0.5886 GB Notification: Performance of SimCode: time 2.61e-07/1.208, allocations: 0 / 0.9986 GB, free: 98.7 MB / 0.5886 GB Notification: Performance of Templates: time 0.006579/1.215, allocations: 3.794 MB / 1.002 GB, free: 94.96 MB / 0.5886 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.makefile (rm -f Buildings_3.0.0_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe ; mkfifo Buildings_3.0.0_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe >> ../files/Buildings_3.0.0_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.sim & ./Buildings_3.0.0_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe 2>&1)