Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Utilities.IO.Files.Examples.CSVReader.conf.json 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 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.IO.Files.Examples.CSVReader,fileNamePrefix="Buildings_7_0_0_Buildings_Utilities_IO_Files_Examples_CSVReader",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 7.0.1/package.mo): time 2.505/2.505, allocations: 248.6 MB / 255.9 MB, free: 7.16 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001841/0.001841, allocations: 185.4 kB / 315.1 MB, free: 4.27 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.058/2.058, allocations: 205.1 MB / 0.5658 GB, free: 368 kB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001312/0.001312, allocations: 90.7 kB / 0.67 GB, free: 5.574 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.4983/0.4996, allocations: 112.4 MB / 0.7797 GB, free: 103.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2176/0.7173, allocations: 106.2 MB / 0.8835 GB, free: 13.37 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7343/1.452, allocations: 135.6 MB / 1.016 GB, free: 4.652 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003486/1.452, allocations: 77.58 kB / 1.016 GB, free: 4.609 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.02837/1.48, allocations: 6.116 MB / 1.022 GB, free: 15.71 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.519e-05/1.481, allocations: 8 kB / 1.022 GB, free: 15.7 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.402e-05/1.481, allocations: 11.81 kB / 1.022 GB, free: 15.69 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005279/1.481, allocations: 213.9 kB / 1.022 GB, free: 15.45 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.905e-05/1.481, allocations: 0 / 1.022 GB, free: 15.45 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.454e-05/1.481, allocations: 11.91 kB / 1.022 GB, free: 15.43 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001661/1.481, allocations: 28.98 kB / 1.022 GB, free: 15.41 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002082/1.482, allocations: 95.52 kB / 1.022 GB, free: 15.31 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.127e-05/1.482, allocations: 0 / 1.022 GB, free: 15.31 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.22e-05/1.482, allocations: 3.938 kB / 1.022 GB, free: 15.31 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.771e-06/1.482, allocations: 3.938 kB / 1.022 GB, free: 15.3 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003085/1.482, allocations: 192.3 kB / 1.022 GB, free: 15.09 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003677/1.482, allocations: 105.1 kB / 1.023 GB, free: 14.98 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001021/1.483, allocations: 37.7 kB / 1.023 GB, free: 14.94 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 2.545e-05/1.483, allocations: 4 kB / 1.023 GB, free: 14.93 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002176/1.483, allocations: 95.64 kB / 1.023 GB, free: 14.83 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=8): time 2.655e-06/1.483, allocations: 0 / 1.023 GB, free: 14.83 MB / 0.6511 GB Notification: Performance of matching and sorting (n=8): time 0.0004857/1.483, allocations: 102 kB / 1.023 GB, free: 14.74 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.675e-05/1.483, allocations: 135.5 kB / 1.023 GB, free: 14.58 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003708/1.484, allocations: 167.5 kB / 1.023 GB, free: 14.43 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 3.193e-05/1.484, allocations: 25.7 kB / 1.023 GB, free: 14.4 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 5.741e-05/1.484, allocations: 94.38 kB / 1.023 GB, free: 14.31 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 5.901e-05/1.484, allocations: 27.27 kB / 1.023 GB, free: 14.29 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.877e-06/1.484, allocations: 0 / 1.023 GB, free: 14.29 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001581/1.484, allocations: 322.1 kB / 1.024 GB, free: 13.96 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.792e-05/1.484, allocations: 23.31 kB / 1.024 GB, free: 13.95 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000114/1.484, allocations: 62.03 kB / 1.024 GB, free: 13.89 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001104/1.485, allocations: 22.92 kB / 1.024 GB, free: 13.87 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.306e-06/1.485, allocations: 192 / 1.024 GB, free: 13.87 MB / 0.6511 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000319/1.485, allocations: 107.9 kB / 1.024 GB, free: 13.77 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.82e-05/1.485, allocations: 7.938 kB / 1.024 GB, free: 13.77 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.115e-06/1.485, allocations: 4.125 kB / 1.024 GB, free: 13.76 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.929e-05/1.485, allocations: 4 kB / 1.024 GB, free: 13.76 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002648/1.485, allocations: 27.23 kB / 1.024 GB, free: 13.73 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.959e-06/1.485, allocations: 4 kB / 1.024 GB, free: 13.73 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001575/1.485, allocations: 11.98 kB / 1.024 GB, free: 13.72 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.686e-05/1.485, allocations: 4 kB / 1.024 GB, free: 13.71 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEvent,$PRE.combiTimeTable.nextTimeEventScaled,combiTimeTable.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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 0.0001164/1.486, allocations: 109 kB / 1.024 GB, free: 13.6 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.926e-05/1.486, allocations: 19.81 kB / 1.024 GB, free: 13.58 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004837/1.486, allocations: 108.3 kB / 1.024 GB, free: 13.49 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.231e-05/1.486, allocations: 4 kB / 1.024 GB, free: 13.48 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.072e-06/1.486, allocations: 0 / 1.024 GB, free: 13.48 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.671e-06/1.486, allocations: 0 / 1.024 GB, free: 13.48 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002639/1.487, allocations: 188.1 kB / 1.024 GB, free: 13.28 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.131e-05/1.487, allocations: 7.984 kB / 1.024 GB, free: 13.27 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000183/1.487, allocations: 19.94 kB / 1.024 GB, free: 13.25 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.067e-06/1.487, allocations: 4 kB / 1.024 GB, free: 13.25 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.793e-05/1.487, allocations: 3.984 kB / 1.024 GB, free: 13.25 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.136e-06/1.487, allocations: 0 / 1.024 GB, free: 13.25 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.621e-06/1.487, allocations: 4 kB / 1.024 GB, free: 13.24 MB / 0.6511 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000347/1.487, allocations: 168.4 kB / 1.024 GB, free: 13.06 MB / 0.6511 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0004907/1.488, allocations: 0.5422 MB / 1.025 GB, free: 12.5 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 9.562e-05/1.488, allocations: 100.1 kB / 1.025 GB, free: 12.39 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.721e-05/1.488, allocations: 0 / 1.025 GB, free: 12.39 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002192/1.488, allocations: 8 kB / 1.025 GB, free: 12.38 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.254e-05/1.488, allocations: 11.48 kB / 1.025 GB, free: 12.38 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.508e-05/1.488, allocations: 4 kB / 1.025 GB, free: 12.37 MB / 0.6511 GB Notification: Performance of sort global known variables: time 0.0001736/1.488, allocations: 137.5 kB / 1.025 GB, free: 12.25 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.00127/1.49, allocations: 31.81 kB / 1.025 GB, free: 12.23 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEventScaled) * Number of discrete states: 2 (combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 8 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001038/1.491, allocations: 358.5 kB / 1.026 GB, free: 11.97 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0003154/1.491, allocations: 68.17 kB / 1.026 GB, free: 11.92 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.617e-06/1.491, allocations: 0 / 1.026 GB, free: 11.92 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0001261/1.491, allocations: 38.56 kB / 1.026 GB, free: 11.89 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004438/1.492, allocations: 34.8 kB / 1.026 GB, free: 11.86 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007201/1.492, allocations: 161.5 kB / 1.026 GB, free: 11.69 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000576/1.493, allocations: 0.7385 MB / 1.027 GB, free: 10.93 MB / 0.6511 GB Notification: Performance of SimCode: time 1.282e-06/1.493, allocations: 0 / 1.027 GB, free: 10.93 MB / 0.6511 GB