Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.TestFIR_Step2b.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_Step2b,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.TestFIR_Step2b") translateModel(Modelica_Synchronous.WorkInProgress.Tests.TestFIR_Step2b,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.TestFIR_Step2b") [: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.00166/0.00166, allocations: 181.6 kB / 8.193 MB, free: 2.172 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.767/1.767, allocations: 205.2 MB / 213.8 MB, free: 13.91 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.001609/0.001609, allocations: 88.23 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.9805 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 9.247e-06/9.488e-06, allocations: 0 / 378.4 MB, free: 76.01 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09525/0.09529, allocations: 50.37 MB / 428.7 MB, free: 25.66 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3073/0.4027, allocations: 78.21 MB / 0.4951 GB, free: 11.74 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002257/0.403, allocations: 63.69 kB / 0.4951 GB, free: 11.74 MB / 330.7 MB Notification: Performance of FrontEnd: time 0.0259/0.4289, allocations: 5.099 MB / 0.5001 GB, free: 11.44 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.432e-05/0.429, allocations: 192 / 0.5001 GB, free: 11.44 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: 23 * Number of variables: 23 Notification: Performance of Generate backend data structure: time 0.0006942/0.4297, allocations: 420.2 kB / 0.5005 GB, free: 11.05 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.099e-05/0.4297, allocations: 11.38 kB / 0.5005 GB, free: 11.05 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.887e-05/0.4298, allocations: 15.53 kB / 0.5005 GB, free: 11.04 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002619/0.4301, allocations: 205 kB / 0.5007 GB, free: 10.83 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.886e-05/0.4301, allocations: 3.906 kB / 0.5007 GB, free: 10.83 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.199e-05/0.4302, allocations: 3.906 kB / 0.5007 GB, free: 10.83 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002911/0.4305, allocations: 90.19 kB / 0.5008 GB, free: 10.83 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00069/0.4312, allocations: 337.1 kB / 0.5011 GB, free: 10.74 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.152e-05/0.4312, allocations: 0 / 0.5011 GB, free: 10.74 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.985e-05/0.4312, allocations: 3.984 kB / 0.5011 GB, free: 10.73 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.858e-05/0.4313, allocations: 13.5 kB / 0.5012 GB, free: 10.73 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004573/0.4318, allocations: 292.7 kB / 0.5014 GB, free: 10.48 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003414/0.4321, allocations: 171.8 kB / 0.5016 GB, free: 10.43 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002034/0.4323, allocations: 98.88 kB / 0.5017 GB, free: 10.41 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.139e-05/0.4324, allocations: 4 kB / 0.5017 GB, free: 10.41 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.251e-05/0.4324, allocations: 35.72 kB / 0.5017 GB, free: 10.37 MB / 330.7 MB Notification: Performance of pre-optimization done (n=19): time 2.254e-06/0.4324, allocations: 0 / 0.5017 GB, free: 10.37 MB / 330.7 MB Notification: Performance of matching and sorting (n=19): time 0.0005718/0.433, allocations: 175.4 kB / 0.5019 GB, free: 10.32 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.493e-05/0.4331, allocations: 89.47 kB / 0.502 GB, free: 10.23 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001071/0.4332, allocations: 115 kB / 0.5021 GB, free: 10.14 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.875e-05/0.4332, allocations: 29.73 kB / 0.5021 GB, free: 10.1 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.46e-05/0.4333, allocations: 154.8 kB / 0.5023 GB, free: 9.945 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.411e-05/0.4333, allocations: 18.58 kB / 0.5023 GB, free: 9.938 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.824e-06/0.4333, allocations: 0 / 0.5023 GB, free: 9.938 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 6.846e-05/0.4334, allocations: 320.5 kB / 0.5026 GB, free: 9.625 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.684e-05/0.4335, allocations: 35.92 kB / 0.5026 GB, free: 9.621 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001309/0.4336, allocations: 151.7 kB / 0.5028 GB, free: 9.465 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001306/0.4338, allocations: 69.52 kB / 0.5028 GB, free: 9.453 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.907e-06/0.4338, allocations: 0 / 0.5028 GB, free: 9.453 MB / 330.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0003522/0.4342, allocations: 174.4 kB / 0.503 GB, free: 9.395 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.5e-05/0.4342, allocations: 8.453 kB / 0.503 GB, free: 9.391 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.104e-05/0.4342, allocations: 7.844 kB / 0.503 GB, free: 9.387 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.721e-05/0.4342, allocations: 8.422 kB / 0.503 GB, free: 9.387 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002983/0.4346, allocations: 39.08 kB / 0.5031 GB, free: 9.383 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.186e-05/0.4346, allocations: 9.078 kB / 0.5031 GB, free: 9.383 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001236/0.4347, allocations: 12.69 kB / 0.5031 GB, free: 9.379 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.748e-05/0.4347, allocations: 11 kB / 0.5031 GB, free: 9.379 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 2 (FIR1.FIRbyCoefficients1.first,$CLKPRE.FIR1.FIRbyCoefficients1.first) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (23): * Single equations (assignments): 23 * 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.383e-05/0.4349, allocations: 45.2 kB / 0.5031 GB, free: 9.332 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004445/0.4353, allocations: 166.9 kB / 0.5033 GB, free: 9.293 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.108e-05/0.4354, allocations: 16.86 kB / 0.5033 GB, free: 9.289 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.23e-05/0.4354, allocations: 3.844 kB / 0.5033 GB, free: 9.289 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.013e-06/0.4354, allocations: 0.5156 kB / 0.5033 GB, free: 9.289 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.869e-06/0.4355, allocations: 1.172 kB / 0.5033 GB, free: 9.289 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000212/0.4357, allocations: 175.4 kB / 0.5035 GB, free: 9.121 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.107e-06/0.4357, allocations: 0.6562 kB / 0.5035 GB, free: 9.121 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002308/0.4359, allocations: 30.48 kB / 0.5035 GB, free: 9.121 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.805e-06/0.436, allocations: 9.5 kB / 0.5035 GB, free: 9.113 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.627e-05/0.436, allocations: 0 / 0.5035 GB, free: 9.113 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.828e-06/0.436, allocations: 3.875 kB / 0.5035 GB, free: 9.113 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.779e-06/0.436, allocations: 4 kB / 0.5035 GB, free: 9.109 MB / 330.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004361/0.4365, allocations: 296 kB / 0.5038 GB, free: 8.941 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.957e-05/0.4365, allocations: 88.89 kB / 0.5039 GB, free: 8.84 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.638e-05/0.4366, allocations: 9.359 kB / 0.5039 GB, free: 8.836 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001859/0.4368, allocations: 5.312 kB / 0.5039 GB, free: 8.836 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.985e-05/0.4368, allocations: 9.188 kB / 0.5039 GB, free: 8.832 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.812e-05/0.4368, allocations: 6.719 kB / 0.5039 GB, free: 8.832 MB / 330.7 MB Notification: Performance of sort global known variables: time 6.435e-05/0.4369, allocations: 97.84 kB / 0.504 GB, free: 8.758 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0006025/0.4375, allocations: 67.67 kB / 0.5041 GB, free: 8.738 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 (FIR1.FIRbyCoefficients1.first) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 15 * Array equations: 1 * 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.0004666/0.438, allocations: 162.4 kB / 0.5042 GB, free: 8.625 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0003416/0.4384, allocations: 128.2 kB / 0.5044 GB, free: 8.617 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/0.4384, allocations: 0 / 0.5044 GB, free: 8.617 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 1.698e-05/0.4384, allocations: 11 kB / 0.5044 GB, free: 8.613 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006511/0.4391, allocations: 110.5 kB / 0.5045 GB, free: 8.605 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009165/0.44, allocations: 268.7 kB / 0.5047 GB, free: 8.477 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003005/0.4403, allocations: 0.7495 MB / 0.5055 GB, free: 7.77 MB / 330.7 MB Notification: Performance of SimCode: time 1.112e-06/0.4403, allocations: 0 / 0.5055 GB, free: 7.77 MB / 330.7 MB Notification: Performance of Templates: time 0.005886/0.4462, allocations: 2.2 MB / 0.5076 GB, free: 6.707 MB / 330.7 MB make -j1 -f Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.TestFIR_Step2b.makefile (rm -f Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.TestFIR_Step2b.pipe ; mkfifo Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.TestFIR_Step2b.pipe ; head -c 1048576 < Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.TestFIR_Step2b.pipe >> ../files/Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.TestFIR_Step2b.sim & ./Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.TestFIR_Step2b --alarm=480 > Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.TestFIR_Step2b.pipe 2>&1)