Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Blocks.Examples.FilterWithRiseTime.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) 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.Blocks.Examples.FilterWithRiseTime,fileNamePrefix="Modelica_3_2_3_Modelica_Blocks_Examples_FilterWithRiseTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.FilterWithRiseTime,fileNamePrefix="Modelica_3_2_3_Modelica_Blocks_Examples_FilterWithRiseTime",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.0008987/0.0008987, allocations: 172.9 kB / 8.474 MB, free: 1.852 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.119/1.119, allocations: 205.2 MB / 214.1 MB, free: 1.82 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008763/0.0008763, allocations: 91.33 kB / 262.1 MB, free: 1.773 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1528/0.1537, allocations: 52.95 MB / 315 MB, free: 22.96 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07575/0.2295, allocations: 47.59 MB / 362.6 MB, free: 7.312 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2469/0.4764, allocations: 88.76 MB / 451.4 MB, free: 6.898 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002249/0.4767, allocations: 67.91 kB / 451.5 MB, free: 6.867 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: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.0274/0.5041, allocations: 10.03 MB / 461.5 MB, free: 14.47 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.475e-05/0.5042, allocations: 12 kB / 461.5 MB, free: 14.46 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.118e-05/0.5043, allocations: 27.62 kB / 461.5 MB, free: 14.43 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005324/0.5048, allocations: 355.1 kB / 461.9 MB, free: 14.08 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.25e-05/0.5049, allocations: 4 kB / 461.9 MB, free: 14.07 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.962e-05/0.5049, allocations: 12.66 kB / 461.9 MB, free: 14.06 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001527/0.5051, allocations: 80.64 kB / 462 MB, free: 14.01 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000238/0.5053, allocations: 202.8 kB / 462.2 MB, free: 13.79 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.021e-05/0.5053, allocations: 4 kB / 462.2 MB, free: 13.79 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.968e-05/0.5053, allocations: 0 / 462.2 MB, free: 13.79 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.111e-06/0.5054, allocations: 4 kB / 462.2 MB, free: 13.78 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007782/0.5061, allocations: 460.7 kB / 462.6 MB, free: 13.35 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002533/0.5064, allocations: 170.1 kB / 462.8 MB, free: 13.21 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.805e-05/0.5065, allocations: 50.91 kB / 462.8 MB, free: 13.18 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.477e-05/0.5065, allocations: 0 / 462.8 MB, free: 13.18 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.266e-05/0.5066, allocations: 42.44 kB / 462.9 MB, free: 13.13 MB / 346.7 MB Notification: Performance of pre-optimization done (n=13): time 1.523e-06/0.5066, allocations: 0 / 462.9 MB, free: 13.13 MB / 346.7 MB Notification: Performance of matching and sorting (n=13): time 0.0002946/0.5069, allocations: 148.7 kB / 463 MB, free: 13 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001264/0.507, allocations: 294.5 kB / 463.3 MB, free: 12.65 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002529/0.5073, allocations: 223 kB / 463.5 MB, free: 12.46 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.405e-05/0.5073, allocations: 29.64 kB / 463.6 MB, free: 12.42 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.197e-05/0.5074, allocations: 126.5 kB / 463.7 MB, free: 12.3 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.23e-05/0.5074, allocations: 54.38 kB / 463.7 MB, free: 12.26 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.166e-05/0.5074, allocations: 0 / 463.7 MB, free: 12.26 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001225/0.5076, allocations: 337.5 kB / 464.1 MB, free: 11.93 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001298/0.5077, allocations: 92.78 kB / 464.2 MB, free: 11.86 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001772/0.5079, allocations: 156.2 kB / 464.3 MB, free: 11.71 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002587/0.5082, allocations: 122.5 kB / 464.4 MB, free: 11.62 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.5082, allocations: 0 / 464.4 MB, free: 11.62 MB / 346.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0004474/0.5086, allocations: 287.6 kB / 464.7 MB, free: 11.38 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.275e-05/0.5086, allocations: 4 kB / 464.7 MB, free: 11.38 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.734e-05/0.5087, allocations: 11.98 kB / 464.7 MB, free: 11.37 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.356e-05/0.5087, allocations: 3.984 kB / 464.7 MB, free: 11.36 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002721/0.509, allocations: 51.28 kB / 464.8 MB, free: 11.32 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.129e-06/0.509, allocations: 0 / 464.8 MB, free: 11.32 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001223/0.5091, allocations: 27.69 kB / 464.8 MB, free: 11.29 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.499e-05/0.5092, allocations: 11.98 kB / 464.8 MB, free: 11.28 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (25): * Single equations (assignments): 19 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 3 * 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.191e-05/0.5093, allocations: 109.8 kB / 464.9 MB, free: 11.16 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.453e-05/0.5093, allocations: 27.62 kB / 464.9 MB, free: 11.14 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.427e-05/0.5094, allocations: 27.59 kB / 465 MB, free: 11.12 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.908e-06/0.5094, allocations: 4 kB / 465 MB, free: 11.12 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.761e-06/0.5094, allocations: 0 / 465 MB, free: 11.12 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.978e-06/0.5094, allocations: 0 / 465 MB, free: 11.12 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002453/0.5097, allocations: 237.1 kB / 465.2 MB, free: 10.88 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-06/0.5097, allocations: 4 kB / 465.2 MB, free: 10.88 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001895/0.5099, allocations: 27.92 kB / 465.2 MB, free: 10.85 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.376e-06/0.5099, allocations: 0 / 465.2 MB, free: 10.85 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.166e-05/0.5099, allocations: 4 kB / 465.2 MB, free: 10.84 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.5099, allocations: 0 / 465.2 MB, free: 10.84 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.5099, allocations: 0 / 465.2 MB, free: 10.84 MB / 346.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003807/0.5103, allocations: 316.2 kB / 465.6 MB, free: 10.57 MB / 346.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.000545/0.5109, allocations: 0.7567 MB / 466.3 MB, free: 9.859 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.274e-05/0.5109, allocations: 100.9 kB / 466.4 MB, free: 9.742 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.926e-05/0.511, allocations: 3.938 kB / 466.4 MB, free: 9.738 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001386/0.5111, allocations: 11.98 kB / 466.4 MB, free: 9.727 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.127e-05/0.5112, allocations: 11.2 kB / 466.4 MB, free: 9.719 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.835e-06/0.5112, allocations: 7.938 kB / 466.4 MB, free: 9.711 MB / 346.7 MB Notification: Performance of sort global known variables: time 0.0001371/0.5113, allocations: 183.2 kB / 466.6 MB, free: 9.562 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0009321/0.5123, allocations: 87.55 kB / 466.7 MB, free: 9.48 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (filter_fac5.x[1],filter_fac5.x[2],filter_fac4.x[1],filter_fac4.x[2],filter_fac3.x[1],filter_fac3.x[2]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 13 * 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.0003022/0.5126, allocations: 154.5 kB / 466.9 MB, free: 9.324 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0003741/0.513, allocations: 261.9 kB / 467.1 MB, free: 9.094 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.513, allocations: 3.938 kB / 467.1 MB, free: 9.09 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 8.021e-05/0.5131, allocations: 57.78 kB / 467.2 MB, free: 9.047 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003585/0.5134, allocations: 66.84 kB / 467.2 MB, free: 8.988 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008807/0.5143, allocations: 433.3 kB / 467.7 MB, free: 8.57 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004171/0.5148, allocations: 0.8168 MB / 468.5 MB, free: 7.734 MB / 346.7 MB Notification: Performance of SimCode: time 2.51e-07/0.5148, allocations: 0 / 468.5 MB, free: 7.734 MB / 346.7 MB (rm -f Modelica_3.2.3_Modelica.Blocks.Examples.FilterWithRiseTime.pipe ; mkfifo Modelica_3.2.3_Modelica.Blocks.Examples.FilterWithRiseTime.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Blocks.Examples.FilterWithRiseTime.pipe >> ../files/Modelica_3.2.3_Modelica.Blocks.Examples.FilterWithRiseTime.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Blocks.Examples.FilterWithRiseTime_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Blocks_Examples_FilterWithRiseTime_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Blocks_Examples_FilterWithRiseTime.fmu > Modelica_3.2.3_Modelica.Blocks.Examples.FilterWithRiseTime.pipe 2>&1)