Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_LinearSystems2_Modelica_LinearSystems2.Controller.Examples.Interpolator.conf.json Using package Modelica_LinearSystems2 with version 2.4.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica_LinearSystems2 2.4.0/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 4.0.0/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Complex 4.0.0.mo) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/ModelicaServices 4.0.0/package.mo) Running command: "" <> buildModelFMU(Modelica_LinearSystems2.Controller.Examples.Interpolator,fileNamePrefix="Modelica_LinearSystems2_Modelica_LinearSystems2_Controller_Examples_Interpolator",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(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/ModelicaServices 4.0.0/package.mo): time 0.004563/0.004564, allocations: 110.5 kB / 7.383 MB, free: 28 kB / 5.871 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Complex 4.0.0.mo): time 0.001755/0.001754, allocations: 171.1 kB / 7.945 MB, free: 2.363 MB / 5.871 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 4.0.0/package.mo): time 1.968/1.968, allocations: 225.7 MB / 234.1 MB, free: 132 kB / 186.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica_LinearSystems2 2.4.0/package.mo): time 0.3624/0.3624, allocations: 45.99 MB / 330.9 MB, free: 3.199 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.258/0.6204, allocations: 65.08 MB / 395.9 MB, free: 33.27 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1104/0.7309, allocations: 59.45 MB / 455.4 MB, free: 6.363 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3374/1.068, allocations: 87.03 MB / 0.5297 GB, free: 8.598 MB / 378.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica_LinearSystems2 2.4.0/package.mo:6:3-7:74:writable] Warning: classDirectory() is a non-standard operator that was replaced by Modelica.Utilities.Files.loadResource(uri) before it was added to the language specification. Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004208/1.069, allocations: 79.83 kB / 0.5298 GB, free: 8.598 MB / 378.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica_LinearSystems2 2.4.0/package.mo:6:3-7:74:writable] Warning: classDirectory() is a non-standard operator that was replaced by Modelica.Utilities.Files.loadResource(uri) before it was added to the language specification. Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 54 * Number of variables: 54 Notification: Performance of Generate backend data structure: time 0.03281/1.102, allocations: 7.518 MB / 0.5371 GB, free: 5.645 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.344e-05/1.102, allocations: 7.969 kB / 0.5371 GB, free: 5.645 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001494/1.102, allocations: 36.06 kB / 0.5372 GB, free: 5.625 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006345/1.103, allocations: 324.4 kB / 0.5375 GB, free: 5.363 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.481e-05/1.103, allocations: 15.86 kB / 0.5375 GB, free: 5.359 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.108e-05/1.103, allocations: 17.47 kB / 0.5375 GB, free: 5.359 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005026/1.103, allocations: 137.5 kB / 0.5376 GB, free: 5.352 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008251/1.104, allocations: 346.9 kB / 0.538 GB, free: 5.148 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.639e-05/1.104, allocations: 0.5625 kB / 0.538 GB, free: 5.148 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.057e-05/1.104, allocations: 3.125 kB / 0.538 GB, free: 5.148 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.396e-05/1.104, allocations: 5.844 kB / 0.538 GB, free: 5.148 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001768/1.106, allocations: 1.287 MB / 0.5392 GB, free: 4.051 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006927/1.107, allocations: 345.4 kB / 0.5396 GB, free: 3.773 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000307/1.107, allocations: 130.5 kB / 0.5397 GB, free: 3.691 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.644e-05/1.107, allocations: 4.531 kB / 0.5397 GB, free: 3.688 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004857/1.108, allocations: 235.5 kB / 0.5399 GB, free: 3.504 MB / 378.7 MB Notification: Performance of pre-optimization done (n=39): time 3.206e-06/1.108, allocations: 0 / 0.5399 GB, free: 3.504 MB / 378.7 MB Notification: Performance of matching and sorting (n=39): time 0.0008705/1.108, allocations: 312.5 kB / 0.5402 GB, free: 3.266 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.104e-05/1.109, allocations: 118.2 kB / 0.5403 GB, free: 3.129 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003225/1.109, allocations: 230.2 kB / 0.5406 GB, free: 2.941 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 6.958e-05/1.109, allocations: 43.62 kB / 0.5406 GB, free: 2.898 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.229e-05/1.109, allocations: 127.2 kB / 0.5407 GB, free: 2.781 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.47e-05/1.109, allocations: 81.28 kB / 0.5408 GB, free: 2.719 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.528e-05/1.109, allocations: 0 / 0.5408 GB, free: 2.719 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 8.941e-05/1.109, allocations: 344.8 kB / 0.5411 GB, free: 2.387 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003033/1.11, allocations: 119.9 kB / 0.5412 GB, free: 2.316 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004018/1.11, allocations: 263.1 kB / 0.5415 GB, free: 2.062 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003899/1.11, allocations: 150.7 kB / 0.5416 GB, free: 1.965 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.59e-06/1.11, allocations: 8 kB / 0.5416 GB, free: 1.957 MB / 378.7 MB Notification: Performance of matching and sorting (n=68) (initialization): time 0.0009599/1.111, allocations: 429.9 kB / 0.5421 GB, free: 1.629 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.871e-05/1.111, allocations: 8 kB / 0.5421 GB, free: 1.621 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.133e-05/1.111, allocations: 4.094 kB / 0.5421 GB, free: 1.617 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.647e-05/1.111, allocations: 8.359 kB / 0.5421 GB, free: 1.609 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005608/1.112, allocations: 83.7 kB / 0.5422 GB, free: 1.531 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.202e-05/1.112, allocations: 8 kB / 0.5422 GB, free: 1.523 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000371/1.112, allocations: 23.75 kB / 0.5422 GB, free: 1.5 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.008e-05/1.113, allocations: 23.8 kB / 0.5422 GB, free: 1.48 MB / 378.7 MB Warning: Assuming fixed start value for the following 2 variables: interpolator3.discreteInterpolator.sampleIn:DISCRETE(fixed = false protected = true ) type: Boolean interpolator2.discreteInterpolator.sampleIn:DISCRETE(fixed = false protected = true ) type: Boolean Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 61 ($PRE.interpolator3.discreteInterpolator.ticks,interpolator3.discreteInterpolator.ticks,$PRE.interpolator2.discreteInterpolator.ticks,interpolator2.discreteInterpolator.ticks,$whenCondition5,$PRE.interpolator3.discreteInterpolator.sampleIn,interpolator3.discreteInterpolator.sampleIn,$whenCondition3,$PRE.interpolator2.discreteInterpolator.sampleIn,interpolator2.discreteInterpolator.sampleIn,$whenCondition7,$whenCondition6,$whenCondition4,$whenCondition2,$whenCondition1,sampleClock.sampleTrigger,interpolator2.discreteInterpolator.outputSampleTrigger,$PRE.interpolator2.discreteInterpolator.outputTicks,interpolator2.discreteInterpolator.outputTicks,interpolator3.discreteInterpolator.outputSampleTrigger,$PRE.interpolator3.discreteInterpolator.outputTicks,interpolator3.discreteInterpolator.outputTicks,$PRE.interpolator3.discreteFIR.ticks,interpolator3.discreteFIR.ticks,interpolator3.discreteFIR.sampleTrigger,$PRE.sampler.discretePart.ticks,sampler.discretePart.ticks,sampler.discretePart.sampleTrigger,$PRE.interpolator2.discreteInterpolator.y,interpolator2.discreteInterpolator.y,$PRE.interpolator2.discreteInterpolator.pre_u,interpolator2.discreteInterpolator.pre_u,$PRE.interpolator3.discreteInterpolator.y,interpolator3.discreteInterpolator.y,$PRE.interpolator3.discreteInterpolator.pre_u,interpolator3.discreteInterpolator.pre_u,interpolator3.discreteFIR.u_sampled,$PRE.interpolator3.discreteFIR.x[1],interpolator3.discreteFIR.x[1],$PRE.interpolator3.discreteFIR.x[2],interpolator3.discreteFIR.x[2],$PRE.interpolator3.discreteFIR.x[3],interpolator3.discreteFIR.x[3],$PRE.interpolator3.discreteFIR.x[4],interpolator3.discreteFIR.x[4],interpolator3.discreteFIR.sum[1],interpolator3.discreteFIR.sum[2],interpolator3.discreteFIR.sum[3],interpolator3.discreteFIR.sum[4],interpolator3.discreteFIR.y_sampled,sampler.discretePart.u_sampled,interpolator3.discreteInterpolator.inputOutputSampleFactor,interpolator2.discreteInterpolator.inputOutputSampleFactor,sampler.discretePart.cont,sampler.cont,interpolator3.discreteFIR.cont,interpolator3.discreteInterpolator.cont,interpolator3.cont,interpolator2.discreteInterpolator.cont,interpolator2.cont,interpolator1.cont) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (68): * Single equations (assignments): 68 * 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.000294/1.113, allocations: 177.2 kB / 0.5424 GB, free: 1.301 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.935e-05/1.113, allocations: 27.72 kB / 0.5424 GB, free: 1.273 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.046e-05/1.113, allocations: 29.42 kB / 0.5424 GB, free: 1.258 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.122e-06/1.113, allocations: 4 kB / 0.5424 GB, free: 1.254 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.332e-06/1.113, allocations: 0 / 0.5424 GB, free: 1.254 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.662e-06/1.113, allocations: 0 / 0.5424 GB, free: 1.254 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001656/1.115, allocations: 0.8163 MB / 0.5432 GB, free: 0.5625 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.709e-06/1.115, allocations: 0 / 0.5432 GB, free: 0.5625 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000117/1.115, allocations: 11.98 kB / 0.5432 GB, free: 0.5508 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.197e-06/1.115, allocations: 4 kB / 0.5432 GB, free: 0.5469 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.508e-05/1.115, allocations: 15.34 kB / 0.5433 GB, free: 0.5352 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.559e-06/1.115, allocations: 3.906 kB / 0.5433 GB, free: 0.5312 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.955e-06/1.115, allocations: 4 kB / 0.5433 GB, free: 0.5273 MB / 378.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0007537/1.116, allocations: 419.1 kB / 0.5437 GB, free: 180 kB / 378.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.000981/1.117, allocations: 0.7834 MB / 0.5444 GB, free: 15.45 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000111/1.117, allocations: 108.4 kB / 0.5445 GB, free: 15.33 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001581/1.117, allocations: 18.48 kB / 0.5446 GB, free: 15.32 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000499/1.118, allocations: 31.34 kB / 0.5446 GB, free: 15.29 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.131e-05/1.118, allocations: 27.09 kB / 0.5446 GB, free: 15.27 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.939e-05/1.118, allocations: 23.34 kB / 0.5446 GB, free: 15.25 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.0002534/1.118, allocations: 163.3 kB / 0.5448 GB, free: 15.12 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001465/1.119, allocations: 71.83 kB / 0.5449 GB, free: 15.05 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 35 (interpolator2.discreteInterpolator.outputSampleTrigger,interpolator3.discreteInterpolator.outputSampleTrigger,interpolator3.discreteFIR.sampleTrigger,sampler.discretePart.sampleTrigger,sampleClock.sampleTrigger,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,interpolator2.discreteInterpolator.y,interpolator2.discreteInterpolator.outputTicks,interpolator2.discreteInterpolator.ticks,interpolator2.discreteInterpolator.pre_u,interpolator2.discreteInterpolator.sampleIn,interpolator3.discreteInterpolator.y,interpolator3.discreteInterpolator.outputTicks,interpolator3.discreteInterpolator.ticks,interpolator3.discreteInterpolator.pre_u,interpolator3.discreteInterpolator.sampleIn,interpolator3.discreteFIR.u_sampled,interpolator3.discreteFIR.ticks,interpolator3.discreteFIR.x[1],interpolator3.discreteFIR.x[2],interpolator3.discreteFIR.x[3],interpolator3.discreteFIR.x[4],interpolator3.discreteFIR.sum[1],interpolator3.discreteFIR.sum[2],interpolator3.discreteFIR.sum[3],interpolator3.discreteFIR.sum[4],interpolator3.discreteFIR.y_sampled,sampler.discretePart.u_sampled,sampler.discretePart.ticks) * Number of discrete states: 14 (sampler.discretePart.ticks,interpolator3.discreteFIR.ticks,interpolator3.discreteFIR.u,interpolator3.discreteFIR.x[1],interpolator3.discreteFIR.x[2],interpolator3.discreteFIR.x[3],interpolator3.discreteInterpolator.outputTicks,interpolator3.discreteInterpolator.ticks,interpolator3.discreteInterpolator.u,interpolator3.discreteInterpolator.pre_u,interpolator2.discreteInterpolator.outputTicks,interpolator2.discreteInterpolator.ticks,interpolator2.discreteInterpolator.u,interpolator2.discreteInterpolator.pre_u) * Top-level inputs: 0 Notification: Strong component statistics for simulation (39): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 23 * 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.0002748/1.12, allocations: 147.9 kB / 0.545 GB, free: 14.91 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0009768/1.121, allocations: 337.5 kB / 0.5453 GB, free: 14.67 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.075e-06/1.121, allocations: 0 / 0.5453 GB, free: 14.67 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003807/1.121, allocations: 147.3 kB / 0.5455 GB, free: 14.57 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000888/1.122, allocations: 78.5 kB / 0.5455 GB, free: 14.51 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001302/1.123, allocations: 394 kB / 0.5459 GB, free: 14.17 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005315/1.124, allocations: 0.8023 MB / 0.5467 GB, free: 13.35 MB / 394.7 MB Notification: Performance of SimCode: time 1.152e-06/1.124, allocations: 8 kB / 0.5467 GB, free: 13.34 MB / 394.7 MB