Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestFIR_Step2b.conf.json 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) loadFile("/home/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 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo) 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) Running command: translateModel(Modelica_Synchronous.WorkInProgress.Tests.TestFIR_Step2b,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestFIR_Step2b") translateModel(Modelica_Synchronous.WorkInProgress.Tests.TestFIR_Step2b,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_Synchronous_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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001056/0.001057, allocations: 189.5 kB / 7.847 MB, free: 2.492 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.257/1.257, allocations: 205.2 MB / 213.5 MB, free: 13.86 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001015/0.001015, allocations: 86.73 kB / 261.5 MB, free: 13.54 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.08144/0.08144, allocations: 12.6 MB / 322 MB, free: 0.8945 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 8.085e-06/8.195e-06, allocations: 0 / 378.4 MB, free: 75.62 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09284/0.09287, allocations: 50.38 MB / 428.8 MB, free: 25.27 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3275/0.4204, allocations: 78.21 MB / 0.4951 GB, free: 11.62 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002326/0.4207, allocations: 62.61 kB / 0.4951 GB, free: 11.62 MB / 330.7 MB Notification: Performance of FrontEnd: time 0.01598/0.4367, allocations: 5.092 MB / 0.5001 GB, free: 11.33 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.374e-05/0.4368, allocations: 0 / 0.5001 GB, free: 11.33 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.0004937/0.4373, allocations: 420.1 kB / 0.5005 GB, free: 10.94 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.838e-05/0.4374, allocations: 11.38 kB / 0.5005 GB, free: 10.94 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.558e-05/0.4374, allocations: 12.2 kB / 0.5005 GB, free: 10.93 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002051/0.4376, allocations: 201.4 kB / 0.5007 GB, free: 10.73 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.512e-05/0.4377, allocations: 4.344 kB / 0.5007 GB, free: 10.73 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.719e-05/0.4377, allocations: 7.781 kB / 0.5007 GB, free: 10.72 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001969/0.4379, allocations: 97.56 kB / 0.5008 GB, free: 10.72 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004614/0.4383, allocations: 339.3 kB / 0.5012 GB, free: 10.63 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.001e-05/0.4384, allocations: 0 / 0.5012 GB, free: 10.63 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.738e-05/0.4384, allocations: 1.359 kB / 0.5012 GB, free: 10.63 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.174e-05/0.4384, allocations: 5.406 kB / 0.5012 GB, free: 10.63 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003722/0.4388, allocations: 296 kB / 0.5015 GB, free: 10.37 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002153/0.439, allocations: 176 kB / 0.5016 GB, free: 10.32 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001205/0.4392, allocations: 97.14 kB / 0.5017 GB, free: 10.3 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.641e-05/0.4392, allocations: 3.875 kB / 0.5017 GB, free: 10.3 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.368e-05/0.4392, allocations: 43.58 kB / 0.5018 GB, free: 10.25 MB / 330.7 MB Notification: Performance of pre-optimization done (n=19): time 1.283e-06/0.4392, allocations: 0 / 0.5018 GB, free: 10.25 MB / 330.7 MB Notification: Performance of matching and sorting (n=19): time 0.0003783/0.4396, allocations: 170.1 kB / 0.5019 GB, free: 10.21 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.951e-05/0.4397, allocations: 93.61 kB / 0.502 GB, free: 10.11 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.643e-05/0.4398, allocations: 111 kB / 0.5021 GB, free: 10.02 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.389e-05/0.4398, allocations: 25.7 kB / 0.5021 GB, free: 9.992 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.308e-05/0.4398, allocations: 89.11 kB / 0.5022 GB, free: 9.906 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.561e-05/0.4399, allocations: 23.11 kB / 0.5022 GB, free: 9.895 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.789e-06/0.4399, allocations: 0 / 0.5022 GB, free: 9.895 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 6.941e-05/0.4399, allocations: 323.1 kB / 0.5026 GB, free: 9.582 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.474e-05/0.44, allocations: 41.75 kB / 0.5026 GB, free: 9.574 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.937e-05/0.4401, allocations: 147.4 kB / 0.5027 GB, free: 9.422 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.873e-05/0.4402, allocations: 70.08 kB / 0.5028 GB, free: 9.406 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.4402, allocations: 0 / 0.5028 GB, free: 9.406 MB / 330.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0002182/0.4404, allocations: 184.1 kB / 0.503 GB, free: 9.344 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.03e-05/0.4404, allocations: 3.906 kB / 0.503 GB, free: 9.344 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.013e-06/0.4404, allocations: 3.906 kB / 0.503 GB, free: 9.344 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.697e-05/0.4405, allocations: 7.719 kB / 0.503 GB, free: 9.344 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001313/0.4406, allocations: 39.5 kB / 0.503 GB, free: 9.34 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.228e-05/0.4406, allocations: 13.3 kB / 0.503 GB, free: 9.336 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.234e-05/0.4407, allocations: 12.12 kB / 0.5031 GB, free: 9.328 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.373e-05/0.4407, allocations: 15.06 kB / 0.5031 GB, free: 9.328 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 7.241e-05/0.4408, allocations: 117.9 kB / 0.5032 GB, free: 9.211 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002433/0.441, allocations: 169.7 kB / 0.5033 GB, free: 9.172 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.468e-05/0.4411, allocations: 11.95 kB / 0.5034 GB, free: 9.168 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.373e-05/0.4411, allocations: 3.844 kB / 0.5034 GB, free: 9.168 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.622e-06/0.4411, allocations: 4.922 kB / 0.5034 GB, free: 9.168 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.811e-06/0.4412, allocations: 0 / 0.5034 GB, free: 9.168 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001481/0.4413, allocations: 177.3 kB / 0.5035 GB, free: 9 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.312e-06/0.4413, allocations: 0 / 0.5035 GB, free: 9 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001182/0.4414, allocations: 31.12 kB / 0.5036 GB, free: 8.992 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.727e-06/0.4415, allocations: 3.969 kB / 0.5036 GB, free: 8.992 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.527e-05/0.4415, allocations: 4.719 kB / 0.5036 GB, free: 8.992 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.382e-06/0.4415, allocations: 0 / 0.5036 GB, free: 8.992 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.963e-06/0.4415, allocations: 0 / 0.5036 GB, free: 8.992 MB / 330.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00029/0.4418, allocations: 295.2 kB / 0.5039 GB, free: 8.824 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.226e-05/0.4418, allocations: 93.39 kB / 0.5039 GB, free: 8.719 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.604e-05/0.4419, allocations: 8.688 kB / 0.5039 GB, free: 8.719 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.982e-05/0.442, allocations: 5.172 kB / 0.504 GB, free: 8.719 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.209e-05/0.442, allocations: 0.5156 kB / 0.504 GB, free: 8.719 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.273e-05/0.442, allocations: 4.531 kB / 0.504 GB, free: 8.719 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.985e-05/0.4421, allocations: 96.89 kB / 0.5041 GB, free: 8.645 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.000345/0.4424, allocations: 70.84 kB / 0.5041 GB, free: 8.625 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.0003785/0.4428, allocations: 169.7 kB / 0.5043 GB, free: 8.504 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001996/0.443, allocations: 135.9 kB / 0.5044 GB, free: 8.488 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.443, allocations: 0 / 0.5044 GB, free: 8.488 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 1.131e-05/0.443, allocations: 8.469 kB / 0.5044 GB, free: 8.488 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004327/0.4435, allocations: 112.3 kB / 0.5045 GB, free: 8.477 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000593/0.4441, allocations: 231.6 kB / 0.5047 GB, free: 8.383 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002575/0.4444, allocations: 0.749 MB / 0.5055 GB, free: 7.676 MB / 330.7 MB Notification: Performance of SimCode: time 2.81e-07/0.4444, allocations: 0 / 0.5055 GB, free: 7.676 MB / 330.7 MB Notification: Performance of Templates: time 0.004634/0.449, allocations: 1.997 MB / 0.5074 GB, free: 6.699 MB / 330.7 MB make -j1 -f Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestFIR_Step2b.makefile (rm -f Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestFIR_Step2b.pipe ; mkfifo Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestFIR_Step2b.pipe ; head -c 1048576 < Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestFIR_Step2b.pipe >> ../files/Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestFIR_Step2b.sim & ./Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestFIR_Step2b -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestFIR_Step2b.pipe 2>&1)