Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test66_usertab,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test66_usertab",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test66_usertab,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test66_usertab",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001605/0.001605, allocations: 182.9 kB / 13.19 MB, free: 2.129 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.792/1.792, allocations: 205.2 MB / 218.9 MB, free: 9.137 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009962/0.0009966, allocations: 84.97 kB / 267 MB, free: 9.273 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.4745/0.4745, allocations: 43.46 MB / 358.6 MB, free: 52.33 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 8.746e-05/8.757e-05, allocations: 4 kB / 425.4 MB, free: 8.785 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1588/0.1589, allocations: 58.86 MB / 484.3 MB, free: 13.81 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5149/0.6739, allocations: 87.71 MB / 0.5586 GB, free: 1.215 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002885/0.6742, allocations: 75.95 kB / 0.5587 GB, free: 1.141 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01543/0.6897, allocations: 5.222 MB / 0.5638 GB, free: 11.96 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.423e-06/0.6897, allocations: 0 / 0.5638 GB, free: 11.96 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.243e-05/0.6898, allocations: 4 kB / 0.5638 GB, free: 11.95 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005418/0.6903, allocations: 396.1 kB / 0.5641 GB, free: 11.53 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.249e-05/0.6904, allocations: 12.03 kB / 0.5641 GB, free: 11.52 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.755e-05/0.6904, allocations: 34.56 kB / 0.5642 GB, free: 11.47 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.339e-05/0.6905, allocations: 15.33 kB / 0.5642 GB, free: 11.46 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003514/0.6908, allocations: 195 kB / 0.5644 GB, free: 11.23 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.314e-05/0.6909, allocations: 8 kB / 0.5644 GB, free: 11.22 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.521e-05/0.6909, allocations: 3.984 kB / 0.5644 GB, free: 11.22 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001767/0.6911, allocations: 76.7 kB / 0.5645 GB, free: 11.13 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.41e-05/0.6911, allocations: 4 kB / 0.5645 GB, free: 11.13 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.274e-05/0.6911, allocations: 0 / 0.5645 GB, free: 11.13 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.119e-06/0.6911, allocations: 0 / 0.5645 GB, free: 11.13 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.788e-05/0.6912, allocations: 27.94 kB / 0.5645 GB, free: 11.1 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004758/0.6917, allocations: 292.9 kB / 0.5648 GB, free: 10.77 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001337/0.6919, allocations: 58.5 kB / 0.5648 GB, free: 10.7 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.053e-05/0.6919, allocations: 24.97 kB / 0.5649 GB, free: 10.67 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.771e-05/0.692, allocations: 3.828 kB / 0.5649 GB, free: 10.67 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001542/0.6921, allocations: 67.39 kB / 0.5649 GB, free: 10.59 MB / 394.7 MB Notification: Performance of pre-optimization done (n=7): time 1.723e-06/0.6921, allocations: 4 kB / 0.5649 GB, free: 10.59 MB / 394.7 MB Notification: Performance of matching and sorting (n=9): time 0.0004964/0.6926, allocations: 165.1 kB / 0.5651 GB, free: 10.42 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.39e-05/0.6927, allocations: 81.09 kB / 0.5652 GB, free: 10.32 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001382/0.6929, allocations: 138.2 kB / 0.5653 GB, free: 10.18 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.272e-05/0.6929, allocations: 25.7 kB / 0.5653 GB, free: 10.15 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.072e-05/0.6929, allocations: 96.16 kB / 0.5654 GB, free: 10.05 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.459e-05/0.693, allocations: 31.62 kB / 0.5654 GB, free: 10.02 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.564e-06/0.693, allocations: 4 kB / 0.5654 GB, free: 10.02 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001273/0.6931, allocations: 322.8 kB / 0.5658 GB, free: 9.695 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.683e-05/0.6932, allocations: 24 kB / 0.5658 GB, free: 9.672 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.499e-05/0.6932, allocations: 42.56 kB / 0.5658 GB, free: 9.621 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.28e-05/0.6933, allocations: 22.72 kB / 0.5658 GB, free: 9.602 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.71e-07/0.6933, allocations: 4 kB / 0.5658 GB, free: 9.598 MB / 394.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001773/0.6935, allocations: 109.4 kB / 0.5659 GB, free: 9.484 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.655e-05/0.6935, allocations: 4 kB / 0.5659 GB, free: 9.48 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.035e-06/0.6935, allocations: 0 / 0.5659 GB, free: 9.48 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.951e-05/0.6936, allocations: 4.062 kB / 0.566 GB, free: 9.477 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001048/0.6937, allocations: 23.92 kB / 0.566 GB, free: 9.453 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.444e-06/0.6937, allocations: 0 / 0.566 GB, free: 9.453 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.249e-05/0.6938, allocations: 8 kB / 0.566 GB, free: 9.445 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.976e-05/0.6938, allocations: 4 kB / 0.566 GB, free: 9.441 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * 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 7.955e-05/0.6939, allocations: 109 kB / 0.5661 GB, free: 9.328 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.505e-05/0.6939, allocations: 15.84 kB / 0.5661 GB, free: 9.312 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002481/0.6942, allocations: 131.4 kB / 0.5662 GB, free: 9.184 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.187e-06/0.6942, allocations: 4 kB / 0.5662 GB, free: 9.18 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.021e-06/0.6942, allocations: 0 / 0.5662 GB, free: 9.18 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.6942, allocations: 3.938 kB / 0.5662 GB, free: 9.176 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004178/0.6946, allocations: 404.2 kB / 0.5666 GB, free: 8.723 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.294e-06/0.6946, allocations: 0 / 0.5666 GB, free: 8.723 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.632e-05/0.6947, allocations: 15.98 kB / 0.5666 GB, free: 8.707 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.857e-06/0.6947, allocations: 0 / 0.5666 GB, free: 8.707 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.345e-05/0.6947, allocations: 8 kB / 0.5666 GB, free: 8.699 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.136e-06/0.6947, allocations: 8.031 kB / 0.5667 GB, free: 8.691 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.6947, allocations: 0 / 0.5667 GB, free: 8.691 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000229/0.695, allocations: 230.1 kB / 0.5669 GB, free: 8.441 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.673e-05/0.695, allocations: 89 kB / 0.567 GB, free: 8.336 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.592e-05/0.6951, allocations: 4 kB / 0.567 GB, free: 8.332 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.028e-05/0.6952, allocations: 8 kB / 0.567 GB, free: 8.324 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.057e-05/0.6952, allocations: 7.984 kB / 0.567 GB, free: 8.316 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.104e-05/0.6952, allocations: 4 kB / 0.567 GB, free: 8.312 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001004/0.6953, allocations: 120.6 kB / 0.5671 GB, free: 8.195 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.6953, allocations: 0 / 0.5671 GB, free: 8.195 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0003106/0.6957, allocations: 43.92 kB / 0.5671 GB, free: 8.152 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001621/0.6973, allocations: 1.188 MB / 0.5683 GB, free: 7.008 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001732/0.6975, allocations: 59.94 kB / 0.5684 GB, free: 6.949 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.6975, allocations: 4 kB / 0.5684 GB, free: 6.945 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 6.682e-05/0.6976, allocations: 35.92 kB / 0.5684 GB, free: 6.91 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002701/0.6978, allocations: 27.05 kB / 0.5684 GB, free: 6.887 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005481/0.6984, allocations: 205.3 kB / 0.5686 GB, free: 6.652 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002794/0.6987, allocations: 0.7119 MB / 0.5693 GB, free: 5.914 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 8.407e-05/0.6988, allocations: 12.88 kB / 0.5693 GB, free: 5.898 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.268e-05/0.6989, allocations: 43.34 kB / 0.5694 GB, free: 5.855 MB / 394.7 MB Notification: Performance of SimCode: time 4.01e-07/0.6989, allocations: 0 / 0.5694 GB, free: 5.855 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01733/0.7162, allocations: 3.187 MB / 0.5725 GB, free: 2.695 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002553/0.7165, allocations: 207.6 kB / 0.5727 GB, free: 2.461 MB / 394.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/Modelica 3.2.3+maint.om/Resources/Data/Tables" -c -o ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test66_usertab.o ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test66_usertab.c In file included from ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test66_usertab.c:7: In file included from ./ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test66_usertab_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/Modelica 3.2.3+maint.om/Resources/Data/Tables" -c -o ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test66_usertab_functions.o ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test66_usertab_functions.c In file included from ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test66_usertab_functions.c:2: In file included from ./ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test66_usertab_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 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test66_usertab_functions.c:7: In file included from ./ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test66_usertab_includes.h:4: /home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Resources/Data/Tables/usertab.c:16:10: fatal error: 'ModelicaUtilities.h' file not found #include "ModelicaUtilities.h" ^~~~~~~~~~~~~~~~~~~~~ 2 warnings and 1 error generated. make: *** [: ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test66_usertab_functions.o] Error 1