Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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: translateModel(BuildingSystems.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization") translateModel(BuildingSystems.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001079/0.001079, allocations: 107.2 kB / 16.42 MB, free: 6.504 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.001067/0.001067, allocations: 187.2 kB / 17.35 MB, free: 5.754 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.183/1.183, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001874/0.001874, allocations: 284.3 kB / 291.5 MB, free: 14.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8356/0.8356, allocations: 169.2 MB / 0.499 GB, free: 4.422 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.742e-05/1.742e-05, allocations: 4.672 kB / 0.682 GB, free: 7.062 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization): time 0.2593/0.2593, allocations: 30.72 MB / 0.712 GB, free: 15.35 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01287/0.2722, allocations: 10.84 MB / 0.7226 GB, free: 7.625 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001148/0.2734, allocations: 26.12 kB / 0.7227 GB, free: 7.613 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001008/0.2744, allocations: 399.2 kB / 0.723 GB, free: 7.359 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.002841/0.2773, allocations: 1.153 MB / 0.7242 GB, free: 6.68 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002203/0.2795, allocations: 0.8483 MB / 0.725 GB, free: 6.254 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.002425/0.2819, allocations: 1.975 MB / 0.7269 GB, free: 5.352 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008675/0.2828, allocations: 0.7089 MB / 0.7276 GB, free: 5.023 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0016/0.2844, allocations: 0.9438 MB / 0.7285 GB, free: 4.594 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007145/0.2851, allocations: 0.6032 MB / 0.7291 GB, free: 4.332 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 8.005e-05/0.2852, allocations: 55.62 kB / 0.7292 GB, free: 4.328 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001056/0.2863, allocations: 0.6044 MB / 0.7298 GB, free: 4.141 MB / 0.4981 GB Notification: Performance of combineBinaries: time 0.0009458/0.2872, allocations: 1.401 MB / 0.7311 GB, free: 3.246 MB / 0.4981 GB Notification: Performance of replaceArrayConstructors: time 0.000497/0.2878, allocations: 0.8944 MB / 0.732 GB, free: 2.621 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001446/0.2879, allocations: 150.6 kB / 0.7321 GB, free: 2.551 MB / 0.4981 GB Notification: Performance of FrontEnd: time 0.0001456/0.2881, allocations: 48.8 kB / 0.7322 GB, free: 2.531 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 117 (105) * Number of variables: 117 (99) Notification: Performance of Bindings: time 0.002737/0.2908, allocations: 3.406 MB / 0.7355 GB, free: 148 kB / 0.4981 GB Notification: Performance of FunctionAlias: time 0.0001498/0.291, allocations: 141.1 kB / 0.7357 GB, free: 60 kB / 0.4981 GB Notification: Performance of Early Inline: time 0.001263/0.2922, allocations: 1.44 MB / 0.7371 GB, free: 15.05 MB / 0.5137 GB Notification: Performance of simplify1: time 0.0001087/0.2923, allocations: 118.3 kB / 0.7372 GB, free: 14.96 MB / 0.5137 GB Notification: Performance of Alias: time 0.002541/0.2949, allocations: 2.397 MB / 0.7395 GB, free: 13.33 MB / 0.5137 GB Notification: Performance of simplify2: time 6.756e-05/0.295, allocations: 74.78 kB / 0.7396 GB, free: 13.28 MB / 0.5137 GB Notification: Performance of Events: time 0.0001755/0.2952, allocations: 147.4 kB / 0.7397 GB, free: 13.17 MB / 0.5137 GB Notification: Performance of Detect States: time 0.0002438/0.2954, allocations: 266 kB / 0.74 GB, free: 12.94 MB / 0.5137 GB Notification: Performance of Partitioning: time 0.0003639/0.2958, allocations: 382.8 kB / 0.7403 GB, free: 12.61 MB / 0.5137 GB Notification: Performance of Causalize: time 0.001482/0.2973, allocations: 1.45 MB / 0.7418 GB, free: 11.87 MB / 0.5137 GB Notification: Performance of After Index Reduction Inline: time 0.0007019/0.298, allocations: 0.7801 MB / 0.7425 GB, free: 11.27 MB / 0.5137 GB Notification: Performance of Inline: time 0.001811/0.2998, allocations: 1.864 MB / 0.7443 GB, free: 9.902 MB / 0.5137 GB Notification: Performance of Partitioning: time 0.0001135/0.2999, allocations: 102 kB / 0.7444 GB, free: 9.84 MB / 0.5137 GB Notification: Performance of Cleanup: time 0.0001676/0.3001, allocations: 198.4 kB / 0.7446 GB, free: 9.688 MB / 0.5137 GB Notification: Performance of Causalize: time 0.005735/0.3058, allocations: 5.557 MB / 0.7501 GB, free: 7.281 MB / 0.5137 GB Notification: Performance of Tearing: time 1.006e-05/0.3059, allocations: 3.938 kB / 0.7501 GB, free: 7.277 MB / 0.5137 GB Notification: Performance of Initialization: time 5.31e-07/0.3059, allocations: 3.938 kB / 0.7501 GB, free: 7.273 MB / 0.5137 GB Notification: Performance of Tearing: time 6.402e-06/0.3059, allocations: 2.5 kB / 0.7501 GB, free: 7.273 MB / 0.5137 GB Notification: Performance of Categorize: time 1.7e-05/0.3059, allocations: 2.562 kB / 0.7501 GB, free: 7.273 MB / 0.5137 GB Notification: Performance of Solve: time 0.002775/0.3087, allocations: 4.171 MB / 0.7541 GB, free: 3.156 MB / 0.5137 GB Notification: Performance of Jacobian: time 3.216e-06/0.3087, allocations: 3.938 kB / 0.7541 GB, free: 3.152 MB / 0.5137 GB Notification: Partition statistics after passing the back-end: * Number of ODE partitions: ..................... 0 * Number of algebraic partitions: ............... 4 * Number of ODE event partitions: ............... 0 * Number of algebraic event partitions: ......... 7 * Number of clocked partitions: ................. 0 * Number of initial partitions: ................. 1 * Number of initial(lambda=0) partitions: ....... 1 Notification: Variable statistics after passing the back-end: * Number of states: ............................. 0 (0) {} * Number of discrete states: .................... 0 (0) {} * Number of clocked states: ..................... 0 (0) {NOT YET AVAILABLE} * Number of discrete variables: ................. 8 (8) {$SEV_5, $SEV_4, $SEV_3, $SEV_2, $SEV_1, $SEV_0, $TEV_1, $TEV_0} * Number of top-level inputs: ................... 0 (0) {} Notification: [Simulation] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 47 (scalar:45, array:2, record:0) * Number of multi strong components: ............ 0 (algorithm:0, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 4 (generic: 4, entwined:0) * Number of algebraic-loop strong components: ... 4 (linear: 0, nonlinear:4) Notification: [Initialization] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 114 (scalar:112, array:2, record:0) * Number of multi strong components: ............ 0 (algorithm:0, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 4 (generic: 4, entwined:0) * Number of algebraic-loop strong components: ... 4 (linear: 0, nonlinear:4) Notification: [Initialization (lambda=0)] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 114 (scalar:112, array:2, record:0) * Number of multi strong components: ............ 0 (algorithm:0, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 4 (generic: 4, entwined:0) * Number of algebraic-loop strong components: ... 4 (linear: 0, nonlinear:4) Notification: Performance of backend: time 6.632e-05/0.3088, allocations: 53.8 kB / 0.7542 GB, free: 3.113 MB / 0.5137 GB Notification: Performance of SimCode: time 0.003301/0.3121, allocations: 3.275 MB / 0.7574 GB, free: 4 kB / 0.5137 GB Notification: Performance of Templates: time 0.01142/0.3235, allocations: 7.59 MB / 0.7648 GB, free: 8.438 MB / 0.5294 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.makefile make -j1 -f BuildingSystems_BuildingSystems.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.makefile clang -Os -DOM_HAVE_PTHREADS -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=BuildingSystems_BuildingSystems_Fluid_Actuators_Valves_Validation_TwoWayValveParameterization -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=12 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o BuildingSystems_BuildingSystems.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.o BuildingSystems_BuildingSystems.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.c clang -Os -DOM_HAVE_PTHREADS -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=BuildingSystems_BuildingSystems_Fluid_Actuators_Valves_Validation_TwoWayValveParameterization -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=12 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o BuildingSystems_BuildingSystems.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization_functions.o BuildingSystems_BuildingSystems.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization_functions.c BuildingSystems_BuildingSystems.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization_functions.c:847:31: error: use of undeclared identifier '_OMC_LIT19' tmpMeta2 = stringAppend(_OMC_LIT19,_modelName); ^ BuildingSystems_BuildingSystems.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization_functions.c:848:40: error: use of undeclared identifier '_OMC_LIT20' tmpMeta3 = stringAppend(tmpMeta2,_OMC_LIT20); ^ BuildingSystems_BuildingSystems.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization_functions.c:850:40: error: use of undeclared identifier '_OMC_LIT21' tmpMeta5 = stringAppend(tmpMeta4,_OMC_LIT21); ^ BuildingSystems_BuildingSystems.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization_functions.c:867:35: error: use of undeclared identifier '_OMC_LIT22' tmpMeta7 = stringAppend(_OMC_LIT22,_mediumName); ^ BuildingSystems_BuildingSystems.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization_functions.c:868:44: error: use of undeclared identifier '_OMC_LIT23' tmpMeta8 = stringAppend(tmpMeta7,_OMC_LIT23); ^ BuildingSystems_BuildingSystems.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization_functions.c:870:45: error: use of undeclared identifier '_OMC_LIT24' tmpMeta10 = stringAppend(tmpMeta9,_OMC_LIT24); ^ BuildingSystems_BuildingSystems.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization_functions.c:873:46: error: use of undeclared identifier '_OMC_LIT25' tmpMeta13 = stringAppend(tmpMeta12,_OMC_LIT25); ^ BuildingSystems_BuildingSystems.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization_functions.c:876:46: error: use of undeclared identifier '_OMC_LIT26' tmpMeta16 = stringAppend(tmpMeta15,_OMC_LIT26); ^ BuildingSystems_BuildingSystems.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization_functions.c:888:14: error: use of undeclared identifier '_OMC_LIT2' _X_str = _OMC_LIT2; ^ BuildingSystems_BuildingSystems.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization_functions.c:896:41: error: use of undeclared identifier '_OMC_LIT27' tmpMeta21 = stringAppend(_X_str,_OMC_LIT27); ^ BuildingSystems_BuildingSystems.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization_functions.c:899:44: error: use of undeclared identifier '_OMC_LIT28' tmpMeta24 = stringAppend(tmpMeta23,_OMC_LIT28); ^ BuildingSystems_BuildingSystems.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization_functions.c:902:44: error: use of undeclared identifier '_OMC_LIT29' tmpMeta27 = stringAppend(tmpMeta26,_OMC_LIT29); ^ BuildingSystems_BuildingSystems.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization_functions.c:904:44: error: use of undeclared identifier '_OMC_LIT30' tmpMeta29 = stringAppend(tmpMeta28,_OMC_LIT30); ^ BuildingSystems_BuildingSystems.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization_functions.c:909:30: error: use of undeclared identifier '_OMC_LIT31' tmpMeta33 = stringAppend(_OMC_LIT31,_mediumName); ^ BuildingSystems_BuildingSystems.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization_functions.c:910:40: error: use of undeclared identifier '_OMC_LIT23' tmpMeta34 = stringAppend(tmpMeta33,_OMC_LIT23); ^ BuildingSystems_BuildingSystems.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization_functions.c:912:40: error: use of undeclared identifier '_OMC_LIT30' tmpMeta36 = stringAppend(tmpMeta35,_OMC_LIT30); ^ BuildingSystems_BuildingSystems.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization_functions.c:913:40: error: use of undeclared identifier '_OMC_LIT32' tmpMeta37 = stringAppend(tmpMeta36,_OMC_LIT32); ^ BuildingSystems_BuildingSystems.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization_functions.c:916:40: error: use of undeclared identifier '_OMC_LIT33' tmpMeta40 = stringAppend(tmpMeta39,_OMC_LIT33); ^ BuildingSystems_BuildingSystems.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization_functions.c:935:3: warning: implicit declaration of function 'ModelicaError' is invalid in C99 [-Wimplicit-function-declaration] ModelicaError(MMC_STRINGDATA(_string)); ^ 1 warning and 18 errors generated. make: *** [: BuildingSystems_BuildingSystems.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization_functions.o] Error 1