Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestFIR_1.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_1,fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous_WorkInProgress_Tests_TestFIR_1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica_Synchronous.WorkInProgress.Tests.TestFIR_1,fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous_WorkInProgress_Tests_TestFIR_1",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.002301/0.002301, allocations: 188.8 kB / 7.846 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 2.254/2.254, allocations: 205.2 MB / 213.4 MB, free: 13.93 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.0024/0.0024, allocations: 93.16 kB / 261.5 MB, free: 13.62 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.1075/0.1075, allocations: 12.59 MB / 322 MB, free: 0.9844 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2894/0.397, allocations: 56.5 MB / 378.5 MB, free: 75.56 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1008/0.4978, allocations: 50.38 MB / 428.9 MB, free: 25.19 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3045/0.8024, allocations: 77.45 MB / 0.4945 GB, free: 11.98 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002186/0.8027, allocations: 59.78 kB / 0.4945 GB, free: 11.98 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.006785/0.8095, allocations: 1.391 MB / 0.4959 GB, free: 11.55 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.269e-05/0.8095, allocations: 13.09 kB / 0.4959 GB, free: 11.55 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.959e-05/0.8096, allocations: 11.69 kB / 0.4959 GB, free: 11.54 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002866/0.8099, allocations: 194.1 kB / 0.4961 GB, free: 11.34 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.802e-05/0.8099, allocations: 7.5 kB / 0.4961 GB, free: 11.34 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.858e-05/0.81, allocations: 11.8 kB / 0.4961 GB, free: 11.33 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002012/0.8102, allocations: 48.81 kB / 0.4961 GB, free: 11.33 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004677/0.8106, allocations: 209.8 kB / 0.4963 GB, free: 11.25 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.314e-05/0.8107, allocations: 4 kB / 0.4963 GB, free: 11.25 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.65e-05/0.8107, allocations: 3.938 kB / 0.4963 GB, free: 11.25 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.549e-05/0.8107, allocations: 4.641 kB / 0.4964 GB, free: 11.25 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000475/0.8112, allocations: 261.7 kB / 0.4966 GB, free: 11 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001654/0.8114, allocations: 82.98 kB / 0.4967 GB, free: 10.95 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001137/0.8115, allocations: 48.05 kB / 0.4967 GB, free: 10.93 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.114e-05/0.8116, allocations: 0 / 0.4967 GB, free: 10.93 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.6e-05/0.8116, allocations: 38.44 kB / 0.4968 GB, free: 10.89 MB / 330.7 MB Notification: Performance of pre-optimization done (n=11): time 1.873e-06/0.8116, allocations: 192 / 0.4968 GB, free: 10.89 MB / 330.7 MB Notification: Performance of matching and sorting (n=11): time 0.0003615/0.812, allocations: 106.5 kB / 0.4969 GB, free: 10.85 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.873e-05/0.8121, allocations: 93.44 kB / 0.497 GB, free: 10.74 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001136/0.8122, allocations: 117.8 kB / 0.4971 GB, free: 10.65 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.452e-05/0.8122, allocations: 25.7 kB / 0.4971 GB, free: 10.62 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.861e-05/0.8123, allocations: 84.78 kB / 0.4972 GB, free: 10.54 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.983e-05/0.8123, allocations: 16.45 kB / 0.4972 GB, free: 10.54 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.344e-06/0.8123, allocations: 0 / 0.4972 GB, free: 10.54 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 6.93e-05/0.8124, allocations: 321.5 kB / 0.4975 GB, free: 10.22 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.164e-05/0.8125, allocations: 23.66 kB / 0.4975 GB, free: 10.22 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.658e-05/0.8126, allocations: 84.83 kB / 0.4976 GB, free: 10.13 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.209e-05/0.8127, allocations: 39.91 kB / 0.4976 GB, free: 10.12 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.386e-06/0.8127, allocations: 0 / 0.4976 GB, free: 10.12 MB / 330.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002712/0.813, allocations: 122 kB / 0.4978 GB, free: 10.07 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.744e-05/0.813, allocations: 11.12 kB / 0.4978 GB, free: 10.07 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.406e-06/0.813, allocations: 0 / 0.4978 GB, free: 10.07 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.284e-05/0.8131, allocations: 3.812 kB / 0.4978 GB, free: 10.07 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002194/0.8133, allocations: 23.05 kB / 0.4978 GB, free: 10.07 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.919e-06/0.8133, allocations: 9.234 kB / 0.4978 GB, free: 10.07 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001124/0.8134, allocations: 7.844 kB / 0.4978 GB, free: 10.07 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.563e-05/0.8135, allocations: 8.641 kB / 0.4978 GB, free: 10.07 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 9.483e-05/0.8136, allocations: 116.6 kB / 0.4979 GB, free: 9.949 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002331/0.8138, allocations: 96.34 kB / 0.498 GB, free: 9.91 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.751e-05/0.8139, allocations: 15.39 kB / 0.498 GB, free: 9.902 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.312e-06/0.8139, allocations: 0 / 0.498 GB, free: 9.902 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.081e-06/0.8139, allocations: 7.781 kB / 0.498 GB, free: 9.898 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.569e-06/0.8139, allocations: 0 / 0.498 GB, free: 9.898 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001865/0.8141, allocations: 154.8 kB / 0.4982 GB, free: 9.738 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.066e-06/0.8141, allocations: 0 / 0.4982 GB, free: 9.738 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000215/0.8144, allocations: 22.73 kB / 0.4982 GB, free: 9.734 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.035e-06/0.8144, allocations: 5.438 kB / 0.4982 GB, free: 9.734 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.704e-05/0.8144, allocations: 1.172 kB / 0.4982 GB, free: 9.734 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.206e-06/0.8144, allocations: 3.938 kB / 0.4982 GB, free: 9.73 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.387e-06/0.8144, allocations: 0 / 0.4982 GB, free: 9.73 MB / 330.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002988/0.8147, allocations: 222.6 kB / 0.4984 GB, free: 9.57 MB / 330.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003161/0.8151, allocations: 0.6048 MB / 0.499 GB, free: 9.023 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.667e-05/0.8151, allocations: 84.95 kB / 0.4991 GB, free: 8.922 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.345e-05/0.8152, allocations: 5.516 kB / 0.4991 GB, free: 8.922 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001773/0.8154, allocations: 5.562 kB / 0.4991 GB, free: 8.922 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.696e-05/0.8154, allocations: 7.984 kB / 0.4991 GB, free: 8.914 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.521e-05/0.8155, allocations: 5.297 kB / 0.4991 GB, free: 8.914 MB / 330.7 MB Notification: Performance of sort global known variables: time 7.377e-05/0.8155, allocations: 97.38 kB / 0.4992 GB, free: 8.84 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001265/0.8168, allocations: 15.44 kB / 0.4992 GB, free: 8.836 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.0001433/0.817, allocations: 100.5 kB / 0.4993 GB, free: 8.746 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002695/0.8173, allocations: 76.97 kB / 0.4994 GB, free: 8.738 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.306e-06/0.8173, allocations: 0 / 0.4994 GB, free: 8.738 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 2.177e-05/0.8173, allocations: 4.062 kB / 0.4994 GB, free: 8.734 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003665/0.8177, allocations: 59.22 kB / 0.4995 GB, free: 8.727 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008376/0.8186, allocations: 165.5 kB / 0.4996 GB, free: 8.641 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002754/0.8189, allocations: 0.7269 MB / 0.5003 GB, free: 7.934 MB / 330.7 MB Notification: Performance of SimCode: time 1.232e-06/0.8189, allocations: 0 / 0.5003 GB, free: 7.934 MB / 330.7 MB (rm -f Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestFIR_1.pipe ; mkfifo Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestFIR_1.pipe ; head -c 1048576 < Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestFIR_1.pipe >> ../files/Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestFIR_1.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Modelica_Synchronous_Modelica_Synchronous_WorkInProgress_Tests_TestFIR_1_fmu --startTime=0 --stopTime=0.5 --timeout=50 --tolerance=1e-06 Modelica_Synchronous_Modelica_Synchronous_WorkInProgress_Tests_TestFIR_1.fmu > Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestFIR_1.pipe 2>&1)