Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaByExample_ModelicaByExample.Functions.Interpolation.IntegrateInterpolatedExternalVector.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaByExample 0.6.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package ModelicaByExample with version 0.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaByExample 0.6.0/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaByExample.Functions.Interpolation.IntegrateInterpolatedExternalVector,fileNamePrefix="ModelicaByExample_ModelicaByExample_Functions_Interpolation_IntegrateInterpolatedExternalVector",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaByExample.Functions.Interpolation.IntegrateInterpolatedExternalVector,fileNamePrefix="ModelicaByExample_ModelicaByExample_Functions_Interpolation_IntegrateInterpolatedExternalVector",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.2+maint.om/package.mo): time 0.002829/0.002829, allocations: 187.1 kB / 7.465 MB, free: 2.5 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 0.9332/0.9332, allocations: 194.2 MB / 202.1 MB, free: 8.742 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaByExample 0.6.0/package.mo): time 0.03298/0.03298, allocations: 7.917 MB / 254.9 MB, free: 1.68 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001515/0.001515, allocations: 117.2 kB / 301.5 MB, free: 3.316 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.08855/0.09009, allocations: 52.31 MB / 353.8 MB, free: 14.88 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1756/0.2657, allocations: 46.19 MB / 400 MB, free: 70.37 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.06464/0.3304, allocations: 70.17 MB / 470.2 MB, free: 1.289 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001353/0.3306, allocations: 47.92 kB / 470.3 MB, free: 1.242 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.001351/0.3319, allocations: 0.6526 MB / 470.9 MB, free: 0.5508 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.513e-05/0.332, allocations: 13 kB / 470.9 MB, free: 0.5391 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.664e-05/0.332, allocations: 0 / 470.9 MB, free: 0.5391 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.374e-05/0.3321, allocations: 170.9 kB / 471.1 MB, free: 340 kB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.888e-06/0.3321, allocations: 4 kB / 471.1 MB, free: 336 kB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.786e-05/0.3321, allocations: 4 kB / 471.1 MB, free: 332 kB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.074e-05/0.3322, allocations: 4 kB / 471.1 MB, free: 328 kB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 4.732e-05/0.3322, allocations: 33.64 kB / 471.1 MB, free: 288 kB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.757e-06/0.3322, allocations: 0 / 471.1 MB, free: 288 kB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.975e-06/0.3323, allocations: 4 kB / 471.1 MB, free: 284 kB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.167e-06/0.3323, allocations: 0 / 471.1 MB, free: 284 kB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.581e-05/0.3324, allocations: 130.1 kB / 471.3 MB, free: 116 kB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001364/0.3325, allocations: 38.56 kB / 471.3 MB, free: 68 kB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.921e-05/0.3325, allocations: 8.922 kB / 471.3 MB, free: 56 kB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.862e-05/0.3325, allocations: 144 / 471.3 MB, free: 56 kB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.08e-05/0.3326, allocations: 38.55 kB / 471.3 MB, free: 8 kB / 314.7 MB Notification: Performance of pre-optimization done (n=3): time 8.02e-07/0.3326, allocations: 0 / 471.3 MB, free: 8 kB / 314.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001275/0.3327, allocations: 37.69 kB / 471.4 MB, free: 15.96 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.632e-05/0.3327, allocations: 51.41 kB / 471.4 MB, free: 15.9 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.59e-05/0.3328, allocations: 96.94 kB / 471.5 MB, free: 15.8 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.12e-05/0.3328, allocations: 25.7 kB / 471.6 MB, free: 15.77 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.298e-05/0.3329, allocations: 84.14 kB / 471.6 MB, free: 15.68 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.042e-05/0.3329, allocations: 11.81 kB / 471.6 MB, free: 15.67 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.034e-06/0.3329, allocations: 0 / 471.6 MB, free: 15.67 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 8.039e-05/0.333, allocations: 310.8 kB / 471.9 MB, free: 15.36 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.818e-05/0.333, allocations: 8.859 kB / 472 MB, free: 15.35 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.161e-05/0.333, allocations: 21.83 kB / 472 MB, free: 15.32 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.517e-05/0.3331, allocations: 4 kB / 472 MB, free: 15.32 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.403e-06/0.3331, allocations: 0 / 472 MB, free: 15.32 MB / 330.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 6.616e-05/0.3331, allocations: 57.53 kB / 472 MB, free: 15.25 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.138e-06/0.3331, allocations: 4 kB / 472 MB, free: 15.25 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.646e-06/0.3332, allocations: 0 / 472 MB, free: 15.25 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.678e-06/0.3332, allocations: 0 / 472 MB, free: 15.25 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.365e-05/0.3332, allocations: 8 kB / 472.1 MB, free: 15.24 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.504e-06/0.3332, allocations: 7.922 kB / 472.1 MB, free: 15.23 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.538e-05/0.3332, allocations: 4.031 kB / 472.1 MB, free: 15.23 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.288e-06/0.3332, allocations: 0 / 472.1 MB, free: 15.23 MB / 330.7 MB Warning: Assuming fixed start value for the following 1 variables: z:VARIABLE() type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * 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.469e-05/0.3334, allocations: 108.8 kB / 472.2 MB, free: 15.12 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.329e-05/0.3334, allocations: 3.906 kB / 472.2 MB, free: 15.11 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001042/0.3335, allocations: 57.08 kB / 472.2 MB, free: 15.05 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.262e-06/0.3335, allocations: 0 / 472.2 MB, free: 15.05 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.949e-06/0.3335, allocations: 4 kB / 472.2 MB, free: 15.05 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.3335, allocations: 0 / 472.2 MB, free: 15.05 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.862e-05/0.3336, allocations: 126.2 kB / 472.4 MB, free: 14.89 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.813e-06/0.3336, allocations: 8 kB / 472.4 MB, free: 14.88 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.395e-05/0.3336, allocations: 4 kB / 472.4 MB, free: 14.88 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.52e-06/0.3336, allocations: 7.984 kB / 472.4 MB, free: 14.87 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.372e-06/0.3337, allocations: 0 / 472.4 MB, free: 14.87 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.42e-07/0.3337, allocations: 0 / 472.4 MB, free: 14.87 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.903e-06/0.3337, allocations: 0 / 472.4 MB, free: 14.87 MB / 330.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001006/0.3338, allocations: 83.59 kB / 472.5 MB, free: 14.77 MB / 330.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0001944/0.334, allocations: 458 kB / 472.9 MB, free: 14.3 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.222e-05/0.3341, allocations: 88.95 kB / 473 MB, free: 14.2 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.488e-05/0.3341, allocations: 4.078 kB / 473 MB, free: 14.19 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.103e-05/0.3341, allocations: 0 / 473 MB, free: 14.19 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.055e-05/0.3341, allocations: 0 / 473 MB, free: 14.19 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.194e-06/0.3341, allocations: 0 / 473 MB, free: 14.19 MB / 330.7 MB Notification: Performance of sort global known variables: time 2.647e-05/0.3341, allocations: 79.28 kB / 473.1 MB, free: 14.11 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0007018/0.3349, allocations: 12.16 kB / 473.1 MB, free: 14.1 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (z) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * 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.0002004/0.3351, allocations: 115.2 kB / 473.2 MB, free: 13.98 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 5.933e-05/0.3351, allocations: 12 kB / 473.2 MB, free: 13.97 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.013e-06/0.3351, allocations: 0 / 473.2 MB, free: 13.97 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 1.038e-05/0.3352, allocations: 8 kB / 473.2 MB, free: 13.96 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.344e-05/0.3352, allocations: 9.094 kB / 473.2 MB, free: 13.95 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004738/0.3357, allocations: 184 kB / 473.4 MB, free: 13.75 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002227/0.336, allocations: 0.6876 MB / 474.1 MB, free: 13.04 MB / 330.7 MB Notification: Performance of SimCode: time 1.984e-06/0.336, allocations: 0 / 474.1 MB, free: 13.04 MB / 330.7 MB (rm -f ModelicaByExample_ModelicaByExample.Functions.Interpolation.IntegrateInterpolatedExternalVector.pipe ; mkfifo ModelicaByExample_ModelicaByExample.Functions.Interpolation.IntegrateInterpolatedExternalVector.pipe ; head -c 1048576 < ModelicaByExample_ModelicaByExample.Functions.Interpolation.IntegrateInterpolatedExternalVector.pipe >> ../files/ModelicaByExample_ModelicaByExample.Functions.Interpolation.IntegrateInterpolatedExternalVector.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_ModelicaByExample_ModelicaByExample_Functions_Interpolation_IntegrateInterpolatedExternalVector_fmu --startTime=0 --stopTime=6 --timeout=50 --tolerance=1e-06 ModelicaByExample_ModelicaByExample_Functions_Interpolation_IntegrateInterpolatedExternalVector.fmu > ModelicaByExample_ModelicaByExample.Functions.Interpolation.IntegrateInterpolatedExternalVector.pipe 2>&1)