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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001521/0.001521, allocations: 182.5 kB / 12.74 MB, free: 2.582 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.339/1.339, allocations: 194.3 MB / 207.5 MB, free: 3.453 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaByExample 0.6.0/package.mo): time 0.0351/0.0351, allocations: 7.911 MB / 260.4 MB, free: 13.78 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001579/0.001579, allocations: 128.4 kB / 307.2 MB, free: 14.88 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 3.431e-05/3.469e-05, allocations: 4 kB / 361.3 MB, free: 8.609 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2352/0.2353, allocations: 46.2 MB / 407.5 MB, free: 67.02 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.08014/0.3155, allocations: 70.9 MB / 478.4 MB, free: 12.02 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001529/0.3157, allocations: 43.98 kB / 478.5 MB, free: 11.98 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.001478/0.3172, allocations: 0.6435 MB / 479.1 MB, free: 11.34 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.433e-06/0.3172, allocations: 0 / 479.1 MB, free: 11.34 MB / 330.7 MB Notification: Performance of Transformations before backend: time 6.101e-06/0.3172, allocations: 0 / 479.1 MB, free: 11.34 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.00025/0.3175, allocations: 318.6 kB / 479.4 MB, free: 10.98 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.303e-05/0.3175, allocations: 12.03 kB / 479.4 MB, free: 10.97 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.498e-05/0.3176, allocations: 30.56 kB / 479.5 MB, free: 10.93 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.22e-05/0.3176, allocations: 0 / 479.5 MB, free: 10.93 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001197/0.3177, allocations: 174.9 kB / 479.6 MB, free: 10.72 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.032e-05/0.3177, allocations: 4 kB / 479.7 MB, free: 10.71 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.555e-05/0.3178, allocations: 0 / 479.7 MB, free: 10.71 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001027/0.3179, allocations: 37.7 kB / 479.7 MB, free: 10.67 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.396e-05/0.3179, allocations: 0 / 479.7 MB, free: 10.67 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.125e-05/0.3179, allocations: 0 / 479.7 MB, free: 10.67 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.292e-06/0.3179, allocations: 3.938 kB / 479.7 MB, free: 10.67 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.271e-05/0.318, allocations: 7.984 kB / 479.7 MB, free: 10.66 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001725/0.3181, allocations: 157.5 kB / 479.9 MB, free: 10.46 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001658/0.3183, allocations: 38.55 kB / 479.9 MB, free: 10.41 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.46e-05/0.3184, allocations: 12.92 kB / 479.9 MB, free: 10.39 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.773e-05/0.3184, allocations: 0 / 479.9 MB, free: 10.39 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.397e-05/0.3184, allocations: 34.56 kB / 479.9 MB, free: 10.35 MB / 330.7 MB Notification: Performance of pre-optimization done (n=3): time 1.343e-06/0.3184, allocations: 0 / 479.9 MB, free: 10.35 MB / 330.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001146/0.3185, allocations: 41.78 kB / 480 MB, free: 10.3 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.397e-05/0.3186, allocations: 51.41 kB / 480 MB, free: 10.24 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.897e-05/0.3187, allocations: 93 kB / 480.1 MB, free: 10.14 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.372e-05/0.3187, allocations: 25.7 kB / 480.1 MB, free: 10.11 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.108e-05/0.3187, allocations: 84.14 kB / 480.2 MB, free: 10.03 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.29e-05/0.3188, allocations: 7.844 kB / 480.2 MB, free: 10.02 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.554e-06/0.3188, allocations: 0 / 480.2 MB, free: 10.02 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001263/0.3189, allocations: 318.8 kB / 480.5 MB, free: 9.699 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.981e-05/0.3189, allocations: 8.859 kB / 480.6 MB, free: 9.688 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.341e-05/0.319, allocations: 17.72 kB / 480.6 MB, free: 9.664 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.107e-05/0.319, allocations: 12.12 kB / 480.6 MB, free: 9.652 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.527e-06/0.319, allocations: 0 / 480.6 MB, free: 9.652 MB / 330.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 7.337e-05/0.3191, allocations: 57.52 kB / 480.6 MB, free: 9.59 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.612e-05/0.3191, allocations: 8 kB / 480.6 MB, free: 9.582 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.052e-06/0.3191, allocations: 0 / 480.6 MB, free: 9.582 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.171e-05/0.3191, allocations: 0 / 480.6 MB, free: 9.582 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.378e-05/0.3192, allocations: 7.984 kB / 480.7 MB, free: 9.574 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.246e-06/0.3192, allocations: 4 kB / 480.7 MB, free: 9.57 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.633e-05/0.3192, allocations: 3.906 kB / 480.7 MB, free: 9.566 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.93e-06/0.3192, allocations: 0 / 480.7 MB, free: 9.566 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 0.000103/0.3193, allocations: 109 kB / 480.8 MB, free: 9.453 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.238e-05/0.3193, allocations: 8.141 kB / 480.8 MB, free: 9.445 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001102/0.3194, allocations: 53.11 kB / 480.8 MB, free: 9.387 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.226e-06/0.3195, allocations: 4 kB / 480.8 MB, free: 9.383 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.149e-06/0.3195, allocations: 0 / 480.8 MB, free: 9.383 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.975e-06/0.3195, allocations: 0 / 480.8 MB, free: 9.383 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001167/0.3196, allocations: 153.7 kB / 481 MB, free: 9.184 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.22e-07/0.3196, allocations: 0 / 481 MB, free: 9.184 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.526e-05/0.3197, allocations: 4 kB / 481 MB, free: 9.18 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.799e-06/0.3197, allocations: 11.89 kB / 481 MB, free: 9.168 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.055e-06/0.3197, allocations: 0 / 481 MB, free: 9.168 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.3197, allocations: 0 / 481 MB, free: 9.168 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.3197, allocations: 0 / 481 MB, free: 9.168 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000128/0.3198, allocations: 83.77 kB / 481.1 MB, free: 9.07 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.79e-05/0.3199, allocations: 88.98 kB / 481.2 MB, free: 8.965 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.476e-05/0.3199, allocations: 3.953 kB / 481.2 MB, free: 8.961 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.112e-05/0.3199, allocations: 0 / 481.2 MB, free: 8.961 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.717e-05/0.32, allocations: 4.062 kB / 481.2 MB, free: 8.957 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.86e-06/0.32, allocations: 4 kB / 481.2 MB, free: 8.953 MB / 330.7 MB Notification: Performance of sorting global known variables: time 3.469e-05/0.32, allocations: 75.28 kB / 481.3 MB, free: 8.879 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.32, allocations: 0 / 481.3 MB, free: 8.879 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0001882/0.3202, allocations: 4 kB / 481.3 MB, free: 8.875 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.0005576/0.3208, allocations: 0.6348 MB / 481.9 MB, free: 8.219 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 8.075e-05/0.3209, allocations: 15.94 kB / 481.9 MB, free: 8.203 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.776e-06/0.3209, allocations: 4 kB / 481.9 MB, free: 8.199 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 1.178e-05/0.3209, allocations: 8.219 kB / 481.9 MB, free: 8.191 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000101/0.321, allocations: 3.953 kB / 481.9 MB, free: 8.188 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006552/0.3217, allocations: 228.6 kB / 482.1 MB, free: 7.93 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001877/0.3219, allocations: 0.6731 MB / 482.8 MB, free: 7.23 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 2.681e-05/0.3219, allocations: 15.92 kB / 482.8 MB, free: 7.215 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.237e-05/0.3219, allocations: 11.44 kB / 482.8 MB, free: 7.203 MB / 330.7 MB Notification: Performance of SimCode: time 2.5e-07/0.3219, allocations: 0 / 482.8 MB, free: 7.203 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0107/0.3326, allocations: 1.069 MB / 483.9 MB, free: 6.285 MB / 330.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002347/0.3329, allocations: 195.3 kB / 484.1 MB, free: 6.059 MB / 330.7 MB Error: Error building simulator. Build log: clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaByExample 0.6.0/Functions/Interpolation/source" -c -o ModelicaByExample_ModelicaByExample_Functions_Interpolation_IntegrateInterpolatedExternalVector.o ModelicaByExample_ModelicaByExample_Functions_Interpolation_IntegrateInterpolatedExternalVector.c In file included from ModelicaByExample_ModelicaByExample_Functions_Interpolation_IntegrateInterpolatedExternalVector.c:7: In file included from ./ModelicaByExample_ModelicaByExample_Functions_Interpolation_IntegrateInterpolatedExternalVector_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:111: ./gc/omc_gc.h:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:221:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaByExample 0.6.0/Functions/Interpolation/source" -c -o ModelicaByExample_ModelicaByExample_Functions_Interpolation_IntegrateInterpolatedExternalVector_functions.o ModelicaByExample_ModelicaByExample_Functions_Interpolation_IntegrateInterpolatedExternalVector_functions.c In file included from ModelicaByExample_ModelicaByExample_Functions_Interpolation_IntegrateInterpolatedExternalVector_functions.c:2: In file included from ./ModelicaByExample_ModelicaByExample_Functions_Interpolation_IntegrateInterpolatedExternalVector_functions.h:3: In file included from ./meta/meta_modelica.h:49: ./gc/omc_gc.h:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:221:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ In file included from ModelicaByExample_ModelicaByExample_Functions_Interpolation_IntegrateInterpolatedExternalVector_functions.c:7: In file included from ./ModelicaByExample_ModelicaByExample_Functions_Interpolation_IntegrateInterpolatedExternalVector_includes.h:4: /home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaByExample 0.6.0/Functions/Interpolation/source/VectorTable.c:5:10: fatal error: 'ModelicaUtilities.h' file not found #include "ModelicaUtilities.h" ^~~~~~~~~~~~~~~~~~~~~ 2 warnings and 1 error generated. make: *** [: ModelicaByExample_ModelicaByExample_Functions_Interpolation_IntegrateInterpolatedExternalVector_functions.o] Error 1