Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier.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/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/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(Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|ram_m_flow.y|massFlowRateMultiplier.port_a.m_flow|massFlowRateMultiplier.port_b.m_flow",fileNamePrefix="Buildings_9_Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier") translateModel(Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|ram_m_flow.y|massFlowRateMultiplier.port_a.m_flow|massFlowRateMultiplier.port_b.m_flow",fileNamePrefix="Buildings_9_Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001112/0.001112, allocations: 110.4 kB / 16.42 MB, free: 6.48 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.001125/0.001125, allocations: 187.2 kB / 17.35 MB, free: 5.707 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.154/1.154, allocations: 222.9 MB / 241 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 1.897/1.897, allocations: 390.2 MB / 0.6655 GB, free: 0.6445 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.483e-05/1.483e-05, allocations: 2.281 kB / 0.9514 GB, free: 7.75 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier): time 0.009628/0.009651, allocations: 10.13 MB / 0.9613 GB, free: 13.58 MB / 0.7481 GB Notification: Performance of NFInst.instExpressions: time 0.002451/0.01212, allocations: 2.23 MB / 0.9635 GB, free: 11.34 MB / 0.7481 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001748/0.0123, allocations: 11.94 kB / 0.9635 GB, free: 11.33 MB / 0.7481 GB Notification: Performance of NFTyping.typeComponents: time 0.0002827/0.01259, allocations: 99.23 kB / 0.9636 GB, free: 11.23 MB / 0.7481 GB Notification: Performance of NFTyping.typeBindings: time 0.0005126/0.01311, allocations: 254.8 kB / 0.9638 GB, free: 10.98 MB / 0.7481 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005545/0.01369, allocations: 243.1 kB / 0.9641 GB, free: 10.75 MB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.0005116/0.01421, allocations: 482.6 kB / 0.9645 GB, free: 10.28 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002685/0.01449, allocations: 168.4 kB / 0.9647 GB, free: 10.11 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003893/0.01489, allocations: 247.1 kB / 0.9649 GB, free: 9.867 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001685/0.01506, allocations: 123.5 kB / 0.9651 GB, free: 9.746 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 2.276e-05/0.01509, allocations: 12 kB / 0.9651 GB, free: 9.734 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002715/0.01537, allocations: 163.7 kB / 0.9652 GB, free: 9.574 MB / 0.7481 GB Notification: Performance of combineBinaries: time 0.0002038/0.01558, allocations: 285 kB / 0.9655 GB, free: 9.293 MB / 0.7481 GB Notification: Performance of replaceArrayConstructors: time 0.0001137/0.0157, allocations: 201.5 kB / 0.9657 GB, free: 9.094 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 3.156e-05/0.01574, allocations: 23.94 kB / 0.9657 GB, free: 9.07 MB / 0.7481 GB Notification: Performance of FrontEnd: time 2.554e-05/0.01577, allocations: 4 kB / 0.9657 GB, free: 9.066 MB / 0.7481 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 23 (23) * Number of variables: 23 (23) Notification: Performance of Bindings: time 0.0007385/0.01651, allocations: 0.7795 MB / 0.9665 GB, free: 8.184 MB / 0.7481 GB Notification: Performance of FunctionAlias: time 4.929e-05/0.01657, allocations: 23.97 kB / 0.9665 GB, free: 8.16 MB / 0.7481 GB Notification: Performance of Early Inline: time 0.0002881/0.01686, allocations: 328.1 kB / 0.9668 GB, free: 7.812 MB / 0.7481 GB Notification: Performance of simplify1: time 3.318e-05/0.0169, allocations: 27.95 kB / 0.9668 GB, free: 7.785 MB / 0.7481 GB Notification: Performance of Alias: time 0.0005489/0.01745, allocations: 477.1 kB / 0.9673 GB, free: 7.242 MB / 0.7481 GB Notification: Performance of simplify2: time 2.08e-05/0.01749, allocations: 23.92 kB / 0.9673 GB, free: 7.219 MB / 0.7481 GB Notification: Performance of Detect States: time 8.96e-05/0.01758, allocations: 82.06 kB / 0.9674 GB, free: 7.125 MB / 0.7481 GB Notification: Performance of Events: time 0.0001087/0.0177, allocations: 55.84 kB / 0.9674 GB, free: 7.07 MB / 0.7481 GB Notification: Performance of Partitioning: time 0.0001511/0.01785, allocations: 178.8 kB / 0.9676 GB, free: 6.836 MB / 0.7481 GB Notification: Performance of Causalize: time 0.0004712/0.01833, allocations: 497.6 kB / 0.9681 GB, free: 6.289 MB / 0.7481 GB Notification: Performance of After Index Reduction Inline: time 0.0002051/0.01854, allocations: 241 kB / 0.9683 GB, free: 6.027 MB / 0.7481 GB Notification: Performance of Inline: time 0.0004313/0.01898, allocations: 472.8 kB / 0.9688 GB, free: 5.527 MB / 0.7481 GB Notification: Performance of Partitioning: time 3.072e-05/0.01902, allocations: 32.11 kB / 0.9688 GB, free: 5.488 MB / 0.7481 GB Notification: Performance of Cleanup: time 2.152e-05/0.01905, allocations: 19.92 kB / 0.9688 GB, free: 5.469 MB / 0.7481 GB Notification: Performance of Causalize: time 0.0005327/0.01958, allocations: 0.4909 MB / 0.9693 GB, free: 4.973 MB / 0.7481 GB Notification: Performance of Tearing: time 8.155e-06/0.0196, allocations: 0 / 0.9693 GB, free: 4.973 MB / 0.7481 GB Notification: Performance of Initialization: time 4.5e-07/0.0196, allocations: 0 / 0.9693 GB, free: 4.973 MB / 0.7481 GB Notification: Performance of Tearing: time 5.16e-06/0.01962, allocations: 7.938 kB / 0.9693 GB, free: 4.965 MB / 0.7481 GB Notification: Performance of Categorize: time 1.046e-05/0.01963, allocations: 3.984 kB / 0.9693 GB, free: 4.961 MB / 0.7481 GB Notification: Performance of Solve: time 0.0001563/0.01979, allocations: 99.84 kB / 0.9694 GB, free: 4.863 MB / 0.7481 GB Notification: Performance of Jacobian: time 3.396e-06/0.01981, allocations: 0 / 0.9694 GB, free: 4.863 MB / 0.7481 GB Notification: Partition statistics after passing the back-end: * Number of ODE partitions: ..................... 0 * Number of algebraic partitions: ............... 5 * Number of ODE event partitions: ............... 0 * Number of algebraic event partitions: ......... 3 * Number of clocked partitions: ................. 0 * Number of initial partitions: ................. 1 * Number of initial(lambda=0) partitions: ....... 0 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: ................. 4 (4) {$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: ........... 19 (scalar:17, array:2, record:0) * Number of multi strong components: ............ 0 (algorithm:0, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 0 (generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 0 (linear: 0, nonlinear:0) Notification: [Initialization] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 24 (scalar:22, array:2, record:0) * Number of multi strong components: ............ 0 (algorithm:0, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 0 (generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 0 (linear: 0, nonlinear:0) Notification: Performance of backend: time 3.249e-05/0.01985, allocations: 17.7 kB / 0.9694 GB, free: 4.852 MB / 0.7481 GB Notification: Performance of SimCode: time 0.001129/0.02098, allocations: 1.308 MB / 0.9707 GB, free: 3.52 MB / 0.7481 GB Notification: Performance of Templates: time 0.004049/0.02504, allocations: 1.856 MB / 0.9725 GB, free: 1.664 MB / 0.7481 GB make -j1 -f Buildings_9_Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier.makefile make -j1 -f Buildings_9_Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier.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=Buildings_9_Buildings_Fluid_BaseClasses_Validation_MassFlowRateMultiplier -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Buildings_9_Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier.o Buildings_9_Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier.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=Buildings_9_Buildings_Fluid_BaseClasses_Validation_MassFlowRateMultiplier -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Buildings_9_Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier_functions.o Buildings_9_Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier_functions.c Buildings_9_Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier_functions.c:213:31: error: use of undeclared identifier '_OMC_LIT12' tmpMeta2 = stringAppend(_OMC_LIT12,_modelName); ^ Buildings_9_Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier_functions.c:214:40: error: use of undeclared identifier '_OMC_LIT13' tmpMeta3 = stringAppend(tmpMeta2,_OMC_LIT13); ^ Buildings_9_Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier_functions.c:216:40: error: use of undeclared identifier '_OMC_LIT14' tmpMeta5 = stringAppend(tmpMeta4,_OMC_LIT14); ^ Buildings_9_Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier_functions.c:233:35: error: use of undeclared identifier '_OMC_LIT15' tmpMeta7 = stringAppend(_OMC_LIT15,_mediumName); ^ Buildings_9_Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier_functions.c:234:44: error: use of undeclared identifier '_OMC_LIT16' tmpMeta8 = stringAppend(tmpMeta7,_OMC_LIT16); ^ Buildings_9_Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier_functions.c:236:45: error: use of undeclared identifier '_OMC_LIT17' tmpMeta10 = stringAppend(tmpMeta9,_OMC_LIT17); ^ Buildings_9_Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier_functions.c:239:46: error: use of undeclared identifier '_OMC_LIT18' tmpMeta13 = stringAppend(tmpMeta12,_OMC_LIT18); ^ Buildings_9_Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier_functions.c:242:46: error: use of undeclared identifier '_OMC_LIT19' tmpMeta16 = stringAppend(tmpMeta15,_OMC_LIT19); ^ Buildings_9_Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier_functions.c:254:14: error: use of undeclared identifier '_OMC_LIT20' _X_str = _OMC_LIT20; ^ Buildings_9_Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier_functions.c:262:41: error: use of undeclared identifier '_OMC_LIT21' tmpMeta21 = stringAppend(_X_str,_OMC_LIT21); ^ Buildings_9_Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier_functions.c:265:44: error: use of undeclared identifier '_OMC_LIT22' tmpMeta24 = stringAppend(tmpMeta23,_OMC_LIT22); ^ Buildings_9_Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier_functions.c:268:44: error: use of undeclared identifier '_OMC_LIT23' tmpMeta27 = stringAppend(tmpMeta26,_OMC_LIT23); ^ Buildings_9_Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier_functions.c:270:44: error: use of undeclared identifier '_OMC_LIT24' tmpMeta29 = stringAppend(tmpMeta28,_OMC_LIT24); ^ Buildings_9_Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier_functions.c:275:30: error: use of undeclared identifier '_OMC_LIT25' tmpMeta33 = stringAppend(_OMC_LIT25,_mediumName); ^ Buildings_9_Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier_functions.c:276:40: error: use of undeclared identifier '_OMC_LIT16' tmpMeta34 = stringAppend(tmpMeta33,_OMC_LIT16); ^ Buildings_9_Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier_functions.c:278:40: error: use of undeclared identifier '_OMC_LIT24' tmpMeta36 = stringAppend(tmpMeta35,_OMC_LIT24); ^ Buildings_9_Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier_functions.c:279:40: error: use of undeclared identifier '_OMC_LIT26' tmpMeta37 = stringAppend(tmpMeta36,_OMC_LIT26); ^ Buildings_9_Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier_functions.c:282:40: error: use of undeclared identifier '_OMC_LIT27' tmpMeta40 = stringAppend(tmpMeta39,_OMC_LIT27); ^ Buildings_9_Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier_functions.c:301: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: *** [: Buildings_9_Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier_functions.o] Error 1