Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Blocks.Continuous.conf.json 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/ModelicaTest 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/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) Running command: translateModel(ModelicaTest.Blocks.Continuous,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Blocks.Continuous") translateModel(ModelicaTest.Blocks.Continuous,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Blocks.Continuous") [: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/Complex 3.2.1+maint.om/package.mo): time 0.004882/0.004882, allocations: 174.1 kB / 7.447 MB, free: 2.512 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.375/1.375, allocations: 170.6 MB / 178.4 MB, free: 15.45 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001714/0.001714, allocations: 116.5 kB / 217.7 MB, free: 8.227 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.195/0.195, allocations: 37.98 MB / 294.8 MB, free: 9.609 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 9.017e-06/9.228e-06, allocations: 1.156 kB / 349.5 MB, free: 37.08 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1312/0.1313, allocations: 48.71 MB / 398.2 MB, free: 5.691 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4283/0.5596, allocations: 82.61 MB / 480.8 MB, free: 13.63 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002268/0.5599, allocations: 65.3 kB / 480.9 MB, free: 13.63 MB / 330.7 MB Notification: Performance of FrontEnd: time 0.0427/0.6026, allocations: 14.19 MB / 495.1 MB, free: 12.54 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0001614/0.6028, allocations: 23.44 kB / 495.1 MB, free: 12.53 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 97 * Number of variables: 97 Notification: Performance of Generate backend data structure: time 0.003249/0.6061, allocations: 0.9238 MB / 496 MB, free: 11.86 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.299e-05/0.6062, allocations: 11.72 kB / 496 MB, free: 11.86 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006851/0.6069, allocations: 85.75 kB / 496.1 MB, free: 11.82 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001528/0.6084, allocations: 0.5378 MB / 496.6 MB, free: 11.46 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.055e-05/0.6085, allocations: 15.62 kB / 496.7 MB, free: 11.46 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.197e-05/0.6086, allocations: 37.81 kB / 496.7 MB, free: 11.45 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006354/0.6092, allocations: 315 kB / 497 MB, free: 11.43 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006237/0.6099, allocations: 439.1 kB / 497.4 MB, free: 11.25 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.171e-05/0.6099, allocations: 0 / 497.4 MB, free: 11.25 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.675e-05/0.61, allocations: 7.812 kB / 497.4 MB, free: 11.25 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.169e-05/0.61, allocations: 7.719 kB / 497.4 MB, free: 11.25 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002893/0.6129, allocations: 1.866 MB / 499.3 MB, free: 10.18 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006426/0.6135, allocations: 437.9 kB / 499.7 MB, free: 10.07 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002499/0.6138, allocations: 181.3 kB / 499.9 MB, free: 10.04 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.827e-05/0.6138, allocations: 3.688 kB / 499.9 MB, free: 10.04 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.109e-05/0.6139, allocations: 41.84 kB / 500 MB, free: 9.996 MB / 330.7 MB Notification: Performance of pre-optimization done (n=42): time 2.264e-06/0.6139, allocations: 0 / 500 MB, free: 9.996 MB / 330.7 MB Notification: Performance of matching and sorting (n=43): time 0.001274/0.6152, allocations: 0.7272 MB / 0.4889 GB, free: 9.664 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.58e-05/0.6152, allocations: 173.5 kB / 0.4891 GB, free: 9.469 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004688/0.6157, allocations: 457.2 kB / 0.4896 GB, free: 9.309 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 4.119e-05/0.6158, allocations: 29.7 kB / 0.4896 GB, free: 9.273 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.968e-05/0.6159, allocations: 221.6 kB / 0.4898 GB, free: 9.109 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001171/0.616, allocations: 158.3 kB / 0.4899 GB, free: 8.992 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.749e-05/0.616, allocations: 0 / 0.4899 GB, free: 8.992 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001338/0.6162, allocations: 378.8 kB / 0.4903 GB, free: 8.656 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002838/0.6165, allocations: 192.4 kB / 0.4905 GB, free: 8.641 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003228/0.6168, allocations: 307.8 kB / 0.4908 GB, free: 8.496 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002985/0.6171, allocations: 224.2 kB / 0.491 GB, free: 8.457 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.6171, allocations: 0 / 0.491 GB, free: 8.457 MB / 330.7 MB Notification: Performance of matching and sorting (n=68) (initialization): time 0.0008019/0.6179, allocations: 0.5666 MB / 0.4915 GB, free: 8.32 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.07e-05/0.6179, allocations: 12.06 kB / 0.4916 GB, free: 8.312 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.018e-05/0.618, allocations: 3.875 kB / 0.4916 GB, free: 8.312 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.127e-05/0.618, allocations: 7.75 kB / 0.4916 GB, free: 8.312 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006583/0.6187, allocations: 150.7 kB / 0.4917 GB, free: 8.281 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.052e-05/0.6187, allocations: 7.812 kB / 0.4917 GB, free: 8.281 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005287/0.6192, allocations: 86.31 kB / 0.4918 GB, free: 8.242 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.557e-05/0.6193, allocations: 15.25 kB / 0.4918 GB, free: 8.242 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (68): * Single equations (assignments): 68 * 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.0001146/0.6194, allocations: 120.5 kB / 0.4919 GB, free: 8.121 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001397/0.6195, allocations: 69.41 kB / 0.492 GB, free: 8.086 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001458/0.6197, allocations: 74.45 kB / 0.4921 GB, free: 8.066 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.791e-06/0.6197, allocations: 7.812 kB / 0.4921 GB, free: 8.062 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.186e-05/0.6197, allocations: 7.891 kB / 0.4921 GB, free: 8.055 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.215e-06/0.6197, allocations: 7.812 kB / 0.4921 GB, free: 8.051 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009464/0.6207, allocations: 0.7228 MB / 0.4928 GB, free: 7.625 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.068e-06/0.6207, allocations: 7.953 kB / 0.4928 GB, free: 7.621 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006627/0.6214, allocations: 112.7 kB / 0.4929 GB, free: 7.598 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.951e-06/0.6214, allocations: 3.875 kB / 0.4929 GB, free: 7.598 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.497e-05/0.6214, allocations: 11.36 kB / 0.4929 GB, free: 7.594 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.515e-06/0.6214, allocations: 3.781 kB / 0.4929 GB, free: 7.594 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.865e-06/0.6214, allocations: 0 / 0.4929 GB, free: 7.594 MB / 330.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001003/0.6225, allocations: 0.947 MB / 0.4939 GB, free: 7.164 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002218/0.6227, allocations: 192.9 kB / 0.494 GB, free: 7.012 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.986e-05/0.6228, allocations: 7.672 kB / 0.494 GB, free: 7.008 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006161/0.6234, allocations: 63.02 kB / 0.4941 GB, free: 6.984 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001204/0.6235, allocations: 41.88 kB / 0.4941 GB, free: 6.965 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.236e-05/0.6236, allocations: 15.08 kB / 0.4942 GB, free: 6.961 MB / 330.7 MB Notification: Performance of sort global known variables: time 0.0003701/0.624, allocations: 352.3 kB / 0.4945 GB, free: 6.844 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0005129/0.6245, allocations: 96.5 kB / 0.4946 GB, free: 6.844 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 18 (limPID.I.y,limPID.D.x,transferFunction.x_scaled[1],stateSpace.x[1],stateSpace.x[2],lowpassButterworth.x1[1],lowpassButterworth.x2[1],criticalDamping.x[1],criticalDamping.x[2],integrator.y,limIntegrator.y,derivative.x,firstOrder.y,secondOrder.y,secondOrder.yd,pI.x,pID.I.y,pID.D.x) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (43): * Single equations (assignments): 43 * 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.0001656/0.6247, allocations: 121.1 kB / 0.4947 GB, free: 6.738 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0006692/0.6253, allocations: 443.4 kB / 0.4951 GB, free: 6.699 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.6253, allocations: 0 / 0.4951 GB, free: 6.699 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002887/0.6256, allocations: 216.1 kB / 0.4953 GB, free: 6.676 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008702/0.6265, allocations: 144.6 kB / 0.4955 GB, free: 6.633 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002167/0.6287, allocations: 1.083 MB / 0.4965 GB, free: 6.117 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006273/0.6293, allocations: 0.9918 MB / 0.4975 GB, free: 21.29 MB / 346.7 MB Notification: Performance of SimCode: time 2.31e-07/0.6293, allocations: 3.844 kB / 0.4975 GB, free: 21.29 MB / 346.7 MB Notification: Performance of Templates: time 0.0119/0.6413, allocations: 6.9 MB / 0.5042 GB, free: 17.89 MB / 346.7 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Blocks.Continuous.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Blocks.Continuous.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Blocks.Continuous.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Blocks.Continuous.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Blocks.Continuous.sim & ./ModelicaTest_3.2.1_ModelicaTest.Blocks.Continuous -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Blocks.Continuous.pipe 2>&1)