Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Obsolete.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: "" <> buildModelFMU(Buildings.Obsolete.Fluid.SolarCollectors.Controls.Examples.SolarPumpController,fileNamePrefix="Buildings_latest_Buildings_Obsolete_Fluid_SolarCollectors_Controls_Examples_SolarPumpController",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Obsolete.Fluid.SolarCollectors.Controls.Examples.SolarPumpController,fileNamePrefix="Buildings_latest_Buildings_Obsolete_Fluid_SolarCollectors_Controls_Examples_SolarPumpController",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 10.0.0-master/package.mo): time 1.964/1.964, allocations: 390.4 MB / 397.7 MB, free: 11.26 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009672/0.0009676, allocations: 185.9 kB / 490.8 MB, free: 1.957 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.22/1.22, allocations: 221.3 MB / 0.7863 GB, free: 13.73 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008801/0.0008799, allocations: 83.61 kB / 0.9264 GB, free: 14.24 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 0.4906/0.4915, allocations: 149.1 MB / 1.072 GB, free: 182.5 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2036/0.6951, allocations: 143 MB / 1.212 GB, free: 40.02 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.169/3.864, allocations: 1.733 GB / 2.944 GB, free: 139.7 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002812/3.865, allocations: 95.72 kB / 2.944 GB, free: 139.6 MB / 1.151 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 204 * Number of variables: 204 Notification: Performance of Generate backend data structure: time 0.1418/4.006, allocations: 67.99 MB / 3.011 GB, free: 71.27 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.064e-05/4.007, allocations: 8 kB / 3.011 GB, free: 71.26 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001068/4.008, allocations: 202.5 kB / 3.011 GB, free: 71.06 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001183/4.009, allocations: 0.6433 MB / 3.012 GB, free: 70.38 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.72e-05/4.009, allocations: 28 kB / 3.012 GB, free: 70.35 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001058/4.009, allocations: 44 kB / 3.012 GB, free: 70.31 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001398/4.01, allocations: 0.9952 MB / 3.013 GB, free: 69.31 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001114/4.011, allocations: 0.731 MB / 3.013 GB, free: 68.54 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.163e-05/4.012, allocations: 3.938 kB / 3.013 GB, free: 68.54 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.604e-05/4.012, allocations: 4 kB / 3.013 GB, free: 68.54 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.807e-05/4.012, allocations: 20 kB / 3.013 GB, free: 68.52 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003554/4.015, allocations: 2.345 MB / 3.016 GB, free: 66.11 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008757/4.016, allocations: 0.6608 MB / 3.016 GB, free: 65.44 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000327/4.016, allocations: 250.8 kB / 3.016 GB, free: 65.19 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002026/4.017, allocations: 113.8 kB / 3.017 GB, free: 65.06 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004726/4.017, allocations: 390 kB / 3.017 GB, free: 64.66 MB / 1.151 GB Notification: Performance of pre-optimization done (n=73): time 3.536e-06/4.017, allocations: 0 / 3.017 GB, free: 64.66 MB / 1.151 GB Notification: Performance of matching and sorting (n=73): time 0.001653/4.019, allocations: 0.6715 MB / 3.018 GB, free: 63.98 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.775e-05/4.019, allocations: 244 kB / 3.018 GB, free: 63.68 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006442/4.019, allocations: 0.5426 MB / 3.018 GB, free: 63.14 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 5.757e-05/4.02, allocations: 29.7 kB / 3.018 GB, free: 63.1 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001558/4.02, allocations: 304.1 kB / 3.019 GB, free: 62.8 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001357/4.02, allocations: 232.5 kB / 3.019 GB, free: 62.57 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.931e-05/4.02, allocations: 7.938 kB / 3.019 GB, free: 62.56 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 9.248e-05/4.02, allocations: 382.8 kB / 3.019 GB, free: 62.18 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002821/4.02, allocations: 193.3 kB / 3.019 GB, free: 61.99 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003582/4.021, allocations: 302.4 kB / 3.02 GB, free: 61.66 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004428/4.021, allocations: 255.1 kB / 3.02 GB, free: 61.41 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.206e-06/4.021, allocations: 0 / 3.02 GB, free: 61.41 MB / 1.151 GB Notification: Performance of matching and sorting (n=77) (initialization): time 0.001419/4.023, allocations: 0.6755 MB / 3.021 GB, free: 60.73 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.556e-05/4.023, allocations: 8 kB / 3.021 GB, free: 60.72 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.905e-06/4.023, allocations: 4 kB / 3.021 GB, free: 60.72 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006098/4.023, allocations: 84.83 kB / 3.021 GB, free: 60.63 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005864/4.024, allocations: 139.8 kB / 3.021 GB, free: 60.5 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001667/4.025, allocations: 1.476 MB / 3.022 GB, free: 58.89 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005699/4.026, allocations: 67.61 kB / 3.022 GB, free: 58.83 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.447e-05/4.026, allocations: 27.97 kB / 3.022 GB, free: 58.8 MB / 1.151 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (75): * Single equations (assignments): 74 * 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: 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 prepare postOptimizeDAE: time 0.0001512/4.026, allocations: 119.7 kB / 3.023 GB, free: 58.68 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001197/4.026, allocations: 75.06 kB / 3.023 GB, free: 58.61 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001957/4.028, allocations: 0.941 MB / 3.024 GB, free: 57.65 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.664e-06/4.028, allocations: 8 kB / 3.024 GB, free: 57.64 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.086e-06/4.028, allocations: 3.938 kB / 3.024 GB, free: 57.64 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.467e-06/4.028, allocations: 11.83 kB / 3.024 GB, free: 57.62 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007996/4.029, allocations: 0.7749 MB / 3.024 GB, free: 56.81 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.758e-06/4.029, allocations: 0 / 3.024 GB, free: 56.81 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005797/4.03, allocations: 151.8 kB / 3.024 GB, free: 56.66 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005029/4.03, allocations: 88.69 kB / 3.025 GB, free: 56.57 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.244e-05/4.03, allocations: 15.98 kB / 3.025 GB, free: 56.56 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001455/4.032, allocations: 1.489 MB / 3.026 GB, free: 54.95 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.615e-06/4.032, allocations: 0 / 3.026 GB, free: 54.95 MB / 1.151 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001444/4.033, allocations: 0.784 MB / 3.027 GB, free: 54.15 MB / 1.151 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001535/4.035, allocations: 1.187 MB / 3.028 GB, free: 52.93 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003511/4.035, allocations: 283.8 kB / 3.028 GB, free: 52.63 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001314/4.035, allocations: 3.984 kB / 3.028 GB, free: 52.63 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005652/4.036, allocations: 59.95 kB / 3.028 GB, free: 52.57 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001093/4.036, allocations: 64.53 kB / 3.028 GB, free: 52.51 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.007e-05/4.036, allocations: 27.98 kB / 3.028 GB, free: 52.48 MB / 1.151 GB Notification: Performance of sort global known variables: time 0.0004392/4.037, allocations: 447.1 kB / 3.029 GB, free: 52.05 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.001675/4.038, allocations: 427 kB / 3.029 GB, free: 51.63 MB / 1.151 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.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 (84): * Single equations (assignments): 81 * 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 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.001933/4.04, allocations: 1.082 MB / 3.03 GB, free: 50.65 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.001141/4.041, allocations: 0.6586 MB / 3.031 GB, free: 49.98 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 4.107e-06/4.041, allocations: 4 kB / 3.031 GB, free: 49.98 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0006276/4.042, allocations: 456.5 kB / 3.031 GB, free: 49.52 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001006/4.043, allocations: 226 kB / 3.032 GB, free: 49.3 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00345/4.046, allocations: 1.382 MB / 3.033 GB, free: 47.88 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006865/4.047, allocations: 1.142 MB / 3.034 GB, free: 46.71 MB / 1.151 GB Notification: Performance of SimCode: time 5.01e-07/4.047, allocations: 4 kB / 3.034 GB, free: 46.71 MB / 1.151 GB (rm -f Buildings_latest_Buildings.Obsolete.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.pipe ; mkfifo Buildings_latest_Buildings.Obsolete.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.pipe ; head -c 1048576 < Buildings_latest_Buildings.Obsolete.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.pipe >> ../files/Buildings_latest_Buildings.Obsolete.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Obsolete.Fluid.SolarCollectors.Controls.Examples.SolarPumpController_res.mat --tempDir=temp_Buildings_latest_Buildings_Obsolete_Fluid_SolarCollectors_Controls_Examples_SolarPumpController_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Obsolete_Fluid_SolarCollectors_Controls_Examples_SolarPumpController.fmu > Buildings_latest_Buildings.Obsolete.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Obsolete.Fluid.SolarCollectors.Controls.Examples.SolarPumpController_res.mat does not exist to compare? outputFormat=mat