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.006382/0.006382, allocations: 174.8 kB / 15.12 MB, free: 5.973 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.376/1.376, allocations: 194.5 MB / 210.3 MB, free: 7.613 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaByExample 0.6.0/package.mo): time 0.0365/0.0365, allocations: 8.096 MB / 263.6 MB, free: 2.223 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.001559/0.001559, allocations: 120.6 kB / 310.6 MB, free: 27.02 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000326/0.0003263, allocations: 8 kB / 367.3 MB, free: 2.199 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1985/0.1988, allocations: 46.2 MB / 413.5 MB, free: 47.62 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.08195/0.2808, allocations: 70.98 MB / 484.5 MB, free: 14.77 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001184/0.281, allocations: 44.64 kB / 484.6 MB, free: 14.73 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.001311/0.2823, allocations: 0.6391 MB / 485.2 MB, free: 14.09 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.683e-06/0.2823, allocations: 0 / 485.2 MB, free: 14.09 MB / 330.7 MB Notification: Performance of Transformations before backend: time 4.669e-06/0.2824, allocations: 0 / 485.2 MB, free: 14.09 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.0002552/0.2826, allocations: 328.6 kB / 485.5 MB, free: 13.73 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.254e-05/0.2827, allocations: 8.031 kB / 485.5 MB, free: 13.72 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.069e-05/0.2827, allocations: 37.91 kB / 485.6 MB, free: 13.68 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.295e-05/0.2827, allocations: 4 kB / 485.6 MB, free: 13.67 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001067/0.2829, allocations: 171 kB / 485.8 MB, free: 13.46 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.987e-06/0.2829, allocations: 0 / 485.8 MB, free: 13.46 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.633e-05/0.2829, allocations: 0 / 485.8 MB, free: 13.46 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.162e-05/0.283, allocations: 37.64 kB / 485.8 MB, free: 13.42 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.111e-05/0.283, allocations: 4 kB / 485.8 MB, free: 13.42 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.125e-06/0.283, allocations: 3.984 kB / 485.8 MB, free: 13.41 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.767e-06/0.283, allocations: 3.688 kB / 485.8 MB, free: 13.41 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.706e-05/0.2831, allocations: 4 kB / 485.8 MB, free: 13.41 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001255/0.2832, allocations: 153.7 kB / 486 MB, free: 13.21 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001429/0.2833, allocations: 34.52 kB / 486 MB, free: 13.17 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.606e-05/0.2834, allocations: 0 / 486 MB, free: 13.17 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.922e-05/0.2834, allocations: 34.62 kB / 486 MB, free: 13.12 MB / 330.7 MB Notification: Performance of pre-optimization done (n=3): time 2.444e-06/0.2834, allocations: 1.75 kB / 486 MB, free: 13.12 MB / 330.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001115/0.2835, allocations: 53.56 kB / 486.1 MB, free: 13.07 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.904e-05/0.2836, allocations: 55.41 kB / 486.1 MB, free: 13 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.175e-05/0.2836, allocations: 89.61 kB / 486.2 MB, free: 12.91 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.246e-05/0.2836, allocations: 29.83 kB / 486.2 MB, free: 12.87 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.569e-05/0.2837, allocations: 84.14 kB / 486.3 MB, free: 12.79 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.67e-05/0.2837, allocations: 7.906 kB / 486.3 MB, free: 12.78 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.993e-06/0.2837, allocations: 0 / 486.3 MB, free: 12.78 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 9.252e-05/0.2838, allocations: 310.8 kB / 486.6 MB, free: 12.46 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.79e-05/0.2838, allocations: 16.84 kB / 486.7 MB, free: 12.45 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.182e-05/0.2839, allocations: 17.89 kB / 486.7 MB, free: 12.42 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.116e-05/0.2839, allocations: 12 kB / 486.7 MB, free: 12.41 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.303e-06/0.2839, allocations: 0 / 486.7 MB, free: 12.41 MB / 330.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 7.593e-05/0.284, allocations: 57.58 kB / 486.7 MB, free: 12.35 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.333e-05/0.284, allocations: 4 kB / 486.7 MB, free: 12.34 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.336e-06/0.284, allocations: 0 / 486.7 MB, free: 12.34 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.167e-06/0.284, allocations: 0 / 486.7 MB, free: 12.34 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.171e-05/0.2841, allocations: 8 kB / 486.8 MB, free: 12.34 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.018e-06/0.2841, allocations: 0 / 486.8 MB, free: 12.34 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.75e-05/0.2841, allocations: 7.906 kB / 486.8 MB, free: 12.33 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.532e-06/0.2841, allocations: 7.984 kB / 486.8 MB, free: 12.32 MB / 330.7 MB Warning: Assuming fixed start value for the following 1 variables: z:VARIABLE(fixed = true ) 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 () * Number of clocked 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.0001255/0.2842, allocations: 113.9 kB / 486.9 MB, free: 12.2 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.588e-06/0.2843, allocations: 7.891 kB / 486.9 MB, free: 12.19 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.815e-05/0.2843, allocations: 49.19 kB / 486.9 MB, free: 12.14 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-06/0.2844, allocations: 0 / 486.9 MB, free: 12.14 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.236e-06/0.2844, allocations: 0 / 486.9 MB, free: 12.14 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.414e-06/0.2844, allocations: 0 / 486.9 MB, free: 12.14 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.424e-05/0.2845, allocations: 157.6 kB / 487.1 MB, free: 11.93 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.2845, allocations: 3.938 kB / 487.1 MB, free: 11.93 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.563e-05/0.2845, allocations: 4 kB / 487.1 MB, free: 11.93 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.976e-06/0.2845, allocations: 7.953 kB / 487.1 MB, free: 11.92 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.062e-06/0.2845, allocations: 0 / 487.1 MB, free: 11.92 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.509e-06/0.2845, allocations: 4 kB / 487.1 MB, free: 11.91 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.2846, allocations: 0 / 487.1 MB, free: 11.91 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001004/0.2847, allocations: 75.73 kB / 487.2 MB, free: 11.82 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.409e-05/0.2847, allocations: 85.14 kB / 487.3 MB, free: 11.72 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.305e-05/0.2847, allocations: 3.953 kB / 487.3 MB, free: 11.72 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.134e-05/0.2848, allocations: 3.938 kB / 487.3 MB, free: 11.71 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.021e-05/0.2848, allocations: 4.062 kB / 487.3 MB, free: 11.71 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.725e-06/0.2848, allocations: 4 kB / 487.3 MB, free: 11.71 MB / 330.7 MB Notification: Performance of sorting global known variables: time 2.806e-05/0.2848, allocations: 75.28 kB / 487.4 MB, free: 11.63 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2848, allocations: 0 / 487.4 MB, free: 11.63 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002057/0.285, allocations: 7.984 kB / 487.4 MB, free: 11.62 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 () * Number of clocked 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.0004088/0.2854, allocations: 0.6405 MB / 488 MB, free: 10.96 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 6.16e-05/0.2855, allocations: 15.98 kB / 488 MB, free: 10.95 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/0.2855, allocations: 0 / 488 MB, free: 10.95 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 1.325e-05/0.2855, allocations: 8 kB / 488 MB, free: 10.94 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.504e-05/0.2856, allocations: 3.953 kB / 488 MB, free: 10.94 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007917/0.2864, allocations: 0.592 MB / 488.6 MB, free: 10.29 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002184/0.2867, allocations: 0.677 MB / 489.3 MB, free: 9.586 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 2.437e-05/0.2867, allocations: 8.062 kB / 489.3 MB, free: 9.578 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.213e-05/0.2867, allocations: 11.44 kB / 489.3 MB, free: 9.57 MB / 330.7 MB Notification: Performance of SimCode: time 2.9e-07/0.2867, allocations: 3.938 kB / 489.3 MB, free: 9.566 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01009/0.2968, allocations: 1.087 MB / 490.4 MB, free: 8.652 MB / 330.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001977/0.2971, allocations: 215.5 kB / 490.6 MB, free: 8.414 MB / 330.7 MB Error: Error building simulator. Build log: clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 "-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:149: ./gc/omc_gc.h:222:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:226: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 -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 "-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:222:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:226: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