Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck") translateModel(Buildings.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck") [: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(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.511/2.511, allocations: 284.9 MB / 292.2 MB, free: 10.75 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001536/0.001536, allocations: 181.2 kB / 360.4 MB, free: 7.543 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.747/1.747, allocations: 205.1 MB / 0.6188 GB, free: 13.19 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00121/0.00121, allocations: 84.97 kB / 0.7318 GB, free: 45.12 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 8.997e-06/9.247e-06, allocations: 0 / 0.8502 GB, free: 4.008 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6079/0.6079, allocations: 115.2 MB / 0.9628 GB, free: 78.42 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2133/0.8213, allocations: 136.8 MB / 1.096 GB, free: 4 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003093/0.8216, allocations: 76.61 kB / 1.096 GB, free: 3.926 MB / 0.698 GB Notification: Performance of FrontEnd: time 0.01111/0.8328, allocations: 1.534 MB / 1.098 GB, free: 2.445 MB / 0.698 GB Notification: Performance of Transformations before backend: time 9.808e-06/0.8329, allocations: 0 / 1.098 GB, free: 2.445 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0004489/0.8333, allocations: 336.2 kB / 1.098 GB, free: 2.074 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.438e-05/0.8334, allocations: 8.531 kB / 1.098 GB, free: 2.066 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.518e-05/0.8334, allocations: 0 / 1.098 GB, free: 2.066 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001715/0.8336, allocations: 170.9 kB / 1.098 GB, free: 1.859 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.101e-05/0.8337, allocations: 8 kB / 1.098 GB, free: 1.852 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.946e-05/0.8337, allocations: 0.5625 kB / 1.098 GB, free: 1.852 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.108e-05/0.8338, allocations: 4 kB / 1.098 GB, free: 1.848 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.76e-05/0.8339, allocations: 29.69 kB / 1.099 GB, free: 1.812 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.025e-05/0.8339, allocations: 4 kB / 1.099 GB, free: 1.809 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.451e-05/0.8339, allocations: 0 / 1.099 GB, free: 1.809 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.014e-05/0.834, allocations: 4.609 kB / 1.099 GB, free: 1.805 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002451/0.8342, allocations: 138.2 kB / 1.099 GB, free: 1.633 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 7.303e-05/0.8343, allocations: 22.58 kB / 1.099 GB, free: 1.602 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.175e-05/0.8344, allocations: 4.859 kB / 1.099 GB, free: 1.594 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001056/0.8354, allocations: 0.5817 MB / 1.099 GB, free: 0.8828 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.486e-05/0.8355, allocations: 30.56 kB / 1.099 GB, free: 0.8438 MB / 0.698 GB Notification: Performance of pre-optimization done (n=2): time 3.376e-06/0.8355, allocations: 0 / 1.099 GB, free: 0.8438 MB / 0.698 GB Notification: Performance of matching and sorting (n=3): time 0.0009338/0.8365, allocations: 242.9 kB / 1.1 GB, free: 0.5547 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.71e-05/0.8365, allocations: 55.39 kB / 1.1 GB, free: 500 kB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.393e-05/0.8366, allocations: 97.77 kB / 1.1 GB, free: 396 kB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.583e-05/0.8367, allocations: 25.7 kB / 1.1 GB, free: 364 kB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 4.165e-05/0.8367, allocations: 84.08 kB / 1.1 GB, free: 276 kB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 3.656e-05/0.8368, allocations: 15.81 kB / 1.1 GB, free: 260 kB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.669e-06/0.8368, allocations: 0 / 1.1 GB, free: 260 kB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.000208/0.837, allocations: 310.8 kB / 1.1 GB, free: 15.94 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.755e-05/0.8371, allocations: 10.45 kB / 1.1 GB, free: 15.93 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.026e-05/0.8371, allocations: 17.72 kB / 1.1 GB, free: 15.91 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.646e-05/0.8373, allocations: 8 kB / 1.1 GB, free: 15.9 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.8373, allocations: 0 / 1.1 GB, free: 15.9 MB / 0.7136 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002249/0.8375, allocations: 56.62 kB / 1.1 GB, free: 15.84 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.981e-05/0.8376, allocations: 4 kB / 1.1 GB, free: 15.84 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.135e-06/0.8376, allocations: 0 / 1.1 GB, free: 15.84 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.761e-05/0.8376, allocations: 8.562 kB / 1.1 GB, free: 15.83 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001074/0.8377, allocations: 5.125 kB / 1.1 GB, free: 15.83 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.533e-06/0.8378, allocations: 0 / 1.1 GB, free: 15.83 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.408e-05/0.8378, allocations: 8.062 kB / 1.1 GB, free: 15.82 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.151e-05/0.8378, allocations: 0 / 1.1 GB, free: 15.82 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * 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.0001004/0.8379, allocations: 104.8 kB / 1.1 GB, free: 15.71 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.452e-05/0.838, allocations: 4 kB / 1.1 GB, free: 15.71 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003456/0.8383, allocations: 59.58 kB / 1.1 GB, free: 15.64 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.23e-06/0.8384, allocations: 3.938 kB / 1.1 GB, free: 15.64 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.082e-06/0.8384, allocations: 0 / 1.1 GB, free: 15.64 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.41e-06/0.8384, allocations: 4 kB / 1.1 GB, free: 15.63 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001637/0.8386, allocations: 134.2 kB / 1.1 GB, free: 15.46 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.998e-06/0.8386, allocations: 6 kB / 1.1 GB, free: 15.46 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001165/0.8387, allocations: 4 kB / 1.1 GB, free: 15.46 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.191e-06/0.8388, allocations: 0 / 1.1 GB, free: 15.46 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.139e-05/0.8388, allocations: 0 / 1.1 GB, free: 15.46 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.056e-06/0.8388, allocations: 0 / 1.1 GB, free: 15.46 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.694e-06/0.8388, allocations: 3.906 kB / 1.1 GB, free: 15.45 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002831/0.8391, allocations: 73.64 kB / 1.101 GB, free: 15.36 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 6.046e-05/0.8392, allocations: 89.95 kB / 1.101 GB, free: 15.26 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.346e-05/0.8392, allocations: 0 / 1.101 GB, free: 15.26 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.077e-05/0.8393, allocations: 0 / 1.101 GB, free: 15.26 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.179e-05/0.8394, allocations: 8 kB / 1.101 GB, free: 15.25 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.113e-05/0.8394, allocations: 0 / 1.101 GB, free: 15.25 MB / 0.7136 GB Notification: Performance of sort global known variables: time 5.608e-05/0.8395, allocations: 79.28 kB / 1.101 GB, free: 15.17 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0005149/0.84, allocations: 39.86 kB / 1.101 GB, free: 15.13 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (y) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * 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.0004228/0.8405, allocations: 135.1 kB / 1.101 GB, free: 14.99 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001607/0.8406, allocations: 16.56 kB / 1.101 GB, free: 14.98 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.827e-06/0.8407, allocations: 0 / 1.101 GB, free: 14.98 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 3.732e-05/0.8407, allocations: 9.875 kB / 1.101 GB, free: 14.97 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001879/0.8409, allocations: 0 / 1.101 GB, free: 14.97 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003674/0.8413, allocations: 76.92 kB / 1.101 GB, free: 14.87 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003758/0.8417, allocations: 0.6876 MB / 1.102 GB, free: 14.16 MB / 0.7136 GB Notification: Performance of SimCode: time 1.122e-06/0.8417, allocations: 4 kB / 1.102 GB, free: 14.16 MB / 0.7136 GB Notification: Performance of Templates: time 0.00553/0.8473, allocations: 1.184 MB / 1.103 GB, free: 13.01 MB / 0.7136 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck.sim & ./Buildings_8.0.0_Buildings.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck.pipe 2>&1)