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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/ModelicaByExample 0.6.0/package.mo", uses=false) 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.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001187/0.001187, allocations: 99.7 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001108/0.001108, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.6/1.6, allocations: 205.4 MB / 222.1 MB, free: 5.656 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaByExample 0.6.0/package.mo): time 0.04008/0.04008, allocations: 8.097 MB / 278.5 MB, free: 13.22 MB / 238.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: ModelicaByExample requested package Modelica of version 3.2.2. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005477/0.0005477, allocations: 16 kB / 338.3 MB, free: 26.96 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.114/0.1145, allocations: 49.27 MB / 387.6 MB, free: 9.633 MB / 286.1 MB Notification: Performance of NFInst.instantiate(ModelicaByExample.Functions.Interpolation.IntegrateInterpolatedExternalVector): time 0.0007734/0.1154, allocations: 124.8 kB / 387.7 MB, free: 9.512 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 9.333e-05/0.1155, allocations: 35.91 kB / 387.8 MB, free: 9.477 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.218e-05/0.1155, allocations: 0 / 387.8 MB, free: 9.477 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001353/0.1157, allocations: 7.938 kB / 387.8 MB, free: 9.469 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001159/0.1158, allocations: 23.95 kB / 387.8 MB, free: 9.445 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.995e-05/0.1158, allocations: 8 kB / 387.8 MB, free: 9.438 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 7.208e-05/0.1159, allocations: 11.98 kB / 387.8 MB, free: 9.426 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.034e-05/0.116, allocations: 11.92 kB / 387.8 MB, free: 9.414 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.412e-05/0.116, allocations: 11.92 kB / 387.8 MB, free: 9.402 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.587e-05/0.1161, allocations: 7.984 kB / 387.8 MB, free: 9.395 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.986e-05/0.1161, allocations: 4 kB / 387.8 MB, free: 9.391 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.915e-05/0.1162, allocations: 4 kB / 387.9 MB, free: 9.387 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 1.34e-05/0.1162, allocations: 0 / 387.9 MB, free: 9.387 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 3.268e-05/0.1162, allocations: 25.7 kB / 387.9 MB, free: 9.355 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 9.563e-05/0.1163, allocations: 23.95 kB / 387.9 MB, free: 9.332 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.526e-06/0.1163, allocations: 3.938 kB / 387.9 MB, free: 9.328 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.585e-06/0.1164, allocations: 8 kB / 387.9 MB, free: 9.32 MB / 286.1 MB Notification: Performance of Transformations before backend: time 6.512e-06/0.1164, allocations: 0 / 387.9 MB, free: 9.32 MB / 286.1 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.0003608/0.1167, allocations: 311.4 kB / 388.2 MB, free: 8.969 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.614e-05/0.1168, allocations: 12.03 kB / 388.2 MB, free: 8.957 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.311e-05/0.1169, allocations: 34.55 kB / 388.3 MB, free: 8.914 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.508e-05/0.1169, allocations: 0 / 388.3 MB, free: 8.914 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001831/0.1171, allocations: 175 kB / 388.4 MB, free: 8.703 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.313e-05/0.1171, allocations: 8 kB / 388.4 MB, free: 8.695 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.544e-05/0.1171, allocations: 3.953 kB / 388.4 MB, free: 8.691 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001024/0.1172, allocations: 33.7 kB / 388.5 MB, free: 8.652 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.14e-05/0.1173, allocations: 0 / 388.5 MB, free: 8.652 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.466e-06/0.1173, allocations: 0 / 388.5 MB, free: 8.652 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.446e-06/0.1173, allocations: 0 / 388.5 MB, free: 8.652 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.233e-05/0.1173, allocations: 15.92 kB / 388.5 MB, free: 8.637 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001727/0.1175, allocations: 145.7 kB / 388.6 MB, free: 8.445 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000183/0.1177, allocations: 34.61 kB / 388.7 MB, free: 8.402 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.417e-05/0.1177, allocations: 3.984 kB / 388.7 MB, free: 8.398 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.475e-05/0.1178, allocations: 38.52 kB / 388.7 MB, free: 8.352 MB / 286.1 MB Notification: Performance of pre-optimization done (n=3): time 8.91e-07/0.1178, allocations: 0 / 388.7 MB, free: 8.352 MB / 286.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001523/0.1179, allocations: 49.78 kB / 388.8 MB, free: 8.297 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.953e-05/0.118, allocations: 51.41 kB / 388.8 MB, free: 8.234 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.271e-05/0.1181, allocations: 103.6 kB / 388.9 MB, free: 8.125 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.948e-05/0.1181, allocations: 25.7 kB / 388.9 MB, free: 8.094 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.907e-05/0.1182, allocations: 80.14 kB / 389 MB, free: 8.012 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.665e-05/0.1182, allocations: 12.25 kB / 389 MB, free: 8 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.026e-06/0.1182, allocations: 0 / 389 MB, free: 8 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001569/0.1184, allocations: 318.8 kB / 389.3 MB, free: 7.68 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.156e-05/0.1184, allocations: 4.859 kB / 389.3 MB, free: 7.672 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.155e-05/0.1185, allocations: 21.7 kB / 389.4 MB, free: 7.645 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.089e-05/0.1185, allocations: 4 kB / 389.4 MB, free: 7.641 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.027e-06/0.1185, allocations: 4 kB / 389.4 MB, free: 7.637 MB / 286.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 8.183e-05/0.1186, allocations: 61.47 kB / 389.4 MB, free: 7.57 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.298e-05/0.1186, allocations: 6.656 kB / 389.4 MB, free: 7.566 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.933e-06/0.1186, allocations: 3.953 kB / 389.4 MB, free: 7.562 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.526e-05/0.1186, allocations: 7.938 kB / 389.4 MB, free: 7.555 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.037e-05/0.1187, allocations: 4 kB / 389.5 MB, free: 7.551 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.162e-06/0.1187, allocations: 0 / 389.5 MB, free: 7.551 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.215e-05/0.1187, allocations: 8 kB / 389.5 MB, free: 7.543 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.629e-06/0.1187, allocations: 0 / 389.5 MB, free: 7.543 MB / 286.1 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.0001835/0.1189, allocations: 117.8 kB / 389.6 MB, free: 7.418 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.167e-06/0.1189, allocations: 4 kB / 389.6 MB, free: 7.414 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001183/0.1191, allocations: 45.19 kB / 389.6 MB, free: 7.355 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.226e-06/0.1191, allocations: 3.953 kB / 389.6 MB, free: 7.352 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.282e-06/0.1191, allocations: 4 kB / 389.6 MB, free: 7.348 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.426e-06/0.1191, allocations: 0 / 389.6 MB, free: 7.348 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001265/0.1192, allocations: 153.7 kB / 389.8 MB, free: 7.148 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.81e-07/0.1192, allocations: 0 / 389.8 MB, free: 7.148 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.479e-05/0.1193, allocations: 4 kB / 389.8 MB, free: 7.145 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.734e-06/0.1193, allocations: 0 / 389.8 MB, free: 7.145 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.633e-06/0.1193, allocations: 4 kB / 389.8 MB, free: 7.141 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.1193, allocations: 4 kB / 389.8 MB, free: 7.137 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.565e-06/0.1193, allocations: 3.953 kB / 389.8 MB, free: 7.133 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001446/0.1195, allocations: 80.97 kB / 389.9 MB, free: 7.035 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.835e-05/0.1195, allocations: 81.52 kB / 390 MB, free: 6.938 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.32e-05/0.1195, allocations: 0 / 390 MB, free: 6.938 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.182e-05/0.1196, allocations: 0 / 390 MB, free: 6.938 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.918e-05/0.1196, allocations: 7.984 kB / 390 MB, free: 6.93 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.205e-06/0.1196, allocations: 64 / 390 MB, free: 6.93 MB / 286.1 MB Notification: Performance of sorting global known variables: time 3.92e-05/0.1196, allocations: 79.28 kB / 390 MB, free: 6.852 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1196, allocations: 0 / 390 MB, free: 6.852 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0001915/0.1198, allocations: 8 kB / 390 MB, free: 6.844 MB / 286.1 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.0005288/0.1204, allocations: 0.6359 MB / 390.7 MB, free: 6.18 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 7.381e-05/0.1205, allocations: 11.98 kB / 390.7 MB, free: 6.168 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 3.958e-06/0.1205, allocations: 0 / 390.7 MB, free: 6.168 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 1.462e-05/0.1205, allocations: 19.88 kB / 390.7 MB, free: 6.148 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.035e-05/0.1206, allocations: 0 / 390.7 MB, free: 6.148 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005876/0.1212, allocations: 0.4905 MB / 391.2 MB, free: 5.602 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002697/0.1215, allocations: 0.6809 MB / 391.9 MB, free: 4.895 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 1.866e-05/0.1215, allocations: 0 / 391.9 MB, free: 4.895 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.082e-05/0.1215, allocations: 19.5 kB / 391.9 MB, free: 4.875 MB / 286.1 MB Notification: Performance of SimCode: time 4.61e-07/0.1215, allocations: 0 / 391.9 MB, free: 4.875 MB / 286.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01124/0.1328, allocations: 1.082 MB / 393 MB, free: 3.941 MB / 286.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001608/0.133, allocations: 228.7 kB / 393.2 MB, free: 3.691 MB / 286.1 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:218:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:222: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:218:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:222: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