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: "" <> buildModelFMU(Modelica_Synchronous.WorkInProgress.Tests.TestFIR_Step2b,fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous_WorkInProgress_Tests_TestFIR_Step2b",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica_Synchronous.WorkInProgress.Tests.TestFIR_Step2b,fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous_WorkInProgress_Tests_TestFIR_Step2b",fmuType="me",version="2.0",platforms={"static"}) [: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.001745/0.001745, allocations: 187 kB / 7.844 MB, free: 2.504 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.919/1.919, allocations: 205.2 MB / 213.5 MB, free: 13.95 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.002251/0.002251, allocations: 95.42 kB / 261.5 MB, free: 13.64 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.1044/0.1044, allocations: 12.59 MB / 322 MB, free: 1.004 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2565/0.3609, allocations: 56.49 MB / 378.5 MB, free: 75.57 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08767/0.4486, allocations: 50.37 MB / 428.9 MB, free: 25.21 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3616/0.8102, allocations: 78.2 MB / 0.4952 GB, free: 12.1 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002219/0.8105, allocations: 67.16 kB / 0.4952 GB, free: 12.1 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.02594/0.8365, allocations: 5.503 MB / 0.5006 GB, free: 11.41 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.186e-05/0.8366, allocations: 11.56 kB / 0.5006 GB, free: 11.41 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.722e-05/0.8366, allocations: 13.3 kB / 0.5006 GB, free: 11.4 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002592/0.8369, allocations: 206.6 kB / 0.5008 GB, free: 11.19 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.557e-05/0.8369, allocations: 3.969 kB / 0.5008 GB, free: 11.19 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.835e-05/0.837, allocations: 3.875 kB / 0.5008 GB, free: 11.19 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003127/0.8373, allocations: 90.12 kB / 0.5009 GB, free: 11.19 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006786/0.838, allocations: 342.4 kB / 0.5013 GB, free: 11.1 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.213e-05/0.838, allocations: 0 / 0.5013 GB, free: 11.1 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.953e-05/0.8381, allocations: 3.984 kB / 0.5013 GB, free: 11.1 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.764e-05/0.8381, allocations: 5.406 kB / 0.5013 GB, free: 11.1 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004646/0.8386, allocations: 294.2 kB / 0.5015 GB, free: 10.84 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003429/0.839, allocations: 168.3 kB / 0.5017 GB, free: 10.79 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002082/0.8392, allocations: 104.5 kB / 0.5018 GB, free: 10.77 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.385e-05/0.8392, allocations: 6.797 kB / 0.5018 GB, free: 10.77 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.833e-05/0.8393, allocations: 37.53 kB / 0.5019 GB, free: 10.73 MB / 330.7 MB Notification: Performance of pre-optimization done (n=19): time 2.184e-06/0.8393, allocations: 0 / 0.5019 GB, free: 10.73 MB / 330.7 MB Notification: Performance of matching and sorting (n=19): time 0.0005147/0.8398, allocations: 168 kB / 0.502 GB, free: 10.69 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.302e-05/0.8399, allocations: 92.52 kB / 0.5021 GB, free: 10.59 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001049/0.84, allocations: 112.9 kB / 0.5022 GB, free: 10.5 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.054e-05/0.84, allocations: 25.7 kB / 0.5022 GB, free: 10.47 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.998e-05/0.8401, allocations: 88.72 kB / 0.5023 GB, free: 10.38 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.504e-05/0.8401, allocations: 27.27 kB / 0.5023 GB, free: 10.37 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.977e-06/0.8401, allocations: 0 / 0.5023 GB, free: 10.37 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 7.541e-05/0.8402, allocations: 325.5 kB / 0.5027 GB, free: 10.05 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.751e-05/0.8403, allocations: 33.47 kB / 0.5027 GB, free: 10.05 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000139/0.8405, allocations: 147.4 kB / 0.5028 GB, free: 9.898 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001352/0.8406, allocations: 69.95 kB / 0.5029 GB, free: 9.887 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.179e-06/0.8406, allocations: 5.594 kB / 0.5029 GB, free: 9.883 MB / 330.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0003441/0.841, allocations: 175.3 kB / 0.5031 GB, free: 9.824 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.634e-05/0.841, allocations: 7.75 kB / 0.5031 GB, free: 9.824 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.748e-06/0.841, allocations: 7.844 kB / 0.5031 GB, free: 9.82 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.183e-05/0.8411, allocations: 3.875 kB / 0.5031 GB, free: 9.82 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002837/0.8414, allocations: 43.34 kB / 0.5031 GB, free: 9.816 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.412e-05/0.8414, allocations: 10.19 kB / 0.5031 GB, free: 9.812 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001326/0.8415, allocations: 12.95 kB / 0.5031 GB, free: 9.809 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.715e-05/0.8416, allocations: 11.03 kB / 0.5032 GB, free: 9.809 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 0.0001115/0.8417, allocations: 124.1 kB / 0.5033 GB, free: 9.688 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005514/0.8422, allocations: 173.9 kB / 0.5034 GB, free: 9.645 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.046e-05/0.8423, allocations: 12 kB / 0.5035 GB, free: 9.641 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.303e-05/0.8424, allocations: 3.812 kB / 0.5035 GB, free: 9.641 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.843e-06/0.8424, allocations: 1.359 kB / 0.5035 GB, free: 9.641 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.162e-06/0.8424, allocations: 0 / 0.5035 GB, free: 9.641 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002102/0.8426, allocations: 177.3 kB / 0.5036 GB, free: 9.477 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.627e-06/0.8426, allocations: 0 / 0.5036 GB, free: 9.477 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002404/0.8429, allocations: 30.66 kB / 0.5037 GB, free: 9.469 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.672e-06/0.8429, allocations: 3.844 kB / 0.5037 GB, free: 9.469 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.852e-05/0.8429, allocations: 5.359 kB / 0.5037 GB, free: 9.465 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.875e-06/0.8429, allocations: 0 / 0.5037 GB, free: 9.465 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.786e-06/0.843, allocations: 0 / 0.5037 GB, free: 9.465 MB / 330.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004575/0.8434, allocations: 290 kB / 0.5039 GB, free: 9.301 MB / 330.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001132/0.8446, allocations: 0.6629 MB / 0.5046 GB, free: 8.762 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001073/0.8447, allocations: 93.16 kB / 0.5047 GB, free: 8.656 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001808/0.845, allocations: 8.266 kB / 0.5047 GB, free: 8.656 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005573/0.8455, allocations: 5.266 kB / 0.5047 GB, free: 8.656 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.569e-05/0.8456, allocations: 4.438 kB / 0.5047 GB, free: 8.656 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.272e-05/0.8457, allocations: 4.359 kB / 0.5047 GB, free: 8.656 MB / 330.7 MB Notification: Performance of sort global known variables: time 0.0001349/0.8458, allocations: 102.8 kB / 0.5048 GB, free: 8.578 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001538/0.8474, allocations: 70.66 kB / 0.5049 GB, free: 8.559 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.0005209/0.8479, allocations: 173.4 kB / 0.505 GB, free: 8.441 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0003552/0.8483, allocations: 136.1 kB / 0.5052 GB, free: 8.43 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.8483, allocations: 448 / 0.5052 GB, free: 8.43 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 1.746e-05/0.8483, allocations: 11.78 kB / 0.5052 GB, free: 8.422 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006769/0.849, allocations: 107 kB / 0.5053 GB, free: 8.414 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009383/0.85, allocations: 234.8 kB / 0.5055 GB, free: 8.293 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002944/0.8503, allocations: 0.7506 MB / 0.5062 GB, free: 7.562 MB / 330.7 MB Notification: Performance of SimCode: time 1.082e-06/0.8503, allocations: 0 / 0.5062 GB, free: 7.562 MB / 330.7 MB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Modelica_Synchronous_Modelica_Synchronous_WorkInProgress_Tests_TestFIR_Step2b_fmu --startTime=0 --stopTime=1.5 --timeout=50 --tolerance=1e-06 Modelica_Synchronous_Modelica_Synchronous_WorkInProgress_Tests_TestFIR_Step2b.fmu > Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestFIR_Step2b.pipe 2>&1)