Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.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.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2") translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2") [: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.7559/0.7559, allocations: 132.4 MB / 139.7 MB, free: 15.61 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.00198/0.00198, allocations: 170.9 kB / 171.6 MB, free: 2 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.318/1.318, 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.001528/0.001528, allocations: 112 kB / 444.5 MB, free: 9.422 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.4748/0.4748, allocations: 73.39 MB / 0.666 GB, free: 62.28 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1423/0.6172, allocations: 101.3 MB / 0.7649 GB, free: 2.973 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002552/0.6175, allocations: 74.08 kB / 0.765 GB, free: 2.902 MB / 474.7 MB Notification: Performance of FrontEnd: time 0.006764/0.6243, allocations: 1.849 MB / 0.7668 GB, free: 1.109 MB / 474.7 MB Notification: Performance of Transformations before backend: time 8.907e-06/0.6244, allocations: 0 / 0.7668 GB, free: 1.109 MB / 474.7 MB 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.0003198/0.6247, allocations: 342.2 kB / 0.7672 GB, free: 0.7344 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.207e-05/0.6248, allocations: 8.031 kB / 0.7672 GB, free: 0.7266 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.5e-05/0.6248, allocations: 2.031 kB / 0.7672 GB, free: 0.7266 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001217/0.6249, allocations: 170.9 kB / 0.7673 GB, free: 0.5195 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.025e-05/0.6249, allocations: 4 kB / 0.7673 GB, free: 0.5156 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.319e-05/0.625, allocations: 4 kB / 0.7673 GB, free: 0.5117 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.491e-05/0.625, allocations: 19.94 kB / 0.7673 GB, free: 0.4922 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.152e-05/0.6251, allocations: 41.69 kB / 0.7674 GB, free: 456 kB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.818e-06/0.6252, allocations: 0 / 0.7674 GB, free: 456 kB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.315e-05/0.6252, allocations: 3.984 kB / 0.7674 GB, free: 452 kB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.841e-06/0.6252, allocations: 3.906 kB / 0.7674 GB, free: 448 kB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001547/0.6253, allocations: 147.9 kB / 0.7675 GB, free: 264 kB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.122e-05/0.6254, allocations: 41.66 kB / 0.7676 GB, free: 216 kB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.542e-05/0.6255, allocations: 24.86 kB / 0.7676 GB, free: 188 kB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003013/0.6258, allocations: 117.1 kB / 0.7677 GB, free: 52 kB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.087e-05/0.6258, allocations: 34.56 kB / 0.7677 GB, free: 8 kB / 474.7 MB Notification: Performance of pre-optimization done (n=7): time 1.102e-06/0.6258, allocations: 0 / 0.7677 GB, free: 8 kB / 474.7 MB Notification: Performance of matching and sorting (n=11): time 0.003821/0.6296, allocations: 0.9412 MB / 0.7687 GB, free: 14.98 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.688e-05/0.6297, allocations: 55.41 kB / 0.7687 GB, free: 14.91 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.885e-05/0.6298, allocations: 92.94 kB / 0.7688 GB, free: 14.81 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 2.78e-05/0.6298, allocations: 25.7 kB / 0.7688 GB, free: 14.78 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.17e-05/0.6298, allocations: 88.14 kB / 0.7689 GB, free: 14.69 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.63e-05/0.6299, allocations: 35.45 kB / 0.7689 GB, free: 14.66 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.648e-06/0.6299, allocations: 0 / 0.7689 GB, free: 14.66 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001095/0.63, allocations: 314.8 kB / 0.7692 GB, free: 14.34 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.69e-05/0.6301, allocations: 35.94 kB / 0.7693 GB, free: 14.3 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.541e-05/0.6302, allocations: 24 kB / 0.7693 GB, free: 14.28 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.844e-05/0.6302, allocations: 32.11 kB / 0.7693 GB, free: 14.25 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.11e-07/0.6302, allocations: 0 / 0.7693 GB, free: 14.25 MB / 490.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001925/0.6304, allocations: 101.6 kB / 0.7694 GB, free: 14.14 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.498e-05/0.6305, allocations: 4 kB / 0.7694 GB, free: 14.14 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.781e-06/0.6305, allocations: 4 kB / 0.7694 GB, free: 14.14 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.537e-05/0.6305, allocations: 0 / 0.7694 GB, free: 14.14 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002771/0.6308, allocations: 43.97 kB / 0.7695 GB, free: 14.09 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.275e-06/0.6308, allocations: 3.906 kB / 0.7695 GB, free: 14.09 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001616/0.631, allocations: 27.91 kB / 0.7695 GB, free: 14.06 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.73e-05/0.631, allocations: 13.31 kB / 0.7695 GB, free: 14.05 MB / 490.7 MB 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 (13): * Single equations (assignments): 13 * 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.052e-05/0.6311, allocations: 101.9 kB / 0.7696 GB, free: 13.95 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.119e-05/0.6311, allocations: 7.906 kB / 0.7696 GB, free: 13.94 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.882e-05/0.6312, allocations: 8.062 kB / 0.7696 GB, free: 13.93 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.974e-06/0.6312, allocations: 0 / 0.7696 GB, free: 13.93 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.107e-06/0.6312, allocations: 8.266 kB / 0.7696 GB, free: 13.93 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.967e-06/0.6312, allocations: 0 / 0.7696 GB, free: 13.93 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000536/0.6317, allocations: 356.8 kB / 0.77 GB, free: 13.54 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.724e-06/0.6317, allocations: 4 kB / 0.77 GB, free: 13.54 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002808/0.632, allocations: 43.97 kB / 0.77 GB, free: 13.49 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.495e-06/0.632, allocations: 0 / 0.77 GB, free: 13.49 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.755e-05/0.6321, allocations: 3.984 kB / 0.77 GB, free: 13.49 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/0.6321, allocations: 0 / 0.77 GB, free: 13.49 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.983e-06/0.6321, allocations: 4 kB / 0.77 GB, free: 13.48 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003167/0.6324, allocations: 236.6 kB / 0.7703 GB, free: 13.24 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.802e-05/0.6325, allocations: 81.02 kB / 0.7703 GB, free: 13.14 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.842e-05/0.6325, allocations: 4 kB / 0.7703 GB, free: 13.14 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002284/0.6327, allocations: 28.03 kB / 0.7704 GB, free: 13.11 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.005e-05/0.6328, allocations: 7.922 kB / 0.7704 GB, free: 13.1 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.242e-05/0.6328, allocations: 4 kB / 0.7704 GB, free: 13.1 MB / 490.7 MB Notification: Performance of sort global known variables: time 3.519e-05/0.6328, allocations: 80.69 kB / 0.7705 GB, free: 13.02 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0002597/0.6331, allocations: 20 kB / 0.7705 GB, free: 13 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (dp_comp,der_dp_comp) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 11 * 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.0001693/0.6333, allocations: 107.3 kB / 0.7706 GB, free: 12.88 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0001827/0.6335, allocations: 67.98 kB / 0.7706 GB, free: 12.82 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 5.591e-06/0.6335, allocations: 4 kB / 0.7707 GB, free: 12.81 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 9.938e-05/0.6336, allocations: 35.94 kB / 0.7707 GB, free: 12.78 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001581/0.6338, allocations: 3.906 kB / 0.7707 GB, free: 12.77 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001233/0.635, allocations: 424.4 kB / 0.7711 GB, free: 12.36 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000366/0.6354, allocations: 0.7114 MB / 0.7718 GB, free: 11.62 MB / 490.7 MB Notification: Performance of SimCode: time 2.7e-07/0.6354, allocations: 0 / 0.7718 GB, free: 11.62 MB / 490.7 MB Notification: Performance of Templates: time 0.003715/0.6391, allocations: 1.271 MB / 0.773 GB, free: 10.39 MB / 490.7 MB make -j1 -f Buildings_3.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.makefile (rm -f Buildings_3.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe ; mkfifo Buildings_3.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe >> ../files/Buildings_3.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.sim & ./Buildings_3.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe 2>&1)