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.0009144/0.0009143, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.001225/0.001225, allocations: 168.7 kB / 15.95 MB, free: 204 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.523/1.523, allocations: 205.4 MB / 222.1 MB, free: 5.633 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaByExample 0.6.0/package.mo): time 0.03867/0.03867, allocations: 8.11 MB / 278.5 MB, free: 13.2 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.000575/0.000575, allocations: 22.95 kB / 338.4 MB, free: 26.92 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.112/0.1126, allocations: 49.27 MB / 387.6 MB, free: 9.598 MB / 286.1 MB Notification: Performance of NFInst.instantiate(ModelicaByExample.Functions.Interpolation.IntegrateInterpolatedExternalVector): time 0.0006587/0.1133, allocations: 134.5 kB / 387.8 MB, free: 9.469 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 9.788e-05/0.1134, allocations: 35.86 kB / 387.8 MB, free: 9.434 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.054e-05/0.1135, allocations: 0 / 387.8 MB, free: 9.434 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001346/0.1136, allocations: 4 kB / 387.8 MB, free: 9.43 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 9.509e-05/0.1137, allocations: 23.95 kB / 387.8 MB, free: 9.406 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 4.917e-05/0.1138, allocations: 15.92 kB / 387.9 MB, free: 9.391 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 5.829e-05/0.1139, allocations: 15.98 kB / 387.9 MB, free: 9.375 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.714e-05/0.1139, allocations: 0 / 387.9 MB, free: 9.375 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.142e-05/0.1139, allocations: 15.92 kB / 387.9 MB, free: 9.359 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.33e-05/0.114, allocations: 19.97 kB / 387.9 MB, free: 9.34 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.383e-05/0.114, allocations: 0 / 387.9 MB, free: 9.34 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.253e-05/0.1141, allocations: 8 kB / 387.9 MB, free: 9.332 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 1.402e-05/0.1141, allocations: 7.984 kB / 387.9 MB, free: 9.324 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 2.399e-05/0.1141, allocations: 25.7 kB / 387.9 MB, free: 9.293 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 6.369e-05/0.1142, allocations: 11.98 kB / 388 MB, free: 9.281 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.533e-06/0.1142, allocations: 3.984 kB / 388 MB, free: 9.277 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.933e-06/0.1142, allocations: 0 / 388 MB, free: 9.277 MB / 286.1 MB Notification: Performance of Transformations before backend: time 4.048e-06/0.1142, allocations: 0 / 388 MB, free: 9.277 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.0002848/0.1145, allocations: 311.4 kB / 388.3 MB, free: 8.926 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.931e-05/0.1146, allocations: 12.03 kB / 388.3 MB, free: 8.914 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.04e-05/0.1146, allocations: 34.56 kB / 388.3 MB, free: 8.871 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.002e-05/0.1147, allocations: 7.922 kB / 388.3 MB, free: 8.863 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001204/0.1148, allocations: 167 kB / 388.5 MB, free: 8.66 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.206e-05/0.1148, allocations: 3.938 kB / 388.5 MB, free: 8.656 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.311e-05/0.1148, allocations: 7.953 kB / 388.5 MB, free: 8.648 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001034/0.115, allocations: 37.67 kB / 388.5 MB, free: 8.605 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.176e-05/0.115, allocations: 0 / 388.5 MB, free: 8.605 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.759e-06/0.115, allocations: 0 / 388.5 MB, free: 8.605 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.258e-06/0.115, allocations: 0 / 388.5 MB, free: 8.605 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.434e-05/0.115, allocations: 8 kB / 388.5 MB, free: 8.598 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001754/0.1152, allocations: 153.7 kB / 388.7 MB, free: 8.398 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001697/0.1154, allocations: 30.52 kB / 388.7 MB, free: 8.359 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.752e-05/0.1154, allocations: 20.91 kB / 388.7 MB, free: 8.336 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.225e-05/0.1155, allocations: 0 / 388.7 MB, free: 8.336 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.449e-05/0.1155, allocations: 34.52 kB / 388.8 MB, free: 8.293 MB / 286.1 MB Notification: Performance of pre-optimization done (n=3): time 1.222e-06/0.1155, allocations: 0 / 388.8 MB, free: 8.293 MB / 286.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001579/0.1157, allocations: 53.62 kB / 388.8 MB, free: 8.234 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.107e-05/0.1157, allocations: 51.41 kB / 388.9 MB, free: 8.172 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.632e-05/0.1158, allocations: 93.86 kB / 389 MB, free: 8.07 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.293e-05/0.1158, allocations: 25.7 kB / 389 MB, free: 8.039 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.444e-05/0.1158, allocations: 84.14 kB / 389.1 MB, free: 7.953 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.676e-05/0.1159, allocations: 8.125 kB / 389.1 MB, free: 7.945 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.715e-06/0.1159, allocations: 0 / 389.1 MB, free: 7.945 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001179/0.116, allocations: 314.8 kB / 389.4 MB, free: 7.629 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.094e-05/0.116, allocations: 16.98 kB / 389.4 MB, free: 7.609 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.596e-05/0.1161, allocations: 13.72 kB / 389.4 MB, free: 7.59 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.387e-05/0.1161, allocations: 11.98 kB / 389.4 MB, free: 7.578 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.1161, allocations: 3.938 kB / 389.4 MB, free: 7.574 MB / 286.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 8.819e-05/0.1162, allocations: 53.55 kB / 389.5 MB, free: 7.516 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.864e-05/0.1162, allocations: 7.953 kB / 389.5 MB, free: 7.508 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.182e-06/0.1162, allocations: 3.984 kB / 389.5 MB, free: 7.504 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.579e-05/0.1163, allocations: 4 kB / 389.5 MB, free: 7.5 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.618e-05/0.1163, allocations: 8.031 kB / 389.5 MB, free: 7.492 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.931e-06/0.1163, allocations: 0 / 389.5 MB, free: 7.492 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.63e-05/0.1163, allocations: 0 / 389.5 MB, free: 7.492 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.013e-06/0.1164, allocations: 4 kB / 389.5 MB, free: 7.488 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.0001512/0.1165, allocations: 113.7 kB / 389.6 MB, free: 7.371 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.274e-05/0.1165, allocations: 4 kB / 389.6 MB, free: 7.367 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001198/0.1167, allocations: 53.08 kB / 389.7 MB, free: 7.301 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.375e-06/0.1167, allocations: 4.312 kB / 389.7 MB, free: 7.297 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.751e-06/0.1167, allocations: 7.984 kB / 389.7 MB, free: 7.289 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.108e-06/0.1167, allocations: 0 / 389.7 MB, free: 7.289 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001142/0.1168, allocations: 149.7 kB / 389.8 MB, free: 7.094 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.687e-06/0.1168, allocations: 3.984 kB / 389.8 MB, free: 7.09 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.827e-05/0.1169, allocations: 7.984 kB / 389.8 MB, free: 7.082 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.595e-06/0.1169, allocations: 0 / 389.8 MB, free: 7.082 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.045e-06/0.1169, allocations: 4 kB / 389.9 MB, free: 7.078 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.4e-06/0.1169, allocations: 7.953 kB / 389.9 MB, free: 7.07 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.183e-06/0.1169, allocations: 0 / 389.9 MB, free: 7.07 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001303/0.117, allocations: 77 kB / 389.9 MB, free: 6.977 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.3e-05/0.1171, allocations: 85.11 kB / 390 MB, free: 6.875 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.291e-05/0.1171, allocations: 0 / 390 MB, free: 6.875 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.162e-05/0.1171, allocations: 0 / 390 MB, free: 6.875 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.497e-05/0.1171, allocations: 7.938 kB / 390 MB, free: 6.867 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.425e-06/0.1172, allocations: 4 kB / 390 MB, free: 6.863 MB / 286.1 MB Notification: Performance of sorting global known variables: time 3.833e-05/0.1172, allocations: 75.28 kB / 390.1 MB, free: 6.789 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1172, allocations: 0 / 390.1 MB, free: 6.789 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0002299/0.1174, allocations: 8.156 kB / 390.1 MB, free: 6.781 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.0005502/0.118, allocations: 0.6261 MB / 390.7 MB, free: 6.133 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 8.281e-05/0.1181, allocations: 16.06 kB / 390.8 MB, free: 6.117 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 1.933e-06/0.1181, allocations: 0 / 390.8 MB, free: 6.117 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 1.91e-05/0.1181, allocations: 11.98 kB / 390.8 MB, free: 6.105 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001357/0.1183, allocations: 7.953 kB / 390.8 MB, free: 6.098 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006229/0.1189, allocations: 371.8 kB / 391.1 MB, free: 5.68 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002493/0.1192, allocations: 0.677 MB / 391.8 MB, free: 4.977 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 2.288e-05/0.1192, allocations: 4 kB / 391.8 MB, free: 4.973 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.748e-05/0.1192, allocations: 7.438 kB / 391.8 MB, free: 4.965 MB / 286.1 MB Notification: Performance of SimCode: time 5.81e-07/0.1192, allocations: 0 / 391.8 MB, free: 4.965 MB / 286.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01293/0.1322, allocations: 1.107 MB / 392.9 MB, free: 4.004 MB / 286.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000254/0.1325, allocations: 233.9 kB / 393.2 MB, free: 3.762 MB / 286.1 MB Error: Error building simulator. Build log: clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality -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:144: ./gc/omc_gc.h:219:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:223: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 -Wno-parentheses-equality -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:219:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:223: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