Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/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 BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: translateModel(BuildSysPro.IBPSA.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck") translateModel(BuildSysPro.IBPSA.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.7011/0.7011, allocations: 127.4 MB / 134.6 MB, free: 4.098 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001379/0.001379, allocations: 185.3 kB / 164.4 MB, free: 6.891 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.777/1.777, allocations: 205.1 MB / 399.1 MB, free: 6.148 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00112/0.001119, allocations: 85.52 kB / 476.3 MB, free: 8.902 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 9.458e-06/9.578e-06, allocations: 0 / 0.546 GB, free: 42.76 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2106/0.2106, allocations: 76.75 MB / 0.6209 GB, free: 13.94 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5029/0.7136, allocations: 101.6 MB / 0.7202 GB, free: 10.78 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002926/0.7139, allocations: 84.94 kB / 0.7202 GB, free: 10.7 MB / 490.7 MB Notification: Performance of FrontEnd: time 0.006074/0.72, allocations: 1.581 MB / 0.7218 GB, free: 9.125 MB / 490.7 MB Notification: Performance of Transformations before backend: time 8.616e-06/0.72, allocations: 0 / 0.7218 GB, free: 9.125 MB / 490.7 MB 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.0003023/0.7203, allocations: 338.4 kB / 0.7221 GB, free: 8.75 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.681e-05/0.7204, allocations: 11.97 kB / 0.7221 GB, free: 8.738 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.136e-05/0.7204, allocations: 0 / 0.7221 GB, free: 8.738 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001319/0.7206, allocations: 170.9 kB / 0.7223 GB, free: 8.531 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.466e-05/0.7206, allocations: 0 / 0.7223 GB, free: 8.531 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.825e-05/0.7206, allocations: 3.938 kB / 0.7223 GB, free: 8.527 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 4.678e-05/0.7207, allocations: 9.062 kB / 0.7223 GB, free: 8.52 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.64e-05/0.7207, allocations: 37.69 kB / 0.7223 GB, free: 8.477 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.396e-06/0.7207, allocations: 0 / 0.7223 GB, free: 8.477 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.14e-05/0.7208, allocations: 0 / 0.7223 GB, free: 8.477 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.292e-06/0.7208, allocations: 0 / 0.7223 GB, free: 8.477 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001997/0.721, allocations: 134.1 kB / 0.7225 GB, free: 8.309 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.426e-05/0.721, allocations: 22.61 kB / 0.7225 GB, free: 8.277 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.029e-05/0.7211, allocations: 8.859 kB / 0.7225 GB, free: 8.266 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005407/0.7216, allocations: 0.574 MB / 0.7231 GB, free: 7.562 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.844e-05/0.7217, allocations: 34.5 kB / 0.7231 GB, free: 7.52 MB / 490.7 MB Notification: Performance of pre-optimization done (n=2): time 1.062e-06/0.7217, allocations: 4 kB / 0.7231 GB, free: 7.516 MB / 490.7 MB Notification: Performance of matching and sorting (n=3): time 0.0005609/0.7222, allocations: 242.3 kB / 0.7233 GB, free: 7.227 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.083e-05/0.7223, allocations: 51.41 kB / 0.7234 GB, free: 7.164 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.838e-05/0.7223, allocations: 96.98 kB / 0.7235 GB, free: 7.062 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.448e-05/0.7224, allocations: 33.77 kB / 0.7235 GB, free: 7.023 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.678e-05/0.7224, allocations: 80.14 kB / 0.7236 GB, free: 6.941 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.302e-05/0.7224, allocations: 7.906 kB / 0.7236 GB, free: 6.934 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.386e-06/0.7224, allocations: 0 / 0.7236 GB, free: 6.934 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.000107/0.7225, allocations: 321.2 kB / 0.7239 GB, free: 6.613 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.439e-05/0.7226, allocations: 4 kB / 0.7239 GB, free: 6.609 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.465e-05/0.7226, allocations: 21.7 kB / 0.7239 GB, free: 6.582 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.398e-05/0.7226, allocations: 11.94 kB / 0.7239 GB, free: 6.57 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.71e-07/0.7227, allocations: 0 / 0.7239 GB, free: 6.57 MB / 490.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 9.923e-05/0.7228, allocations: 45.7 kB / 0.724 GB, free: 6.52 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.331e-05/0.7228, allocations: 15.92 kB / 0.724 GB, free: 6.504 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.498e-06/0.7228, allocations: 0 / 0.724 GB, free: 6.504 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.198e-05/0.7228, allocations: 0.6875 kB / 0.724 GB, free: 6.504 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.374e-05/0.7229, allocations: 4 kB / 0.724 GB, free: 6.5 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.304e-06/0.7229, allocations: 4 kB / 0.724 GB, free: 6.496 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.468e-05/0.7229, allocations: 0 / 0.724 GB, free: 6.496 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.304e-06/0.7229, allocations: 4.062 kB / 0.724 GB, free: 6.492 MB / 490.7 MB 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 7.361e-05/0.723, allocations: 108.9 kB / 0.7241 GB, free: 6.379 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.844e-06/0.723, allocations: 0 / 0.7241 GB, free: 6.379 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001516/0.7232, allocations: 58.92 kB / 0.7242 GB, free: 6.316 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.527e-06/0.7232, allocations: 4 kB / 0.7242 GB, free: 6.312 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.024e-06/0.7232, allocations: 0 / 0.7242 GB, free: 6.312 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.98e-06/0.7232, allocations: 7.844 kB / 0.7242 GB, free: 6.305 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.792e-05/0.7233, allocations: 130.2 kB / 0.7243 GB, free: 6.141 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.61e-07/0.7233, allocations: 0 / 0.7243 GB, free: 6.141 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.91e-05/0.7234, allocations: 8 kB / 0.7243 GB, free: 6.133 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.453e-06/0.7234, allocations: 0 / 0.7243 GB, free: 6.133 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.432e-06/0.7234, allocations: 0 / 0.7243 GB, free: 6.133 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.51e-07/0.7234, allocations: 0 / 0.7243 GB, free: 6.133 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.7234, allocations: 4 kB / 0.7243 GB, free: 6.129 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001505/0.7236, allocations: 77.03 kB / 0.7244 GB, free: 6.035 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.119e-05/0.7236, allocations: 81.11 kB / 0.7245 GB, free: 5.938 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.529e-05/0.7236, allocations: 4.031 kB / 0.7245 GB, free: 5.934 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.787e-05/0.7237, allocations: 11.97 kB / 0.7245 GB, free: 5.922 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.607e-05/0.7237, allocations: 0 / 0.7245 GB, free: 5.922 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.519e-06/0.7237, allocations: 0 / 0.7245 GB, free: 5.922 MB / 490.7 MB Notification: Performance of sort global known variables: time 3.891e-05/0.7237, allocations: 83.28 kB / 0.7245 GB, free: 5.84 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0002282/0.724, allocations: 35.92 kB / 0.7246 GB, free: 5.805 MB / 490.7 MB 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.0002806/0.7243, allocations: 131.1 kB / 0.7247 GB, free: 5.668 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 9.139e-05/0.7244, allocations: 16.55 kB / 0.7247 GB, free: 5.652 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 3.958e-06/0.7244, allocations: 4.125 kB / 0.7247 GB, free: 5.648 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 1.356e-05/0.7244, allocations: 8 kB / 0.7247 GB, free: 5.641 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001412/0.7245, allocations: 0 / 0.7247 GB, free: 5.641 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002719/0.7248, allocations: 79.83 kB / 0.7248 GB, free: 5.543 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003182/0.7252, allocations: 0.6915 MB / 0.7255 GB, free: 4.828 MB / 490.7 MB Notification: Performance of SimCode: time 2.3e-07/0.7252, allocations: 0 / 0.7255 GB, free: 4.828 MB / 490.7 MB Notification: Performance of Templates: time 0.004222/0.7294, allocations: 1.21 MB / 0.7267 GB, free: 3.648 MB / 490.7 MB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck.sim & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck.pipe 2>&1)