Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_1.6_Buildings.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/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) 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 1.6 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo) Running command: translateModel(Buildings.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck") translateModel(Buildings.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo): time 0.473/0.473, allocations: 94.74 MB / 102 MB, free: 10.36 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001088/0.001088, allocations: 176.3 kB / 125.3 MB, free: 11.98 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.208/1.208, allocations: 170.5 MB / 319 MB, free: 9.398 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001621/0.001621, allocations: 106.9 kB / 381 MB, free: 18.16 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 7.975e-06/8.005e-06, allocations: 4 kB / 448.6 MB, free: 2.117 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1419/0.1419, allocations: 61.51 MB / 0.4981 GB, free: 4.512 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3421/0.484, allocations: 92.8 MB / 0.5888 GB, free: 9.582 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002433/0.4843, allocations: 75.95 kB / 0.5888 GB, free: 9.508 MB / 410.7 MB Notification: Performance of FrontEnd: time 0.006686/0.491, allocations: 1.514 MB / 0.5903 GB, free: 8.047 MB / 410.7 MB Notification: Performance of Transformations before backend: time 8.596e-06/0.4911, allocations: 4 kB / 0.5903 GB, free: 8.043 MB / 410.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.0003042/0.4914, allocations: 334.4 kB / 0.5906 GB, free: 7.672 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.853e-05/0.4914, allocations: 8.031 kB / 0.5906 GB, free: 7.664 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.521e-05/0.4915, allocations: 2.953 kB / 0.5906 GB, free: 7.664 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001452/0.4916, allocations: 164.6 kB / 0.5908 GB, free: 7.465 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.2e-05/0.4916, allocations: 0 / 0.5908 GB, free: 7.465 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.154e-05/0.4917, allocations: 2.656 kB / 0.5908 GB, free: 7.465 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.053e-05/0.4917, allocations: 7.938 kB / 0.5908 GB, free: 7.457 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.864e-05/0.4918, allocations: 33.69 kB / 0.5908 GB, free: 7.418 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.484e-06/0.4918, allocations: 4 kB / 0.5908 GB, free: 7.414 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.3e-05/0.4918, allocations: 0 / 0.5908 GB, free: 7.414 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.262e-06/0.4919, allocations: 0 / 0.5908 GB, free: 7.414 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001767/0.492, allocations: 145.7 kB / 0.591 GB, free: 7.238 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.573e-05/0.4921, allocations: 18.58 kB / 0.591 GB, free: 7.211 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.177e-05/0.4921, allocations: 4.859 kB / 0.591 GB, free: 7.203 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005738/0.4927, allocations: 0.574 MB / 0.5916 GB, free: 6.496 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.263e-05/0.4927, allocations: 34.56 kB / 0.5916 GB, free: 6.453 MB / 410.7 MB Notification: Performance of pre-optimization done (n=2): time 1.202e-06/0.4928, allocations: 7.938 kB / 0.5916 GB, free: 6.445 MB / 410.7 MB Notification: Performance of matching and sorting (n=3): time 0.0005711/0.4933, allocations: 238.4 kB / 0.5918 GB, free: 6.16 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.274e-05/0.4934, allocations: 51.41 kB / 0.5919 GB, free: 6.098 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.871e-05/0.4935, allocations: 94.25 kB / 0.592 GB, free: 6 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.395e-05/0.4935, allocations: 25.7 kB / 0.592 GB, free: 5.969 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.191e-05/0.4935, allocations: 84.14 kB / 0.5921 GB, free: 5.883 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.194e-05/0.4935, allocations: 8.031 kB / 0.5921 GB, free: 5.875 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.725e-06/0.4936, allocations: 4 kB / 0.5921 GB, free: 5.871 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001198/0.4937, allocations: 314.8 kB / 0.5924 GB, free: 5.555 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.791e-05/0.4937, allocations: 15.44 kB / 0.5924 GB, free: 5.543 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.908e-05/0.4937, allocations: 17.7 kB / 0.5924 GB, free: 5.52 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.622e-05/0.4938, allocations: 6.516 kB / 0.5924 GB, free: 5.516 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.31e-07/0.4938, allocations: 0 / 0.5924 GB, free: 5.516 MB / 410.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001027/0.4939, allocations: 53.69 kB / 0.5925 GB, free: 5.457 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.323e-05/0.4939, allocations: 4 kB / 0.5925 GB, free: 5.453 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.642e-06/0.4939, allocations: 4 kB / 0.5925 GB, free: 5.449 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.092e-05/0.494, allocations: 0 / 0.5925 GB, free: 5.449 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.184e-05/0.494, allocations: 7.938 kB / 0.5925 GB, free: 5.441 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.951e-06/0.494, allocations: 4 kB / 0.5925 GB, free: 5.438 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.783e-05/0.494, allocations: 3.906 kB / 0.5925 GB, free: 5.434 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.614e-06/0.4941, allocations: 1.688 kB / 0.5925 GB, free: 5.434 MB / 410.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 9.345e-05/0.4942, allocations: 101.8 kB / 0.5926 GB, free: 5.328 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.706e-06/0.4942, allocations: 8.062 kB / 0.5926 GB, free: 5.32 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001588/0.4943, allocations: 56.2 kB / 0.5927 GB, free: 5.262 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.22e-06/0.4944, allocations: 7.906 kB / 0.5927 GB, free: 5.254 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.219e-06/0.4944, allocations: 0 / 0.5927 GB, free: 5.254 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.556e-06/0.4944, allocations: 0 / 0.5927 GB, free: 5.254 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001035/0.4945, allocations: 134.2 kB / 0.5928 GB, free: 5.086 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.71e-07/0.4945, allocations: 0 / 0.5928 GB, free: 5.086 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.982e-05/0.4945, allocations: 7.938 kB / 0.5928 GB, free: 5.078 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.724e-06/0.4946, allocations: 0 / 0.5928 GB, free: 5.078 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.911e-06/0.4946, allocations: 0 / 0.5928 GB, free: 5.078 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.4946, allocations: 4 kB / 0.5928 GB, free: 5.074 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.252e-06/0.4946, allocations: 4 kB / 0.5928 GB, free: 5.07 MB / 410.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001453/0.4947, allocations: 83.41 kB / 0.5929 GB, free: 4.973 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.256e-05/0.4948, allocations: 81.14 kB / 0.593 GB, free: 4.875 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.718e-05/0.4948, allocations: 3.906 kB / 0.593 GB, free: 4.871 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.472e-05/0.4949, allocations: 0 / 0.593 GB, free: 4.871 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.236e-05/0.4949, allocations: 7.75 kB / 0.593 GB, free: 4.867 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.43e-06/0.4949, allocations: 5 kB / 0.593 GB, free: 4.863 MB / 410.7 MB Notification: Performance of sort global known variables: time 3.599e-05/0.4949, allocations: 79.28 kB / 0.5931 GB, free: 4.785 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002228/0.4952, allocations: 39.92 kB / 0.5931 GB, free: 4.746 MB / 410.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.0002343/0.4954, allocations: 135.2 kB / 0.5932 GB, free: 4.605 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 7.108e-05/0.4955, allocations: 15.94 kB / 0.5932 GB, free: 4.59 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.063e-06/0.4955, allocations: 0 / 0.5932 GB, free: 4.59 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 1.23e-05/0.4955, allocations: 8 kB / 0.5932 GB, free: 4.582 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001061/0.4956, allocations: 128 / 0.5932 GB, free: 4.582 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002081/0.4958, allocations: 77.77 kB / 0.5933 GB, free: 4.484 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003161/0.4962, allocations: 0.6876 MB / 0.594 GB, free: 3.773 MB / 410.7 MB Notification: Performance of SimCode: time 2.6e-07/0.4962, allocations: 0 / 0.594 GB, free: 3.773 MB / 410.7 MB Notification: Performance of Templates: time 0.003532/0.4997, allocations: 1.186 MB / 0.5952 GB, free: 2.629 MB / 410.7 MB make -j1 -f Buildings_1.6_Buildings.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck.makefile (rm -f Buildings_1.6_Buildings.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck.pipe ; mkfifo Buildings_1.6_Buildings.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck.pipe >> ../files/Buildings_1.6_Buildings.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck.sim & ./Buildings_1.6_Buildings.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck.pipe 2>&1)