Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.SolarCollectors.Examples.Concentrating.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.Examples.Concentrating,fileNamePrefix="Buildings_8_Buildings_Fluid_SolarCollectors_Examples_Concentrating",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.Examples.Concentrating,fileNamePrefix="Buildings_8_Buildings_Fluid_SolarCollectors_Examples_Concentrating",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.1.4-maint.8.1.x/package.mo): time 1.57/1.57, allocations: 289.8 MB / 297.1 MB, free: 6.66 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.001212/0.001212, allocations: 185.2 kB / 366.3 MB, free: 1.965 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.594/1.594, allocations: 205.1 MB / 0.6256 GB, free: 5.816 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.0009704/0.0009703, allocations: 103 kB / 0.7396 GB, free: 39.63 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.3004/0.3014, allocations: 122.4 MB / 0.8591 GB, free: 13.24 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7379/1.039, allocations: 116.3 MB / 0.9726 GB, free: 68.1 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.112/6.152, allocations: 2.358 GB / 3.33 GB, free: 95.64 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002293/6.152, allocations: 93.42 kB / 3.33 GB, free: 95.55 MB / 0.948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 965 * Number of variables: 965 Notification: Performance of Generate backend data structure: time 3.238/9.39, allocations: 0.93 GB / 4.26 GB, free: 187.5 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.023e-05/9.39, allocations: 7.938 kB / 4.26 GB, free: 187.5 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008153/9.398, allocations: 1.242 MB / 4.262 GB, free: 187.2 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01423/9.412, allocations: 5.406 MB / 4.267 GB, free: 186.5 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002171/9.413, allocations: 124.9 kB / 4.267 GB, free: 186.5 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001328/9.414, allocations: 210.7 kB / 4.267 GB, free: 186.5 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.009721/9.424, allocations: 4.388 MB / 4.271 GB, free: 186.5 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007984/9.432, allocations: 4.564 MB / 4.276 GB, free: 186 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.061e-05/9.432, allocations: 14.78 kB / 4.276 GB, free: 186 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004189/9.432, allocations: 3.531 kB / 4.276 GB, free: 186 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001299/9.432, allocations: 181.5 kB / 4.276 GB, free: 186 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02957/9.462, allocations: 19.2 MB / 4.295 GB, free: 177.5 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006098/9.468, allocations: 3.002 MB / 4.298 GB, free: 176.5 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002574/9.471, allocations: 1.625 MB / 4.299 GB, free: 175.8 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001827/9.473, allocations: 1.867 MB / 4.301 GB, free: 173.8 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002478/9.475, allocations: 1.779 MB / 4.303 GB, free: 173.1 MB / 0.948 GB Notification: Performance of pre-optimization done (n=266): time 4.168e-06/9.475, allocations: 0 / 4.303 GB, free: 173.1 MB / 0.948 GB Notification: Performance of matching and sorting (n=266): time 0.01079/9.486, allocations: 3.672 MB / 4.306 GB, free: 171.9 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001018/9.486, allocations: 285.1 kB / 4.307 GB, free: 171.6 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004804/9.491, allocations: 3.025 MB / 4.31 GB, free: 170.5 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0007123/9.492, allocations: 29.42 kB / 4.31 GB, free: 170.5 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001868/9.494, allocations: 1.379 MB / 4.311 GB, free: 169.5 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.001315/9.495, allocations: 0.8719 MB / 4.312 GB, free: 168.8 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001793/9.495, allocations: 0 / 4.312 GB, free: 168.8 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001862/9.495, allocations: 425.8 kB / 4.312 GB, free: 168.5 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002047/9.497, allocations: 1.302 MB / 4.314 GB, free: 168 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002292/9.5, allocations: 1.971 MB / 4.315 GB, free: 166.7 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007598/9.507, allocations: 2.32 MB / 4.318 GB, free: 166 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.88e-05/9.507, allocations: 3.312 kB / 4.318 GB, free: 166 MB / 0.948 GB Notification: Performance of matching and sorting (n=367) (initialization): time 0.01326/9.52, allocations: 4.363 MB / 4.322 GB, free: 164.7 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.001969/9.523, allocations: 7.278 MB / 4.329 GB, free: 157.1 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.859e-05/9.523, allocations: 17.09 kB / 4.329 GB, free: 157.1 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00073/9.523, allocations: 122.2 kB / 4.329 GB, free: 157 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00446/9.528, allocations: 0.7852 MB / 4.33 GB, free: 157 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002166/9.53, allocations: 2.104 MB / 4.332 GB, free: 155.1 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004799/9.535, allocations: 419.9 kB / 4.332 GB, free: 154.9 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005499/9.535, allocations: 144.4 kB / 4.333 GB, free: 154.9 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 9.348e-06/9.535, allocations: 4.062 kB / 4.333 GB, free: 154.9 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01193/9.547, allocations: 3.991 MB / 4.337 GB, free: 153.8 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.397e-05/9.547, allocations: 22.34 kB / 4.337 GB, free: 153.8 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007221/9.548, allocations: 110.5 kB / 4.337 GB, free: 153.8 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004306/9.553, allocations: 0.7836 MB / 4.337 GB, free: 153.7 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001954/9.554, allocations: 1.502 MB / 4.339 GB, free: 152.4 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005495/9.56, allocations: 374.8 kB / 4.339 GB, free: 152.3 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008037/9.561, allocations: 146.1 kB / 4.339 GB, free: 152.3 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 76 * 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 (365): * Single equations (assignments): 363 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 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.001363/9.562, allocations: 185.6 kB / 4.34 GB, free: 152.1 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001579/9.564, allocations: 352.9 kB / 4.34 GB, free: 151.9 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01619/9.58, allocations: 4.515 MB / 4.344 GB, free: 150.5 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.134e-05/9.58, allocations: 31.02 kB / 4.344 GB, free: 150.5 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.378e-05/9.58, allocations: 1.375 kB / 4.344 GB, free: 150.5 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0104/9.591, allocations: 3.626 MB / 4.348 GB, free: 149.3 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02775/9.618, allocations: 8.647 MB / 4.356 GB, free: 145.5 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.355e-05/9.618, allocations: 0 / 4.356 GB, free: 145.5 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004062/9.622, allocations: 0.6213 MB / 4.357 GB, free: 145 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006094/9.623, allocations: 98.75 kB / 4.357 GB, free: 144.9 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005974/9.624, allocations: 57.84 kB / 4.357 GB, free: 144.9 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002104/9.626, allocations: 2.092 MB / 4.359 GB, free: 142.7 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.992e-06/9.626, allocations: 0 / 4.359 GB, free: 142.7 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01622/9.642, allocations: 5.978 MB / 4.365 GB, free: 137.4 MB / 0.948 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.01935/9.662, allocations: 8.451 MB / 4.373 GB, free: 129.9 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004403/9.666, allocations: 1.047 MB / 4.374 GB, free: 129 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002008/9.668, allocations: 15.47 kB / 4.374 GB, free: 129 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004923/9.673, allocations: 277.7 kB / 4.375 GB, free: 128.8 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005264/9.674, allocations: 154.6 kB / 4.375 GB, free: 128.7 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005725/9.674, allocations: 126 kB / 4.375 GB, free: 128.6 MB / 0.948 GB Notification: Performance of sort global known variables: time 0.005112/9.679, allocations: 2.335 MB / 4.377 GB, free: 126.6 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.01297/9.692, allocations: 2.658 MB / 4.38 GB, free: 123.9 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 11 (solCol.vol[1].dynBal.U,solCol.vol[2].dynBal.U,solCol.vol[3].dynBal.U,solCol.vol[4].dynBal.U,solCol.vol[5].dynBal.U,solCol.vol[6].dynBal.U,solCol.vol[7].dynBal.U,solCol.vol[8].dynBal.U,solCol.vol[9].dynBal.U,TOut.T,TIn.T) * 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 (285): * Single equations (assignments): 275 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 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.003696/9.696, allocations: 1.607 MB / 4.381 GB, free: 122.8 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.01032/9.706, allocations: 5.406 MB / 4.387 GB, free: 117.9 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.315e-05/9.706, allocations: 4.391 kB / 4.387 GB, free: 117.9 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0034/9.71, allocations: 1.708 MB / 4.388 GB, free: 116.3 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01011/9.72, allocations: 1.673 MB / 4.39 GB, free: 115.1 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01822/9.738, allocations: 7.914 MB / 4.398 GB, free: 107.8 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003805/9.742, allocations: 3.578 MB / 4.401 GB, free: 104.2 MB / 0.948 GB Notification: Performance of SimCode: time 1.072e-06/9.742, allocations: 0 / 4.401 GB, free: 104.2 MB / 0.948 GB (rm -f Buildings_8_Buildings.Fluid.SolarCollectors.Examples.Concentrating.pipe ; mkfifo Buildings_8_Buildings.Fluid.SolarCollectors.Examples.Concentrating.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.SolarCollectors.Examples.Concentrating.pipe >> ../files/Buildings_8_Buildings.Fluid.SolarCollectors.Examples.Concentrating.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_SolarCollectors_Examples_Concentrating_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_SolarCollectors_Examples_Concentrating.fmu > Buildings_8_Buildings.Fluid.SolarCollectors.Examples.Concentrating.pipe 2>&1)