Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.TestFIR_1.conf.json 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) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo", uses=false) Using package Modelica_Synchronous with version 0.93.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo) 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) Running command: translateModel(Modelica_Synchronous.WorkInProgress.Tests.TestFIR_1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.TestFIR_1") translateModel(Modelica_Synchronous.WorkInProgress.Tests.TestFIR_1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.TestFIR_1") [: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/Complex 3.2.3+maint.om/package.mo): time 0.002655/0.002655, allocations: 179.6 kB / 8.191 MB, free: 2.176 MB / 5.871 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.764/1.764, allocations: 205.2 MB / 213.8 MB, free: 13.93 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001256/0.001256, allocations: 87.3 kB / 261.8 MB, free: 13.62 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.1157/0.1157, allocations: 12.59 MB / 322.3 MB, free: 0.9844 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 8.516e-06/8.686e-06, allocations: 4 kB / 378.4 MB, free: 76.02 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0873/0.08733, allocations: 50.38 MB / 428.7 MB, free: 25.65 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2841/0.3715, allocations: 77.45 MB / 0.4943 GB, free: 11.67 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001924/0.3718, allocations: 58.53 kB / 0.4944 GB, free: 11.67 MB / 330.7 MB Notification: Performance of FrontEnd: time 0.005454/0.3772, allocations: 1.026 MB / 0.4954 GB, free: 11.61 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.154e-05/0.3773, allocations: 4 kB / 0.4954 GB, free: 11.61 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0004125/0.3777, allocations: 367.7 kB / 0.4957 GB, free: 11.25 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.63e-05/0.3778, allocations: 7.75 kB / 0.4958 GB, free: 11.25 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.608e-05/0.3778, allocations: 11.78 kB / 0.4958 GB, free: 11.24 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002477/0.3781, allocations: 195.2 kB / 0.496 GB, free: 11.04 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.662e-05/0.3781, allocations: 7.781 kB / 0.496 GB, free: 11.03 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.13e-05/0.3781, allocations: 7.844 kB / 0.496 GB, free: 11.03 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001788/0.3783, allocations: 54.34 kB / 0.496 GB, free: 11.03 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004199/0.3788, allocations: 218.6 kB / 0.4962 GB, free: 10.94 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.043e-05/0.3788, allocations: 7.844 kB / 0.4962 GB, free: 10.94 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.392e-05/0.3788, allocations: 0 / 0.4962 GB, free: 10.94 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.253e-05/0.3788, allocations: 3.812 kB / 0.4962 GB, free: 10.94 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003724/0.3792, allocations: 262.8 kB / 0.4965 GB, free: 10.69 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001401/0.3794, allocations: 81.69 kB / 0.4966 GB, free: 10.64 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001058/0.3795, allocations: 48.06 kB / 0.4966 GB, free: 10.62 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.2e-05/0.3795, allocations: 0 / 0.4966 GB, free: 10.62 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.693e-05/0.3796, allocations: 35.73 kB / 0.4966 GB, free: 10.58 MB / 330.7 MB Notification: Performance of pre-optimization done (n=11): time 1.563e-06/0.3796, allocations: 192 / 0.4966 GB, free: 10.58 MB / 330.7 MB Notification: Performance of matching and sorting (n=11): time 0.0003131/0.3799, allocations: 108.8 kB / 0.4968 GB, free: 10.54 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.717e-05/0.38, allocations: 88.95 kB / 0.4968 GB, free: 10.44 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.851e-05/0.3801, allocations: 116.9 kB / 0.4969 GB, free: 10.35 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.441e-05/0.3801, allocations: 25.7 kB / 0.497 GB, free: 10.32 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.05e-05/0.3801, allocations: 150.6 kB / 0.4971 GB, free: 10.17 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.424e-05/0.3802, allocations: 12.69 kB / 0.4971 GB, free: 10.16 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.623e-06/0.3802, allocations: 0 / 0.4971 GB, free: 10.16 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 6.164e-05/0.3802, allocations: 317.1 kB / 0.4974 GB, free: 9.852 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.35e-05/0.3803, allocations: 20.64 kB / 0.4975 GB, free: 9.848 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.183e-05/0.3804, allocations: 87.42 kB / 0.4975 GB, free: 9.762 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.317e-05/0.3805, allocations: 38.28 kB / 0.4976 GB, free: 9.754 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.276e-06/0.3805, allocations: 3.875 kB / 0.4976 GB, free: 9.754 MB / 330.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002275/0.3808, allocations: 113 kB / 0.4977 GB, free: 9.703 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.345e-05/0.3808, allocations: 7.531 kB / 0.4977 GB, free: 9.703 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.394e-06/0.3808, allocations: 4 kB / 0.4977 GB, free: 9.699 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.879e-05/0.3808, allocations: 5.203 kB / 0.4977 GB, free: 9.699 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001892/0.381, allocations: 29.34 kB / 0.4977 GB, free: 9.699 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.598e-06/0.3811, allocations: 8.391 kB / 0.4977 GB, free: 9.695 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.993e-05/0.3812, allocations: 8.359 kB / 0.4977 GB, free: 9.691 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.349e-05/0.3812, allocations: 5.078 kB / 0.4977 GB, free: 9.691 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 2 (fIRbyCoefficients.first,$CLKPRE.fIRbyCoefficients.first) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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 5.606e-05/0.3813, allocations: 37.45 kB / 0.4978 GB, free: 9.652 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002087/0.3815, allocations: 107 kB / 0.4979 GB, free: 9.609 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.206e-05/0.3815, allocations: 12.97 kB / 0.4979 GB, free: 9.598 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.588e-06/0.3815, allocations: 3.938 kB / 0.4979 GB, free: 9.598 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.212e-06/0.3816, allocations: 3.906 kB / 0.4979 GB, free: 9.594 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.761e-06/0.3816, allocations: 0.7031 kB / 0.4979 GB, free: 9.594 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000173/0.3818, allocations: 149.1 kB / 0.498 GB, free: 9.438 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/0.3818, allocations: 0 / 0.498 GB, free: 9.438 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001829/0.382, allocations: 26.83 kB / 0.4981 GB, free: 9.434 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.296e-06/0.382, allocations: 0 / 0.4981 GB, free: 9.434 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.725e-05/0.382, allocations: 7.891 kB / 0.4981 GB, free: 9.43 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.214e-06/0.382, allocations: 3.938 kB / 0.4981 GB, free: 9.426 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.088e-06/0.382, allocations: 4.75 kB / 0.4981 GB, free: 9.426 MB / 330.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002626/0.3823, allocations: 215.3 kB / 0.4983 GB, free: 9.27 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.489e-05/0.3823, allocations: 93.47 kB / 0.4984 GB, free: 9.164 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.904e-05/0.3824, allocations: 4.656 kB / 0.4984 GB, free: 9.16 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001379/0.3825, allocations: 5.312 kB / 0.4984 GB, free: 9.16 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.811e-05/0.3826, allocations: 4.719 kB / 0.4984 GB, free: 9.16 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.182e-05/0.3826, allocations: 0.6094 kB / 0.4984 GB, free: 9.16 MB / 330.7 MB Notification: Performance of sort global known variables: time 6.143e-05/0.3827, allocations: 97.3 kB / 0.4985 GB, free: 9.086 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003077/0.383, allocations: 15.44 kB / 0.4985 GB, free: 9.086 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 1 (fIRbyCoefficients.first) * 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.0001005/0.3831, allocations: 107.4 kB / 0.4986 GB, free: 8.984 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002146/0.3833, allocations: 72.64 kB / 0.4987 GB, free: 8.98 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.3834, allocations: 0 / 0.4987 GB, free: 8.98 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 2.393e-05/0.3834, allocations: 8.484 kB / 0.4987 GB, free: 8.977 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003456/0.3837, allocations: 47.88 kB / 0.4987 GB, free: 8.973 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000744/0.3845, allocations: 198.1 kB / 0.4989 GB, free: 8.848 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002507/0.3848, allocations: 0.7347 MB / 0.4996 GB, free: 8.137 MB / 330.7 MB Notification: Performance of SimCode: time 8.22e-07/0.3848, allocations: 0 / 0.4996 GB, free: 8.137 MB / 330.7 MB Notification: Performance of Templates: time 0.003506/0.3883, allocations: 1.214 MB / 0.5008 GB, free: 8.055 MB / 330.7 MB make -j1 -f Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.TestFIR_1.makefile (rm -f Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.TestFIR_1.pipe ; mkfifo Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.TestFIR_1.pipe ; head -c 1048576 < Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.TestFIR_1.pipe >> ../files/Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.TestFIR_1.sim & ./Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.TestFIR_1 --alarm=480 > Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.TestFIR_1.pipe 2>&1)