Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Utilities.Plotters.Examples.TimeSeries.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Plotters.Examples.TimeSeries,fileNamePrefix="Buildings_8_0_0_Buildings_Utilities_Plotters_Examples_TimeSeries",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Plotters.Examples.TimeSeries,fileNamePrefix="Buildings_8_0_0_Buildings_Utilities_Plotters_Examples_TimeSeries",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 8.0.0/package.mo): time 2.412/2.412, allocations: 284.8 MB / 292.1 MB, free: 10.79 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001681/0.001681, allocations: 181.3 kB / 360.3 MB, free: 7.547 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.836/1.836, allocations: 205.1 MB / 0.6187 GB, free: 13.21 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001239/0.001239, allocations: 92.89 kB / 0.7317 GB, free: 45.12 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2832/0.2845, allocations: 121.4 MB / 0.8502 GB, free: 3.949 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6683/0.9528, allocations: 115.2 MB / 0.9627 GB, free: 78.27 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2683/1.221, allocations: 140.5 MB / 1.1 GB, free: 336 kB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004148/1.222, allocations: 72.89 kB / 1.1 GB, free: 264 kB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 23 * Number of variables: 23 Notification: Performance of Generate backend data structure: time 0.03473/1.256, allocations: 6.934 MB / 1.107 GB, free: 9.359 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.894e-05/1.256, allocations: 12.48 kB / 1.107 GB, free: 9.348 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001102/1.257, allocations: 19.81 kB / 1.107 GB, free: 9.328 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007908/1.257, allocations: 262.6 kB / 1.107 GB, free: 9.031 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.768e-05/1.257, allocations: 12.83 kB / 1.107 GB, free: 9.02 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.955e-05/1.258, allocations: 15.94 kB / 1.107 GB, free: 9.004 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002258/1.258, allocations: 47.98 kB / 1.107 GB, free: 8.957 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002579/1.258, allocations: 94.34 kB / 1.107 GB, free: 8.859 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.148e-05/1.258, allocations: 0 / 1.107 GB, free: 8.859 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.215e-05/1.258, allocations: 3.984 kB / 1.107 GB, free: 8.855 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.688e-06/1.258, allocations: 4 kB / 1.107 GB, free: 8.852 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001082/1.259, allocations: 444.8 kB / 1.108 GB, free: 8.379 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004407/1.26, allocations: 101.5 kB / 1.108 GB, free: 8.273 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001063/1.26, allocations: 32.86 kB / 1.108 GB, free: 8.238 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.979e-05/1.26, allocations: 0 / 1.108 GB, free: 8.238 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002281/1.26, allocations: 100.9 kB / 1.108 GB, free: 8.129 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=16): time 2.465e-06/1.26, allocations: 0 / 1.108 GB, free: 8.129 MB / 0.7136 GB Notification: Performance of matching and sorting (n=16): time 0.0004038/1.261, allocations: 120.6 kB / 1.108 GB, free: 8.008 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.24e-05/1.261, allocations: 51.41 kB / 1.108 GB, free: 7.945 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002697/1.261, allocations: 182.9 kB / 1.108 GB, free: 7.758 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 5.488e-05/1.261, allocations: 25.7 kB / 1.108 GB, free: 7.727 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001017/1.261, allocations: 104.5 kB / 1.108 GB, free: 7.621 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 5.639e-05/1.261, allocations: 40.19 kB / 1.108 GB, free: 7.582 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.019e-05/1.261, allocations: 4 kB / 1.108 GB, free: 7.578 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001703/1.261, allocations: 334.7 kB / 1.109 GB, free: 7.242 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002023/1.262, allocations: 51.98 kB / 1.109 GB, free: 7.191 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003314/1.262, allocations: 119.6 kB / 1.109 GB, free: 7.047 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002422/1.262, allocations: 63.95 kB / 1.109 GB, free: 6.984 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.817e-06/1.262, allocations: 3.375 kB / 1.109 GB, free: 6.984 MB / 0.7136 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0006828/1.263, allocations: 209.6 kB / 1.109 GB, free: 6.773 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.751e-05/1.263, allocations: 4 kB / 1.109 GB, free: 6.77 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.467e-05/1.263, allocations: 7.984 kB / 1.109 GB, free: 6.762 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.197e-05/1.263, allocations: 7.938 kB / 1.109 GB, free: 6.754 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001901/1.263, allocations: 19.94 kB / 1.109 GB, free: 6.734 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.538e-05/1.263, allocations: 7.906 kB / 1.109 GB, free: 6.727 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005689/1.264, allocations: 24.08 kB / 1.109 GB, free: 6.703 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.297e-05/1.264, allocations: 11.98 kB / 1.109 GB, free: 6.691 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 19 ($PRE.timSer1.timeConverted,timSer1.timeConverted,$PRE.timSer.timeConverted,timSer.timeConverted,$whenCondition3,$whenCondition2,$whenCondition1,plotConfiguration.active,$PRE.plotConfiguration.tActivateLast,plotConfiguration.tActivateLast,timSer.active,$PRE.timSer.tActivateLast,timSer.tActivateLast,timSer.sampleTrigger,timSer1.active,$PRE.timSer1.tActivateLast,timSer1.tActivateLast,timSer1.sampleTrigger,plotConfiguration.activate_internal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (24): * Single equations (assignments): 22 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002275/1.264, allocations: 126.6 kB / 1.109 GB, free: 6.559 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.105e-05/1.264, allocations: 15.81 kB / 1.109 GB, free: 6.543 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005741/1.265, allocations: 119.2 kB / 1.109 GB, free: 6.418 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.781e-06/1.265, allocations: 0 / 1.109 GB, free: 6.418 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.436e-06/1.265, allocations: 7.906 kB / 1.109 GB, free: 6.41 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.551e-06/1.265, allocations: 0 / 1.109 GB, free: 6.41 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008977/1.266, allocations: 436.2 kB / 1.11 GB, free: 5.941 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.288e-06/1.266, allocations: 0 / 1.11 GB, free: 5.941 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.883e-05/1.266, allocations: 11.98 kB / 1.11 GB, free: 5.93 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.122e-06/1.266, allocations: 7.938 kB / 1.11 GB, free: 5.922 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.686e-05/1.266, allocations: 4 kB / 1.11 GB, free: 5.918 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.487e-06/1.266, allocations: 0 / 1.11 GB, free: 5.918 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.24e-06/1.266, allocations: 3.906 kB / 1.11 GB, free: 5.914 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003228/1.266, allocations: 213.9 kB / 1.11 GB, free: 5.691 MB / 0.7136 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0004963/1.267, allocations: 0.5894 MB / 1.111 GB, free: 5.082 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001/1.267, allocations: 96.95 kB / 1.111 GB, free: 4.969 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.289e-05/1.267, allocations: 6.859 kB / 1.111 GB, free: 4.965 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001952/1.267, allocations: 11.91 kB / 1.111 GB, free: 4.953 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.393e-05/1.267, allocations: 15.97 kB / 1.111 GB, free: 4.938 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.013e-05/1.267, allocations: 15.92 kB / 1.111 GB, free: 4.922 MB / 0.7136 GB Notification: Performance of sort global known variables: time 0.0001771/1.267, allocations: 141.5 kB / 1.111 GB, free: 4.785 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.00144/1.269, allocations: 51.92 kB / 1.111 GB, free: 4.734 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 13 (timSer1.sampleTrigger,timSer.sampleTrigger,plotConfiguration.active,$whenCondition3,$whenCondition2,$whenCondition1,plotConfiguration.tActivateLast,timSer.active,timSer.tActivateLast,timSer.timeConverted,timSer1.active,timSer1.tActivateLast,timSer1.timeConverted) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.000462/1.269, allocations: 157.5 kB / 1.111 GB, free: 4.598 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0005446/1.27, allocations: 186.3 kB / 1.111 GB, free: 4.406 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/1.27, allocations: 0 / 1.111 GB, free: 4.406 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0001441/1.27, allocations: 44 kB / 1.111 GB, free: 4.363 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005771/1.271, allocations: 49.8 kB / 1.111 GB, free: 4.316 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009106/1.272, allocations: 221.1 kB / 1.112 GB, free: 4.07 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005033/1.272, allocations: 0.7512 MB / 1.112 GB, free: 3.297 MB / 0.7136 GB Notification: Performance of SimCode: time 1.162e-06/1.272, allocations: 0 / 1.112 GB, free: 3.297 MB / 0.7136 GB (rm -f Buildings_8.0.0_Buildings.Utilities.Plotters.Examples.TimeSeries.pipe ; mkfifo Buildings_8.0.0_Buildings.Utilities.Plotters.Examples.TimeSeries.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Utilities.Plotters.Examples.TimeSeries.pipe >> ../files/Buildings_8.0.0_Buildings.Utilities.Plotters.Examples.TimeSeries.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Utilities_Plotters_Examples_TimeSeries_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Utilities_Plotters_Examples_TimeSeries.fmu > Buildings_8.0.0_Buildings.Utilities.Plotters.Examples.TimeSeries.pipe 2>&1)